Red Team Tools Repeat Prompt Injections

News

On 18 November 2026, researchers from the University of Waterloo, Zhejiang University and KTH Royal Institute of Technology posted a preprint called “PIPETTE: Prompt Injection Purple-Teaming for Robust LLM Agents” on arXiv. A revised version followed on 20 November, and Help Net Security covered the paper the same day. The core claim is useful for anyone who reports prompt injection results: a red-team tool that finds many successful attacks may be finding the same attack over and over.

This is a preprint. We have not seen peer review, and we have not reproduced the results.

What was announced

  • The paper is by Lipeng He, Yihan Wang, Jiawen Zhang and N. Asokan (arXiv:2611.24362, submitted 18 Nov 2026, revised 20 Nov 2026).
  • It argues that two reinforcement-learning red-team methods, RL-Hammer and PISmith, suffer from mode collapse. They keep finding similar attack strategies, so high attack success during red-teaming does not turn into a more robust agent after adversarial training.
  • On Qwen3-4B, the paper reports PISmith compromised 68.75% of task pairs at least once during red-teaming, against 33.39% for RL-Hammer, and collected 7,132 attack strings against 4,282. On Llama-8B the two were close (27.32% and 25.18%).
  • After adversarial training on each tool’s attacks, the paper reports the PISmith-trained agent was hijacked 47.5% of the time under the strongest of three unseen attacks, against 27.5% for the RL-Hammer-trained agent. The tool with the higher red-team score produced the less robust agent.
  • The authors propose PIPETTE, which uses a dictionary-learning reward to push attack generation toward a broader set of strategies, then trains the agent against them. They evaluate it on the AgentDojo and ASB benchmarks.
  • Against iterative adaptive attacks on AgentDojo, the paper reports attack success of 0% to 10% across the three models tested, with task performance close to the undefended agent.

The authors state their own limits. The adaptive tests use two search-based attacks, about 250 attempts per task pair, a 4B attacker model and 40 task pairs, so a larger attack budget may do better. The paper also says the LLM grader used for its diversity measure was not validated against human labels, and that it ran one red-team pass rather than several rounds. It says source code will be available upon publication.

Why it matters for QA teams

Many prompt injection reports lead with a number such as “we found 500 successful attacks.” The paper suggests that number can say little if most of those attacks use the same technique with small edits.

Our interpretation: if you test an AI agent or chatbot, the count of distinct attack techniques matters more than the count of successful strings. A suite with 20 varied techniques tells you more than one with 2,000 near-duplicates.

Our interpretation, again: the same caution applies to vendor claims. When a tool says it “tested thousands of attacks,” ask how many techniques that covers, and how the agent holds up when an attacker is given many attempts.

What we would do now

  1. Tag every prompt injection test case in your suite with a technique label (for example instruction override, role play, encoded text, indirect injection through a document). Report coverage by technique, not only pass counts.
  2. Re-run a handful of your attacks with a hostile rewrite loop (a few hundred tries) and record the result separately from your fixed regression set. Fixed attacks show regressions. Adaptive attacks show real exposure.
  3. Track task completion alongside attack blocking. A defence that blocks attacks but breaks normal use is not shippable.

For a hands-on starting point, see our prompt injection testing guide, the Promptfoo tutorial and the guide to testing an AI chatbot. For the wider picture, read our AI security testing guide and the list of AI red teaming tools, or use the tool finder to compare tools.

Frequently Asked Questions

What is mode collapse in prompt injection red teaming?

It means the attack generator settles on one or a few successful tricks and keeps repeating them. The attack count looks high, but the variety is low. The paper says this is why retraining on those attacks can leave an agent weak against new ones.

Is PIPETTE a tool I can use today?

Not yet, as far as we can tell. It is a research method described in a preprint, the paper says source code will be available upon publication, and we found no released tool or pricing. Treat it as an idea to borrow, not a product to buy.

Should I trust the numbers in the paper?

Treat them as early. The paper is a preprint, the main tests use small models (Qwen3-4B and Llama-8B), and the authors state their own limits. We have not reproduced the results.

Sources

Was this helpful?Suggest an edit
Zain Ul Rehman
Zain Ul Rehman

QA Automation Engineer, Founder of AI Testing Guide. Each guide says what I ran myself and what I only researched, and I update it when things change. About me

Get new hands-on tests by email

A short email when we publish a new hands-on test, plus our free LLM attack test set. No spam.

Free. Confirm by email, unsubscribe in one click. Privacy

Scroll to Top