frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Let's discuss sandbox isolation

https://www.shayon.dev/post/2026/52/lets-discuss-sandbox-isolation/
48•shayonj•2h ago

Comments

simonw•1h ago
I disagree with this section about WebAssembly:

> But the practical limitation is language support. You cannot run arbitrary Python scripts in WASM today without compiling the Python interpreter itself to WASM along with all its C extensions. For sandboxing arbitrary code in arbitrary languages, WASM is not yet viable.

There are several versions of the Python interpreter that are compiled to WASM already - Pyodide has one, and WASM is a "Tier 2" supported target for CPython: https://peps.python.org/pep-0011/#tier-2 - unofficial builds here: https://github.com/brettcannon/cpython-wasi-build/releases

Likewise I've experimented with running various JavaScript interpreters compiled to WASM, the most popular of those is probably QuickJS. Here's one of my many demos: https://tools.simonwillison.net/quickjs (I have one for MicroQuickJS too https://tools.simonwillison.net/microquickjs )

So don't rule out WASM as a target for running non-compiled languages, it can work pretty well!

shayonj•49m ago
That is a good call out and I missed to consider the options you pointed. When I am back on keyboard I will add an updated note with a link to your comment. Thank you!
syrusakbary•46m ago
I also disagree with that.

Wasmer can run now Python server-side without any restrictions (including gevent, SQLAlchemy and native modules!) [1] [2]

Also, cool things are coming on the JS land running on Wasmer :)

[1] https://wasmer.io/posts/greenlet-support-python-wasm

[2] https://wasmer.io/posts/python-on-the-edge-powered-by-webass...

shayonj•43m ago
Wasmer looks v cool. I must check it out
pash•55m ago
OK, let’s survey how everybody is sandboxing their AI coding agents in early 2026.

What I’ve seen suggests the most common answers are (a) “containers” and (b) “YOLO!” (maybe adding, “Please play nice, agent.”).

One approach that I’m about to try is Sandvault [0] (macOS only), which uses the good old Unix user system together with some added precautions. Basically, give an agent its own unprivileged user account and interact with it via sudo, SSH, and shared directories.

0. https://github.com/webcoyote/sandvault

simonw•37m ago
I'm mainly addressing sandboxing by running stuff in Claude Code for web, at which point it's Anthropic's problem if they have a sandbox leak, not mine.

It helps that most of my projects are open source so I don't need to worry about prompt injection code stealing vulnerabilities. That way the worst that can happen would be an attack adding a vulnerability to my code that I don't spot when I review the PR.

And turning off outbound networking should protect against code stealing too... but I allow access to everything because I don't need to worry about code stealing and that way Claude can install things and run benchmarks and generally do all sorts of other useful bits and pieces.

stefans•18m ago
Looked into Apples container framework first (for proper isolation) but switched to Docker sandboxes since they switched to mircoVMs too: https://docs.docker.com/ai/sandboxes/#why-use-docker-sandbox...
ramoz•8m ago
Mac Mini + docker for openclaw. Mac Mini is nice because I didnt want to deploy on my local day-to-day machine, otherwise im aware it's not a true security mechanism for an integrated claw.

Claude Code local - nothing.

Claude Code remote - i just use anthropic's web service. no desire to send my data or use anyone's third party remote sandbox. I would deploy my own before I did that.

mcfig•51m ago
I appreciate the details in this, but I also notice it is very machine-focused. When a user wants to sandbox an AI agent, they don’t just want their local .ssh keys protected. They also want to be able to control access to a lot of off-machine resources - e.g. allowing the agent to read github issues and sometimes also make some kinds of changes.
int0x29•29m ago
Its worth pointing out another boundary: speculative execution. If sensitive data is in process memory with a WASM VM it can be read even if the VM doesn't expose it. This is also true of multiple WASM VMs running for different parties. For WASM isolation to work the VM needs to be in a seperate process
grouchypumpkin•25m ago
QubesOS was built to give sandboxes kernel isolation via a hypervisor.

It’s not surprising that most people don’t know about it, because QubesOS as a daily driver can be painful. But with some improvements, I think it’s the right way to do it.

CuriouslyC•3m ago
Sandbox isolation is only slightly important, you don't need to make it fancy, just a plain old VM. The really important thing is how you control capabilities you give for the agent to act on your behalf.

Leaving Google has actively improved my life

https://pseudosingleton.com/leaving-google-improved-my-life/
167•speckx•2h ago•99 comments

OpenAI raises $110B on $730B pre-money valuation

https://techcrunch.com/2026/02/27/openai-raises-110b-in-one-of-the-largest-private-funding-rounds...
173•zlatkov•6h ago•290 comments

The Robotic Dexterity Deadlock

https://www.origami-robotics.com/blog/dexterity-deadlocks.html
47•shmublu•1h ago•26 comments

NASA announces overhaul of Artemis program amid safety concerns, delays

https://www.cbsnews.com/news/nasa-artemis-moon-program-overhaul/
128•voxadam•4h ago•135 comments

A better streams API is possible for JavaScript

https://blog.cloudflare.com/a-better-web-streams-api/
318•nnx•7h ago•108 comments

Let's discuss sandbox isolation

https://www.shayon.dev/post/2026/52/lets-discuss-sandbox-isolation/
48•shayonj•2h ago•12 comments

Dan Simmons, author of Hyperion, has died

https://www.dignitymemorial.com/obituaries/longmont-co/daniel-simmons-12758871
307•throw0101a•3h ago•128 comments

A Chinese official’s use of ChatGPT revealed an intimidation operation

https://www.cnn.com/2026/02/25/politics/chatgpt-china-intimidation-operation
48•cwwc•5h ago•24 comments

Writing a Guide to SDF Fonts

https://www.redblobgames.com/blog/2026-02-26-writing-a-guide-to-sdf-fonts/
41•chunkles•3h ago•3 comments

A new California law says all operating systems need to have age verification

https://www.pcgamer.com/software/operating-systems/a-new-california-law-says-all-operating-system...
123•WalterSobchak•6h ago•126 comments

Allocating on the Stack

https://go.dev/blog/allocation-optimizations
92•spacey•4h ago•38 comments

Kyber (YC W23) Is Hiring an Enterprise Account Executive

https://www.ycombinator.com/companies/kyber/jobs/59yPaCs-enterprise-account-executive-ae
1•asontha•2h ago

Modeling cycles of grift with evolutionary game theory

https://www.oranlooney.com/post/grifters-skeptics-marks/
60•ibobev•3d ago•24 comments

"Just a little detail that wouldn't sell anything"

https://unsung.aresluna.org/just-a-little-detail-that-wouldnt-sell-anything/
64•bobbiechen•3d ago•12 comments

We Built Secure, Scalable Agent Sandbox Infrastructure

https://browser-use.com/posts/two-ways-to-sandbox-agents
30•gregpr07•6h ago•6 comments

PCB Tracer

https://pcbtracer.com
9•Luc•3d ago•2 comments

Court finds Fourth Amendment doesn’t support broad search of protesters’ devices

https://www.eff.org/deeplinks/2026/02/victory-tenth-circuit-finds-fourth-amendment-doesnt-support...
396•hn_acker•6h ago•63 comments

Get free Claude max 20x for open-source maintainers

https://claude.com/contact-sales/claude-for-oss
329•zhisme•12h ago•162 comments

Open source calculator firmware DB48X forbids CA/CO use due to age verification

https://github.com/c3d/db48x/commit/7819972b641ac808d46c54d3f5d1df70d706d286
73•iamnothere•5h ago•34 comments

Show HN: Claude-File-Recovery, recover files from your ~/.claude sessions

https://github.com/hjtenklooster/claude-file-recovery
6•rikk3rt•5h ago•0 comments

Reading English from 1000 AD

https://lewiscampbell.tech/blog/260224.html
81•LAC-Tech•3d ago•30 comments

Implementing a Z80 / ZX Spectrum emulator with Claude Code

https://antirez.com/news/160
102•antirez•2d ago•53 comments

Can you reverse engineer our neural network?

https://blog.janestreet.com/can-you-reverse-engineer-our-neural-network/
236•jsomers•2d ago•170 comments

Tell HN: MitID, Denmark's digital ID, was down

98•mousepad12•10h ago•145 comments

Show HN: RetroTick – Run classic Windows EXEs in the browser

https://retrotick.com/
154•lqs_•8h ago•45 comments

Rob Grant, creator of Red Dwarf, has died

https://www.beyondthejoke.co.uk/content/17193/red-dwarf-rob-grant
138•nephihaha•2h ago•37 comments

We gave terabytes of CI logs to an LLM

https://www.mendral.com/blog/llms-are-good-at-sql
127•shad42•5h ago•80 comments

Sprites on the Web

https://www.joshwcomeau.com/animation/sprites/
89•vinhnx•3d ago•16 comments

Statement from Dario Amodei on our discussions with the Department of War

https://www.anthropic.com/news/statement-department-of-war
2796•qwertox•22h ago•1483 comments

F-Droid Board of Directors nominations 2026

https://f-droid.org/2026/02/26/board-of-directors-nominations.html
151•edent•11h ago•104 comments