Autonomous coding agents chain harmless tools to launch attacks; OS-level guard blocks them
Agents can compose benign tools into exploit chains that bypass isolated tool audits
Security & privacy arXiv 15 Nov 2026 Attack Prototype evidence
Published as “Compositional Exploits in Autonomous Coding Agents: Attack Mechanics and Ephemeral Defense”
Why it matters
Deploying CompGuard can prevent credential exfiltration and other high-impact attacks in real-world coding assistant deployments with minimal performance impact.
Summary
The paper shows that autonomous coding agents can chain individually benign tools to perform attacks, achieving up to 84.5% success on a 560-task benchmark, while five common static scanners miss all malicious behavior. Their proposed system, CompGuard, blocks 100% of these compositional exploits with only 61.4 μs overhead and retains 98.0% success on benign workflows. However, the defense still records a small residual Net ASR of up to 0.8% and a 2.0% false-positive rate on developer tasks. The evaluation is based on a custom benchmark suite of 560 tasks run on Gemini 3.5-3.8 Flash models.
What they found 2
- Unprotected agents achieve 72.9%-84.5% success executing compositional exploit chains.
“unprotected frontier models (Gemini 3.5, 3.7, and 3.8 Flash) execute compositional exploit chains with a 72.9% to 84.5% success rate”
- CompGuard blocks all exploit attempts with negligible overhead.
“CompGuard achieves a 100% Defense Block Rate (0.0% to 0.8% pre-teardown Net ASR) at 61.4 microseconds interposition overhead”
Caveats 6
- The defense still exhibits up to 0.8% Net ASR (pre-teardown) despite 100% block rate.
- A 2.0% false-positive rate is observed on benign developer tasks.
- Residual limitations such as whole-file taint for proprietary binaries and a microsecond teardown window can allow timing side-channels.
- proprietary binary or non-standard config formats fall back to whole-file inode taint
- revoking a worker that abuses a pre-authorized local socket or workspace file via PEP 578/fanotify incurs a microsecond teardown window (as in H1/H2, Table IV), and timing covert channels remain out of scope
- because the proxy inspects TLS SNI without MITM decryption, domain fronting or Encrypted Client Hello (ECH) over an allowlisted multi-tenant CDN could mask the host unless strict SNI validation is enforced
What’s new here 4
- Introduces a dual-plane OS-grounded defense (Cognitive Control Plane + Kernel Enforcement) that enforces single-skill capability leases.
- Defines and evaluates a large compositional exploit benchmark (560 tasks, 8 hazard classes) for autonomous coding agents.
- Demonstrates that existing single-tool static scanners fail completely against compositional attacks.
- Provides fine-grained provenance DAG tracking and a safe declassification gateway to prevent cross-turn data leakage.