logoalt Hacker News

kstenerudyesterday at 12:53 PM2 repliesview on HN

Just one of the many reasons why I run my agents sandboxed (and why I wrote agent sandboxing software).

I once caught my Claude agent complaining that it couldn't connect to https://some-weird-domain.com because the network was down (I disable network in the sandbox when it doesn't need it, and broker the API connection). I asked why it was looking there and it told me I'd asked it to.

I never found any evidence of prompt injection, but it sure as hell made me paranoid.


Replies

subarcticyesterday at 8:44 PM

For someone that's used to the convenience of leaving claude code running unattended in auto mode, how would you recommend I change my setup so that agents are sandboxed? Looking for something that's safer than unsandboxed auto mode but just as convenient, or at least very close to as convenient.

show 1 reply
dwaltripyesterday at 1:23 PM

Sometimes they get confused between their own output and user messages…