Deceptive task artifacts slow AI security agents and cause occasional mis-flags
Adversarial task contamination increases reasoning cost and can mislead AI security agents
Security & privacy arXiv 16 Sep 2026 Measurement Prototype evidence
Published as “AgentLSD: Evaluating AI Security Agents Under Adversarial Task Contamination”
Why it matters
Adversarial task contamination can substantially increase the computational effort of security agents and, for some models, markedly reduce their success rates, indicating a need for defenses beyond simple prompt-injection mitigations.
Summary
Agents solve only 41% of flags on clean web CTF challenges, and no model solves every challenge. When deceptive traps are added, agents that still capture the flag need about 20 extra interaction turns and 2,000 more reasoning tokens. However, some trap families (goal hijack and exploration bait) can cut solve rates by up to two-thirds for certain models, showing heterogeneous impacts on both effort and success. The evidence comes from six models evaluated on 11 challenges with paired clean and trap conditions.
What they found 5
- Clean-condition solve rate is 41% of flags, with no model solving all challenges.
“In the clean condition, agents capture 41% of the flags, and no model solves every challenge.”
- Traps add roughly 20 extra turns and 2,000 extra reasoning tokens even when the flag is still recovered.
“Even when the agent still recovers the flag, traps increase the number of turns (+20) and reasoning tokens (+2k).”
- Goal hijack and exploration bait traps cause the largest solve-rate drops, removing about half to two-thirds of clean solves for GPT-OSS 120B.
“Goal hijack (n=4) and exploration bait (n=3) cause the largest flag-capture losses, removing roughly one-half to two-thirds of the clean solves on GPT-OSS 120B (median changes near -50 to -65%).”
- GPT-OSS win rate falls from 65% when avoiding decoys to 28% when engaging them.
“GPT-OSS collapses, from a 65% win rate when it avoids the decoy to 28% when it engages it.”
- Overall, traps rarely flip outcomes for agents that already solve a challenge, but they impose a large and heterogeneous effort tax.
“Traps rarely flip the outcome of an agent that can already solve a challenge; instead, they impose a large and highly heterogeneous effort tax.”
Caveats 6
- Goal hijack and exploration bait traps can reduce solve rates by up to two-thirds for certain models, contradicting the claim that traps only add effort without affecting success.
- GPT-OSS experiences a dramatic drop in win rate (from 65% to 28%) when it takes the bait, showing that trap interaction can severely impair success.
- First, its set of traps is still narrow. All traps are delivered through the DOM channel and activated one at a time. They are static, with no adaptation to the agent’s actions.
- The challenge corpus is similarly constrained: 11 web CTF challenges over seven vulnerability classes with short to moderate solution paths.
- We acknowledge the lack of more comprehensive measurements with other frontier models, such as those from the Claude family, a limitation driven by cost.
- We also include no benign-injection control experiments to quantify the effect of traps increasing page size.
What’s new here 4
- Defines and studies the distinct problem of adversarial task contamination, separate from prompt injection.
- Provides AgentLSD, a framework that generates deterministic, instrumented deception primitives and injects them into CTF environments.
- Enables paired clean-vs-trap experiments with telemetry that records agent interactions with traps.
- Releases all code, trap specifications, and raw execution traces for reproducible research.