ContextLeak: Malicious tools can exfiltrate 92% of Agent context
rohanpaul_ai · x · 2026-09-01
A paper titled "ContextLeak" reveals a new attack vector where malicious agent tools can exfiltrate sensitive runtime data (e.g., user prompts, conversation history) simply by having their names and descriptions crafted to trick the LLM agent into including them as tool arguments.
Attack Mechanics & Effectiveness:
- Attackers use RL to train an attack LLM that generates highly deceptive tool metadata.
- In default evaluations, the malicious tool was selected 92% of the time for user prompts and 89% for conversation history, with near-perfect reconstruction of sensitive content once selected.
- Cross-Model Transferability: The attack transfers across backend models. In a test against Claude Code (Claude Sonnet 4.6), a version trained only against an open-source proxy was selected in 22 out of 100 cases, achieving near-complete exfiltration upon selection.
Related event: ContextLeak Attack Lets Malicious Tools Steal Agents' Context(3 posts)→
More from Safety
- Edge to stop trusting ECDSA P-256 CAs by March 2027 in PQC push — JordiRib1 · 2026-12-05
- Anthropic and OpenAI face formal EU probes over AI agent escapes, fines up to 3% of sales — beffjezos · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Commenter accuses OpenAI's Kaplan of cooking up regulation sophistry to protect pretraining edge — teortaxesTex · 2026-12-05
- Kaplan rebuts OpenAI's loss-based throttle: most frontier Claudes trained under 1e26 FLOPs — 新智元 · 2026-12-05
- METR responds to criticism: studying AI-enabled mass surveillance is "very important" — RishiBommasani · 2026-12-05