mitsuhiko: AST interpreter alone is too fragile a sandbox for code execution

mitsuhiko · x · 2026-10-10

mitsuhiko explains his sandboxing trade-offs: he wasn't comfortable relying on an AST interpreter as the only isolation mechanism — significant work to build and tricky to sandbox — and he isn't even sure wasm/worker alone is sufficient isolation. Useful perspective for anyone building AI agent code-execution environments.

Related event: mitsuhiko warns AST interpreters and shared workers are risky isolation for agent code mode(7 posts)→

Original post →

More from coding & agent

coding & agent channel →