← Lab /AI/ML

CoDeL cuts indirect prompt injection success by 88.5%

CoDeL reduces indirect prompt injection attack success rate by 88.5% compared to baselines

AI/ML arXiv 28 Sep 2026 Defense Prototype evidence

Published as “CoDeL: Co-Evolutionary Defense against Indirect Prompt Injection in LLM-based Agents”

Why it matters

The method makes LLM-based agents substantially more resistant to indirect prompt injection without sacrificing their ability to complete tasks, easing safe deployment in tool-using applications.

Summary

CODEL cuts the indirect prompt injection attack success rate from 0.364 to 0.042 (an 88.5% drop) while raising both benign utility (0.779) and utility under attack (0.831). The paper reports extensive experiments on three benchmarks, two base models, and nine baselines to support this claim, but it does not provide a separate limitations discussion.

What they found 1

  1. CODEL reduces the attack success rate to 0.042, an 88.5% reduction from the baseline.

    “CODEL drives the ASR down from 0.364 to 0.042 (-88.5%)”

Caveats 1

  • With only the attacker evolving, ASR rises from 0.273 to 0.662, confirming that the defense can be bypassed if it stops updating.

What’s new here 4

  • Introduces a co-evolutionary training loop where a prober and defender continuously reshape each other's attack distribution.
  • Uses Monte Carlo Tree Search guided by both attack success and latency to discover latent injections that evade static defenses.
  • Optimizes a decoupled reward that separately rewards safety, task progress, and format compliance, enabling the model to refuse malicious instructions while still completing the user task.
  • Creates a moving curriculum from the defender's own failures, improving generalization to unseen and latent attacks.