LLM Agent Authorization Across Context Compaction
- Published
- Record updated
Summary
The paper shows that request-derived authorizers such as Progent lose their guarantee when context compaction is used, because Claude Code and Codex insert a model-written summary as a user message, making quoted attacker text look like the user's words. In a tested rent-payment case, a policy derived from a frontier compactor's summary admitted an attacker's account in 91% of cases, versus none for a policy derived from the user's own words. The authors propose authenticating user requests on arrival and carrying them verbatim across the compaction boundary, and report that in 40 attacked AgentDojo episodes re-run with the fix, no attacker action completed.
Mitigation
The authorizer credits only what the user said, authenticated on arrival and carried verbatim across the compaction boundary, while the agent still reads the summary.
Related items
- MediumCVE-2026-136452: browser-use URL parser differential bypasses SecurityWatchdog domain checksSimilar attack · NVD/CVE Database
- HighCVE-2026-135614 - Sensitive data redaction bypass in the troubleshooting tool in Amazon ECS MCP ServerSimilar attack · AWS Security Bulletins
- MediumCVE-2026-135614: Amazon ECS MCP Server troubleshooting tool exposes data via prompt injectionSimilar attack · NVD/CVE Database
- InfoAttestation is All You Need: Toward a Zero-Trust Architecture for HPC AI AgentsSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoEvo Agentic Development Security and Evo Dependency Firewall Inside NVIDIA OpenShellSimilar attack · Snyk Blog