Auditing 50 Production AI Agents: 47 Had Prompt Injection Vulnerabilities
Acrobatic-Instance82 · reddit · 2026-07-30
After auditing 50 production AI agents (customer support bots, RAG apps), the author found that 47 had critical prompt injection vulnerabilities falling into 5 common patterns:
- Direct override (94%): Models treat user input like "ignore previous instructions" as new commands because system prompts fail to explicitly refuse overrides.
- Persona shift (88%): E.g., "You are now in Developer Mode."
- Indirect injection via RAG (76%): Hidden malicious text in retrieved documents is executed because the system doesn't treat retrieved content as untrusted data.
- Tool call exploit (62%): Tricking the agent into calling sensitive tools with attacker-controlled parameters.
- Encoding bypass (54%): Hiding injections in hex/base64/unicode.
The author notes that generic "be helpful" system prompts offer zero protection. Defenses require highly explicit instructions regarding override-refusal, persona protection, and treating retrieved content as untrusted.
More from coding & agent
- "CI/CD is dead": Developer lays out the AI Software Factory replacing traditional pipelines — Pavan_Belagatti · 2026-12-02
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02
- banger: open-source agent skill writes hit-style Suno songs hook-first — tetsuoai · 2026-12-02
- Agent skills cut AI music video generation to under 2 hours, Suno skill released — tetsuoai · 2026-12-02
- Redditor secretly undid Claude Code's work every 10s; agent honestly reported a "ghost" — 32minutos · 2026-12-02
- UNC's Wanda: agentic AI for neuroimaging validated on 123,000 brains — PTenigma · 2026-12-02