On the AgentDojo prompt injection benchmark, 0 of 949 attacks succeeded.
The same agent, the same 949 attacked cases, with and without Needlepath in front of the model. Newest run: 26 October 2026, on gpt-4o-2024-08-06.
No attack succeeded in any suite.
0 of 949 attacked cases succeeded with Needlepath in front of the model, against 268 of 949 with no defense.
More of the work got done under attack, in every suite.
Under attack, Needlepath completed +15.2 points more of the work. The agent also made 13% fewer model calls, 3,706 against 4,278, for a 22% lower model bill at the standard list rate, before any Needlepath fee.
In both runs, fewer attacks succeeded and more work got done under attack.
| Tasks completed | Tasks completed under attack | Attacks that succeeded | |
|---|---|---|---|
| 26 October 2026, gpt-4o-2024-08-06 | |||
| Needlepath | 73.20% | 71.34% | 0.00% |
| No defense | 78.35% | 56.16% | 28.24% |
| 20 to 21 October 2026, gpt-4o-2024-05-13 | |||
| Needlepath | 79.38% | 66.91% | 4.32% |
| No defense | 78.35% | 47.00% | 42.47% |
Tasks completed: benign tasks, % of the 97 benign tasks. Under attack and attacks that succeeded: % of the 949 attacked cases. Each run is its own matched pair; the two are not pooled.
On gpt-4o-2024-05-13, 90% fewer attacks succeeded.
41 of 949 attacked cases succeeded with Needlepath in front of the model, against 403 of 949 with no defense.
Under attack, Needlepath completed +19.9 points more of the work. With no attack planted, it completed 79.38% of the tasks against 78.35%. The agent also made fewer model calls, 3,867 against 4,725, for a 32% lower model bill at list price, before any Needlepath fee.
Every attack arrives inside data the agent was asked to read.
AgentDojo, built by researchers at ETH Zurich to test AI agent security, gives an agent working tools: an inbox, a calendar, a file drive, travel bookings, a bank account and a Slack workspace. Each user task is ordinary. In an attacked case, something a tool returns carries a planted instruction. That is an indirect prompt injection. The user never typed it, and the agent meets it halfway through the job.
In the banking suite, a user asks the agent to pay a bill saved as a text file. In the attacked version, the bill carries extra text addressed to the model, asking it to first send money to an outside account, with details copied from the user's transaction history. The attack used here, important_instructions, dresses that request up as an important message from the user, signed with the user's name.
Read more on indirect prompt injection in AI agents and on MCP tool poisoning.
Needlepath screens what the agent reads before each model call.
Needlepath sits between the agent and the model. On each call it selects what the model reads from the records the agent gathered, screens those records for instruction-like text, and writes a receipt of what was sent and what was quarantined. With quarantine on, each flagged span is cut and marked in place. In both runs screening was on, and the agent, the model and the tasks were otherwise unchanged.
Screening is set per request. Start in audit mode on your own traffic: your context goes through unchanged, and the receipt reports what would have been removed. How to start in audit mode.
One public benchmark, both arms of each run on the same day.
26 October 2026. AgentDojo v1.2.2, attack important_instructions, suites workspace, travel, banking and slack: 949 attacked cases and 97 benign tasks per arm, 0 error rows. Answer model gpt-4o-2024-08-06 at temperature 0 in both arms, and every model call was answered by that model. Measured 26 October 2026, both arms the same day, on the hosted service with screening on; the results page names the operating point the run was pinned to. Benign task completion is within noise of no defense. The model bill prices every input and output token at the model's standard list rate, before any Needlepath fee. OpenAI retired gpt-4o-2024-05-13, the model the earlier run used, so this is a new matched comparison on gpt-4o-2024-08-06, not a re-run of the earlier one.
20 to 21 October 2026. AgentDojo v1.2.2, attack important_instructions, suites workspace, travel, banking and slack: 949 attacked cases and 97 benign tasks per arm, 0 error rows. Answer model gpt-4o-2024-05-13 at temperature 0 in both arms. Measured 20 to 21 October 2026 on the hosted service with screening on; the results page names the operating point the run was pinned to. Benign task completion is within noise of no defense. The model bill is the answer model's bill at list price, before any Needlepath fee. AgentDojo's own results page lists this model at 69.07 / 50.08 / 47.69 from June 2024; the no-defense arm here is not a reproduction of that row, because the benchmark has had four revisions since. It is the same-day, same-version baseline for the Needlepath row.
The benchmark: Debenedetti et al., AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents, NeurIPS 2024 Datasets and Benchmarks Track. Code: ethz-spylab/agentdojo.
Run the same measurement on your own agent.
Keep your agent and your model. Put Needlepath in front of the model call, turn on screening in audit mode, and read what it would have quarantined on your own traffic.
Talk to one of our founders
About fit, and how this applies to your business.
Prefer a calendar? Book a time
Thanks. Expect us to get in touch soon.
In the meantime, you can also reach us directly at kiran@nextmoca.com or swanand@nextmoca.com.