logoalt Hacker News

ethanwillisyesterday at 8:58 AM4 repliesview on HN

What we need is a capabilities based security system. It could write all the python, asm, whatever it wants and it wouldn't matter at all if it was never given a reference to use something it shouldn't.


Replies

ma2kxyesterday at 6:03 PM

There exist restricted Shells. But honestly, I don't feel capable of assessing all attack vectors and security measures in sufficient detail. For example, do the rbash restrictions also apply when Python is called with it? Or can the agent somehow bypass rbash to call Python?

https://en.wikipedia.org/wiki/Restricted_shell

mcvyesterday at 9:20 AM

Isn't this already possible? Give it its own user account with write access to the project directory and either read access or no access outside it.

show 2 replies
rienbdjyesterday at 1:19 PM

Docker is enough in practice no?

diablevvyesterday at 2:02 PM

[dead]