TRANSMISSION // 2611.24362v2

Why more AI attacks don’t always make agents safer

Source published

A new framework aims to turn prompt-injection attacks into more useful training examples for AI agents. Its benchmark results are promising, but bounded.

AI-generated conceptual illustration for Why more AI attacks don’t always make agents safer
AI-generated conceptual illustration; not documentary evidence.

AI agents can encounter malicious instructions hidden in webpages, documents or tool outputs. A study called PIPETTE argues that finding many successful attacks is not enough: the attacks also need to cover different strategies, and defenses must learn to reject them without abandoning the user’s legitimate task.

An AI agent asked to summarize a webpage or manage a calendar may need to read material from outside sources. That material can contain instructions aimed at the agent, not the user—for example, directions to ignore the original request and take another action. This is known as indirect prompt injection, because the malicious text reaches the model through data it retrieves rather than through the user’s direct message.

A common way to test defenses is red-teaming: automatically generating attacks and then training the agent on examples that succeeded. The central question in this paper is whether a red-teamer that finds more successful attacks necessarily supplies better material for making an agent safer.

The authors say it does not. They examined two reinforcement-learning red-team methods, RL-Hammer and PISmith. In their experiments, these systems could repeatedly find successful attacks while returning to similar underlying tactics. Different wording, they argue, can disguise repetition: thousands of attack strings may teach a defense about only a narrow set of ways to mislead an agent.

The researchers tested this idea by training on AgentDyn task pairs and evaluating on separate tasks from AgentDojo. They tested two open-weight base models, Qwen3-4B and Llama-8B, against static attacks and two iterative, adaptive attacks. The latter repeatedly try new injections based on the agent’s responses. The paper also evaluates additional models and the Agent Security Bench (ASB).

The proposed framework, PIPETTE, has two parts. PIPETTE-Red tries to broaden the range of successful attack strategies. It uses a language model to describe what an injection is doing, then builds a “dictionary” of recurring strategy components. Its reward favors successful attacks that are not already well explained by that dictionary. In everyday terms, the aim is to reward a genuinely new trick, not just a new way of phrasing an old one.

PIPETTE-Blue trains the defender to check whether instructions in external data are trying to redirect the task and whether planned tool calls serve the user’s original request. It combines task-level feedback with a token-level training signal intended to discourage actions influenced by the injection while retaining useful actions needed to finish the task.

In the reported tests, the combined approach reduced attack success while generally keeping benign task performance near or above the starting model’s level. On AgentDojo’s selected set of 40 task pairs, PIPETTE’s attack success rates against the two adaptive searches ranged from 0% to 10% across the three models for which the paper reports those comparisons. The authors also report very low average attack success on static attacks on AgentDojo and ASB. These findings do not mean every attack was stopped: rates varied by model, attack and benchmark, and some competing defenses performed better on particular measures.

One important detail is how the adaptive-attack results were obtained. The 40 task pairs were selected because static attacks had already compromised the undefended Qwen3-4B on them. The authors describe this as a stress test, not an estimate of attack rates across all benchmark tasks. Each search also had a finite budget—up to about 250 attempts per task pair—and used 4-billion-parameter attacker and judge models. More extensive or different attacks could produce different results.

There is also uncertainty in the proposed explanation. The strategy-coverage score relies on a language-model grader, which the authors say has not been validated against human labels. They also do not establish that poor strategy coverage is the sole reason earlier methods produced weaker defenses. Their evaluation uses benchmark environments and a single red-team-then-training pass; it does not test repeated rounds in which attackers probe the already-hardened agent.

PIPETTE is therefore best understood as evidence that the design of training attacks matters, not as a guarantee of secure agents in real-world use. The work is an arXiv preprint, and its findings should be read as the authors’ reported experimental results rather than as settled conclusions from peer review. The paper’s source-code note says code would be available upon publication. Independent testing across more models, tasks, attack budgets and deployment settings would help establish how well the approach generalizes.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • A finer-grained fence for AI agents’ tool calls

    Supporting evidence: The studies illustrate why robustness claims should be scoped to the attacks tested: PIPETTE reports results for static and adaptive attacks, while ToolFence evaluates several attack surfaces and cautions that results on one benchmark do not establish robustness to others. These are different systems, benchmarks, and outcomes, so the findings are complementary rather than a direct performance comparison.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.24362v2 — Original paper

      Excerpt reference: static/papers/2611.24362v2.md:1586-1658
      Basis: Paper text
      Source SHA-256: 61d3f04ded945bb87c8386d6b211450973792fb854beb6404e1bdd1f3c7bae46

    • 2609.37196v2 — Original paper

      Excerpt reference: static/papers/2609.37196v2.md:323-386
      Basis: Paper text
      Source SHA-256: e15db5d62820abc6f8b72ad32e4411e5b3b3b38cb65611edd8ce6e2edf64c11a

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.