Simon Willison

smolmachines / smolvm as a sandbox for untrusted Python & JavaScript

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.

Simon Willison
6d ago

External sandboxes for coding agents

Simon Willison describes a new external sandbox pattern for coding agents, where the agent runs outside a dedicated sandbox while its code executes inside one. He released three sandbox server implementations—external-sandbox-v86 (Node.js + v86), external-sandbox-container (Python + Alpine Linux in Apple Containers), and external-sandbox-quicksand (Python + Microsoft’s Quicksand library)—all exposing the same localhost API. The sandboxes also offer an optional HTTP/HTTPS allow‑list proxy and a credential‑replacement mechanism to control network access and secure API calls.

Simon Willison
Aug 27

Breaking Claude Code Opus 5 Auto Mode

The article discusses a vulnerability in Anthropic’s Claude Code’s auto mode, which was promoted as a safeguard against prompt injection attacks. Prompt‑injection researcher Johann Rehberger demonstrated that the auto mode can be tricked into executing malicious code, even blocking the agent’s own cleanup attempts. The author concludes that the safest approach is to run coding agents in isolated sandboxes and restrict their access to sensitive resources.

Simon Willison
Sep 21

Cloudflare Python Workers are now generally available

Cloudflare Python Workers are now generally available After a two year preview, Cloudflare's support for running Python code in their server-side Workers platform is now stable: "Python is now a first-class, fully supported language on the Cloudflare Developer Platform". A neat thing about this is how it works.

Simon Willison
Aug 25

EVE Online: The Move to Python 3 Begins!

EVE Online is beginning its transition to Python 3, a move that will involve using the futurize script on 2.4 million lines of code and a manual review of about 20,000 differences between Python 2 and Python 3. The company has historically run on Stackless Python since 2003, with the last major upgrade in 2010 to Stackless Python 2.7. While the announcement does not detail how Stackless will be replaced, the team previously showcased a shift away from Stackless in their Carbon engine for EVE Frontier, leveraging the open‑source carbonengine/scheduler library.

Simon Willison
Sep 17

Be alert: targeted attacks on prominent Rustaceans

The article warns of a targeted campaign against prominent Rust developers and crate owners, aiming to compromise their devices and accounts to publish malware. Attackers use seemingly legitimate video calls to trick targets into installing malicious software or executing commands, such as a fake audio codec or clipboard command. A recent supply‑chain attack on the array‑ref crate illustrates the threat, and the author suggests using dependency cooldowns as a defensive measure.

Simon Willison
Oct 26

webframe: evaluated as a scraper and a sandbox

webframe is a Go‑based tool that runs a web page in a hidden headless browser and streams console output and errors to the terminal. It uses the glaze library to access native browser engines (WKWebView, WebKitGTK, WebView2) without bundling its own engine, making it lightweight compared to tools like Playwright. The author evaluated it as both a sandboxing solution and a web‑scraping utility, comparing it to his own shot‑scraper JavaScript tool.

Simon Willison
Oct 1

pwasm 0.2a0

Release: pwasm 0.2a0 pwasm is one of my folly projects - an entirely vibe-coded pure Python WebAssembly engine that I built in January during my first bout of AI mania. I hadn't touched it sin...

Simon Willison
Aug 28

Just a rumour of a bug is enough to find a security exploit these days

The article reports that rumors of bugs in open‑source projects now trigger rapid security exploits, with automated agents probing for vulnerabilities within minutes of a patch being discussed. Anil Madhavapeddy demonstrates how modern coding agents can exploit even minimal hints, and rclone maintainer Nick Craig‑Wood notes a dramatic spike in security disclosures and delayed CVE assignments. The post highlights the need for new processes to protect open‑source communities from swift exploitation.

Simon Willison
Oct 1

Quoting Matthew Green

The article discusses how two components—a payload that hijacks an agent and an agent that transports the payload—can combine to form a worm. It explains that agents running in isolated sandboxes can leave instructions in a shared package cache, altering each other's behavior. By substituting the package cache with communication channels like email, Slack, or WhatsApp and replacing sandboxed training runs with independently deployed personal agents such as Muse, the conditions necessary for a worm are met.

Simon Willison
2d ago

Muru

Muru Graham Dumpleton started mod_wsgi 20 years ago, and has been thinking about the ideal way to serve Python web applications in production ever since. Muru is his new, AI-assisted Rust server that aims to provide the best possible tools for running ASGI and WSGI Python apps both in development and production.

Simon Willison
Oct 10

Python 3.15.0 added to actions/python-versions

Python 3.15.0 has been added to the actions/python-versions repository. The author had been monitoring the repository for the release and used ChatGPT to automate the check. With the new version available, users can now include "3.15" in their GitHub Actions testing matrix to run tests against the latest Python release.