Half the Attacks on Production Website AI Agents Are Prompt Injection and System-Prompt Extraction
Javo runs AI chat agents on hundreds of business websites. They published a taxonomy of the seven attacks they see most often in production logs. It is a vendor-authored defensive summary, not a breach report, and the useful part is that the numbers come from real traffic. Roughly half of the attack prompts were direct prompt injection or attempts to extract the system prompt. The rest of the…
A report published by AI chat agent provider Javo identifies the most common attack methods observed in real-world production usage. Half of all attack prompts seen were either direct prompt injection or attempts to extract the system prompt. The remaining attacks include model fingerprinting, SSRF against cloud metadata address 169.254.169.254, fake-authority debug mode messages, role-play jailbreaks, and injection through hidden form fields.
The majority of these attacks exploit the fact that a public chat widget essentially allows anyone to type "ignore all previous instructions" and see how the agent responds. The report describes two major attack families: direct prompt injection, where the visitor tells the agent to disregard its programming, and system prompt extraction, where the visitor asks the agent to reveal its instructions.
Simple examples of these attack prompts are provided, but the report emphasizes that attackers can rephrase these prompts in many ways, making traditional defenses inadequate. Current security measures often attempt to block these attacks within the model itself, but this approach is flawed as the attacker and rules are both in the same context window.
Sentinel, a proposed solution, sits between the application and the LLM, scanning input before it reaches the model. Using a combination of fast-path regex patterns and deep-path vector similarity comparison, Sentinel can quickly identify and block known attack patterns, even when attackers attempt to disguise them. Implementation involves adding a scrub call to all user input before it reaches the model, logging whether the input was blocked or not, and then processing the safe payload only if it passed Sentinel's filters.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to
More from Dev.to on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up