logoalt Hacker News

oblio • today at 9:48 AM • 2 replies • view on HN

My guess is that long term we will block agents from using bash. They will get a very limited set of carefully crafted primitives.


Replies

zenoprax • today at 3:18 PM

This is the wrong approach. Sandbox them enough that you are comfortable with letting them run with full permissions.

My sandbox runs rootless and doesn't have `sudo` either. In addition to bash, the agent is free to install anything it needs via npm or pip, or to write its own scripts.

It doesn't have my signing keys so detecting unauthorized commits is trivial.

Yoric • today at 2:35 PM

Will we also block them from running programs they have written? Because if we don't, they don't need bash. And if we do, they can't run tests.

➕ show 1 reply