webframe runs a web page like a program in half a second. Only the walls around it make it a sandbox
Simon Willison had Claude Opus 5.5 put webframe through its paces, a small tool by Jeff Lindsay that runs a web page as a command-line program. For scraping it is roughly as fast as shot-scraper. As a sandbox for untrusted JavaScript it only held up once wrapped in an empty network namespace, bubblewrap and a timeout.