cd /news/ai-tools/smolmachines-smolvm-as-a-sandbox-for… · home topics ai-tools article
[ARTICLE · art-103695] src=simonwillison.net ↗ pub= topic=ai-tools verified=true sentiment=· neutral

smolmachines / smolvm as a sandbox for untrusted Python & JavaScript

Simon Willison's research tested smolmachines' smolvm as a sandbox for untrusted Python and JavaScript, finding that the Claude Code for web environment lacks /dev/kvm and CPU virtualization flags, so the test battery was run on GitHub Actions runners that expose /dev/kvm. The tests, executed via a temporary workflow, aimed to enforce RAM and CPU limits, block network access, and restrict filesystem access to designated files for user-provided data transformation tasks.

read1 min views3 publishedAug 19, 2026

Research: smolmachines / smolvm as a sandbox for untrusted Python & JavaScript

I tasked Claude Fable 5 running in Claude Code for web with the following research task:

Put https://smolmachines.com through its paces as a fast secure sandbox. Explore what it would take to use this to run untrusted Python and JavaScript code in a way that is limited in what RAM and CPU time it can take up (protection against "while true") with no network access and filesystem access only to designated files

Goal is to be able to use this to execute user-provided tasks for things like data transformations

It quickly ran into a problem: the Claude Code for web environment can't run smol machines. Quoting the notes it wrote:

  • This Claude Code container: Linux 6.18.5-fc-v20 (itself a Firecracker guest), 4 vCPU, 15GB RAM. No /dev/kvm, no vmx/svm CPU flags→ no nested virt.smolvm machine run

fails as expected: "kvm not available".- Plan B: GitHub Actions ubuntu runners DO expose /dev/kvm → run the real test battery via a temporary workflow on this branch, collect logs, remove workflow in final commit.

And Plan B is what it did, installing smolvm and running these tests directly in a GitHub Actions runner against that branch.

That was a creative solution to the environmental limits posed by Claude Code for web. Another example of Fable being relentlessly proactive.

Tags: research, sandboxing, ai, github-actions, generative-ai, llms, claude-mythos-fable

── more in #ai-tools 4 stories · sorted by recency
── more on @smolmachines 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/smolmachines-smolvm-…] indexed:0 read:1min 2026-08-19 ·