logoalt Hacker News

binsquaretoday at 6:41 AM3 repliesview on HN

What VM do you run it in?

as context, I build a light weight portable vm designed for this purpose, so genuinely curious.


Replies

embedding-shapetoday at 8:45 AM

I'm using a container. The risk isn't exactly "agent leverages 0-day against you to steal all your data" but more "agent mistakenly though $HOME was theirs and deleted it" so as long as you "copy data in > copy data out" without bind-mounting or automatically sync files, container works just fine for "isolating" them.

worldsayshitoday at 7:49 AM

I've tried both incus and firecracker. Both seem to work well after initial script setup. I've got the impression that firecracker should be a fairly safe option for such use cases.

dist-epochtoday at 6:55 AM

Given that people use VMs to sandbox agents of Mac/Windows/Linux, what does portable mean?

show 1 reply