Skip to content
AI Security Wire

Published

- 4 min read

By

One Poisoned Episode Can Teach an Agent Defense to Block Legitimate Work

img of One Poisoned Episode Can Teach an Agent Defense to Block Legitimate Work

A self-evolving defense learns from the attacks it sees. A new preprint argues that this learning step can itself be turned against the defender. The attacker does not break the defense. They get it to over-learn.

The paper, “Poisoning Self-Evolving Security Policies in LLM Agents” (arXiv 2611.33385, submitted 24 November 2026), comes from Aymen Noor and Honglu Jiang at Miami University. It is an arXiv preprint, and we found no peer-reviewed version as of 26 November 2026.

What the researchers tested

The target was SED (Self-Evolving Defense), a training-free system from a separate September 2026 paper. After an agent episode, a judge decides whether the trajectory was harmful. If it was, a synthesizer writes a reusable security rule, which is stored in memory and retrieved for later tasks.

The authors ran SED on the Slack environment of AgentDojo v1.2.2. They hid an instruction in content the agent retrieves, asking it to add an external user to a private channel. If the agent obeys, SED correctly labels the episode harmful and writes a rule. The problem is the rule. In the authors’ words, SED can produce a rule that is broader than the original attack, which then catches ordinary membership and invitation requests.

What happened

With Nemotron as the protected agent, clean SED completed all 50 legitimate membership and invitation tasks across 10 repetitions. After one poisoned episode, it completed 18 of 50 (36%). Every one of the 10 poisoned runs refused at least one legitimate request, and none of the 10 clean runs did.

Three details matter for defenders:

  • The defense still worked. Injection success stayed at 0 of 60 trials under poisoned SED, so this is lost availability, not a bypass.
  • The damage was targeted. Four unrelated Slack tasks stayed at 100%.
  • It persisted. The authors saw no sign of the rule being deleted. Later benign use pushed legitimate success back to roughly 60 to 65%, but bulk membership changes stayed affected. One episode was enough, and extra poisoned episodes did not widen the rule.

Each condition used 10 repetitions at temperature 0, with nondeterministic serving. A second batch of runs put the poisoned baseline at 52%. The authors say the two batches’ confidence intervals overlap and treat the gap as serving variation. The attack also transferred to gpt-oss-120b, though more weakly and variably, because the synthesizer sometimes wrote a narrow rule.

Limits of the attack

The chain needs an agent that follows the injection first. Nemotron and gpt-oss-120b followed the evaluated injections in most trials. GLM-5.3 and Kimi-K3 did not follow them in the paper’s 8-carrier screens (0 of 8 on both Slack and banking). DeepSeek-V4.1-Flash was not run on that screen and recorded no injection success on a separate 0 of 16 banking screen. It is also SED’s fixed judge and synthesizer. For these models no harmful trajectory was produced, so nothing was learned.

The authors also tried five direct integrity attacks on SED’s judge, policy synthesis, retrieval and organization steps. These included forged audit logs in tool output, memory dilution and splitting a harm across benign-looking steps. All failed in their setup. They also report that the judge sometimes mislabels legitimate but sensitive actions as harmful, so a defense can poison itself with no attacker present. They call that finding qualitative and did not measure its rate.

Mitigations

Both tested fixes act at write time. A Membrane-style counterexample gives the synthesizer a matched benign case. The authors’ broadness-check gate generates eight legitimate requests and tests the draft rule against them before saving it. On Nemotron, legitimate success rose from 52% to 82% with the counterexample and 88% with the gate. On gpt-oss-120b it rose from 44% to 72% with the counterexample and 60% with the gate, so the ordering reversed. The gpt-oss figures cover only the two tasks it solves reliably in the clean run. The authors say the two fixes’ confidence intervals overlap, so they do not claim either beats the other, and neither fully restored clean utility.

What this means

Our assessment: the practical lesson is to treat any automatically learned security rule as untrusted input. Review or canary-test new rules before they enter production memory, and track false refusals as a security metric, because an attacker can cause them cheaply. The result covers one defense in one benchmark, so it is a warning about a design pattern, not a verdict on any product.

References

Frequently Asked Questions

What did the researchers show?
Aymen Noor and Honglu Jiang of Miami University showed that a single successful prompt-injection episode can make the Self-Evolving Defense (SED) learn a security rule that is broader than the attack. In their AgentDojo Slack tests, the agent then refused legitimate membership and invitation requests while the original injection stayed blocked. They describe it as an availability attack, not a defense bypass.
Does this mean self-evolving defenses are broken?
Not on this evidence. The paper tests one defense (SED), one fixed learning model, and mainly one Slack capability, and the authors say other architectures are untested. The attack also needs a protected agent that follows the injection. DeepSeek-V4.1-Flash, GLM-5.3 and Kimi-K3 resisted the evaluated injections, so the poisoning path never started for them.
Can defenders reduce the risk?
Partly. The authors tested two write-time mitigations: pairing the harmful trajectory with a matched benign counterexample, and a broadness-check gate that tests a proposed rule against generated legitimate requests before saving it. Both raised legitimate-task success on Nemotron (to 82% and 88% from a 52% poisoned baseline), but neither fully restored clean performance.