Willison tests smolmachines sandbox for untrusted code execution
Source published ·Modelwire updated
Original coverage: Simon Willison ↗·How Modelwire adds context

The development
Simon Willison investigated smolmachines/smolvm as a potential sandbox for executing untrusted Python and JavaScript with strict resource constraints, no network access, and controlled filesystem permissions. This research explores a critical infrastructure gap: how to safely run user-submitted or third-party code within AI systems without exposing the host to denial-of-service attacks or data exfiltration. The findings matter for anyone building AI agents, code-execution platforms, or multi-tenant services where code isolation is non-negotiable.
Modelwire’s AI-generated summary of coverage from Simon Willison.
Modelwire analysis
ExplainerOur AI-generated reading of the wider context and the next developments to watch.
Willison's investigation reveals that smolvm can enforce hard resource limits (CPU, memory, execution time) and filesystem isolation simultaneously, but the real finding is the tradeoff: strict sandboxing comes at the cost of significant performance overhead and limited standard library access. This matters because most discussions of code execution focus on security OR performance, not both.
This is largely disconnected from recent activity in the space, which has focused on LLM capability releases and safety benchmarks. Instead, it belongs to the infrastructure layer of AI systems: how to actually deploy agents and code-execution features safely in production. The gap Willison identifies (safe execution for untrusted code in multi-tenant environments) has been implicit in AI agent discussions but rarely examined in depth. This work fills that void by testing a specific tool against real constraints rather than theoretical ones.
If Anthropic or OpenAI publicly adopt smolvm (or equivalent sandboxing) in their code-execution APIs within the next 12 months, that signals the industry has moved from 'this is a nice-to-have' to 'this is table stakes.' If neither does, watch whether Willison or others publish benchmarks comparing smolvm to alternative sandboxing approaches (gVisor, WebAssembly-based isolation) to establish which tradeoff wins in practice.
This interpretation is generated from the summary above and available source metadata. Our methodology · Report an error
MentionsSimon Willison · Claude Fable 5 · Claude Code · smolmachines · smolvm
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. Simon Willison originally reported this story as “smolmachines / smolvm as a sandbox for untrusted Python & JavaScript”. The full content lives on simonwillison.net. If you’re a publisher and want a different summarization policy for your work, see our takedown page.