Agent Isolation Security Analysis: From No Sandbox to Firecracker VMs

A Reddit post analyzes how different AI coding agents handle workload isolation, highlighting significant security differences between approaches.
Current Isolation Methods
The analysis covers five platforms:
- Cursor: Runs commands directly in your shell with no sandbox
- Claude Code: Not specified in detail
- Devin: Not specified in detail
- OpenAI: Not specified in detail
- E2B: Uses hardware-isolated Firecracker microVMs
Security Comparison
The source provides specific security data:
- Container runtimes have had escape CVEs every year since 2019
- Firecracker has zero guest-to-host escapes in seven years
- AWS stated: "we do not consider containers a security boundary"
Real-World Incidents
The post covers several security incidents:
- Devin taken over via one poisoned GitHub issue
- Slack AI exfiltration incident
- Clinejection supply chain attack
Key Concepts
The analysis identifies:
- Five assumptions traditional isolation makes that agents break
- Six dimensions of isolation to be explored in the series
For developers using AI coding agents, this highlights the importance of understanding how your agent executes code and the security implications of different isolation approaches.
📖 Read the full source: r/LocalLLaMA
👀 See Also

AI Is Breaking the Two Vulnerability Cultures: Coordinated Disclosure vs. Linux's "Bugs Are Bugs"
Jeff Kaufman analyzes how AI vulnerability discovery is fracturing both coordinated disclosure and Linux's quiet-fix culture, using the recent Copy Fail (ESP) vulnerability as a case study.

KnightClaw: Local Security Extension for OpenClaw Agents
KnightClaw is a drop-in extension that intercepts messages before they reach OpenClaw agents, providing an 8-layer hybrid detection system and egress redaction. It runs entirely local with zero telemetry and is MIT licensed.

LiteLLM v1.82.8 Compromise Uses .pth File for Persistent Execution
LiteLLM v1.82.8 was compromised on PyPI and includes a .pth file that executes arbitrary code on every Python process startup, not just when the library is imported. The payload runs even if LiteLLM is installed as a transitive dependency and never used directly.

U of T Researchers Demonstrate AI Worm Powerable by Free Open-Weight Models
Researchers at the University of Toronto demonstrated the first AI-powered worm that adapts its spreading strategy using publicly accessible open-weight models, targeting any online device.