Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

...or...just hear me out now...we could limit it in the harness.

Don't give it shell access, just predefined tools.



What if it puts malicious code into test file and you allow `npm run test `?


Disclaimer - on the Docker DevRel team

One of the demos I run is how easy it is to circumvent the harness limits. For example, I can configure a harness not to access file `secrets.txt`. But, then I can immediately have it create a Python file that can read any file and have it read `secrets.txt`.

At the end of the day, "please" isn't security. You want to know that the agent can only do and access the things it should access.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: