← Lab /AI/ML

SecPO training lowers prompt-injection success to 8.8% vs 78.8% baseline

The authors claim SecPO combined with adversarial training dramatically reduces prompt-injection attack success rates while preserving utility

AI/ML arXiv 30 Oct 2026 Defense Prototype evidence

Published as “SecPO: Principled Adversarial Training for Prompt Injection Security”

Why it matters

Provides a practical way to harden agentic LLMs against prompt-injection attacks without sacrificing performance, enabling safer deployment of autonomous AI assistants.

Summary

SecPO + adversarial training cuts prompt-injection attack success from ~79% to under 9% on a strong AgentDojo benchmark, while keeping benign utility essentially unchanged. The paper shows 1.5-14.5× reductions across three adaptive attacks and an additional 2.4-4.6× gain from the SecPO loss itself. Evidence comes from multiple real-world agentic benchmarks and a range of adaptive attacks, but some attacks still succeed (e.g., a code-injection case) and utility is only reported as unchanged on average.

What they found 2

  1. SecPO + AT reduces AgentDojo ASR@800 from 78.8% to 8.8% compared with Meta-SecAlign.

    “our SecPO + AT QWEN3.6-27B is much more secure than Meta-SecAlign: 8.8% vs. 78.8% AgentDojo ASR@800 under the AttackerMovesSecond attack.”

  2. Adversarial training alone cuts adaptive ASRs by 1.5-14.5× across three attacks.

    “Our AT reduces ASRs by 1.5-14.5× across three SoTA adaptive attacks, compared with Meta-SecAlign”

Caveats 5

  • Our defended model created the requested helper with the weak MD5 implementation and executed it, in addition to completing the benign task (task succeeds; attack succeeds).
  • DTaP ASR remains at 7.6% for the defended QWEN3.6-27B, indicating attacks are not eliminated.
  • We focus on mitigating indirect prompt injection under the assumption that agents receive explicit labels distinguishing trusted instructions from untrusted data.
  • Our main SecPO experiments use non-reasoning settings; for QWEN3.6-27B, we disable thinking during training and evaluation.
  • The high cost of adaptive attack evaluations limits our ability to systematically assess hyperparameter sensitivity.

What’s new here 4

  • Introduces a theoretically motivated SecPO loss that replaces DPO’s regularization with a security-aware objective.
  • Implements an efficient adversarial training pipeline that synthesizes strong injected inputs (best@240) rather than relying on weak simulated attacks.
  • Demonstrates that training on optimized injections can be reused to harden larger models without additional attack generation.
  • Shows unexpected transfer of robustness to visual prompt injections despite training only on textual attacks.