3 ms·
chroot is not a security sandbox. It is not a jail. Escaping it is something that does not take too much effort. If you have ptrace, you can escape without pri
by shakna 7mo ago
chroot is not a security sandbox. It is not a jail.
Escaping it is something that does not take too much effort. If you have ptrace, you can escape without privileges.
- brianush1 7mo agoclaude is stupid but not malicious; chroot is sufficient
- nofriend 7mo agoMalice is not required. If it thinks it is in the right, then it will do whatever it takes to get around limitations.
- karhagba 7mo agoClaude is far from stupid from my experience. I've used so many models and Claude is king.
- furyofantares 7mo agoI've many times seen Claude try to execute a command that it's not supposed to, the harness prevents it, and then it writes and executes a python script to do it.
- j16sdiz 7mo agobreaking a chroot takes more than that..
- hoppp 7mo agoThat doesn't mean claude can't do it, chroot is better than nothing but not a real solution
- furyofantares 7mo agoHow much more? Depends on the system doesn't it? I don't know how many systems have proc mounted but don't you get it from /proc/self/root? Anyway that's beside the point, which is that it doesn't have to "be malicious" to try to overcome what look like errors on its way to accomplishing the task you asked it to do.
- lxgr 7mo agoUntil it gets prompt injected. Are you reading every single file your agent reads as part of the tasks you give it, including content fetched from the web or third-party packages?
- fl7305 7mo agoSure, it's not malicious. But it is very eager to get things done, and surprisingly inventive and knowledgeable in all kinds of workarounds.