News for hackers. Stuff that matters.
Re:Don't YOLO your file system by shakna on Friday March 27, 2026 @11:50PM (#47551442)
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.

Re:Don't YOLO your file system by brianush1 on Saturday March 28, 2026 @12:06AM (#47551527)
claude is stupid but not malicious; chroot is sufficient
Re:Don't YOLO your file system by nofriend on Saturday March 28, 2026 @12:16AM (#47551576)
Malice is not required. If it thinks it is in the right, then it will do whatever it takes to get around limitations.
Re:Don't YOLO your file system by karhagba on Saturday March 28, 2026 @12:20AM (#47551596)
Claude is far from stupid from my experience. I've used so many models and Claude is king.
Re:Don't YOLO your file system by furyofantares on Saturday March 28, 2026 @12:43AM (#47551702)
I'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.
Re:Don't YOLO your file system by j16sdiz on Saturday March 28, 2026 @01:58AM (#47552029)
breaking a chroot takes more than that..
Re:Don't YOLO your file system by hoppp on Saturday March 28, 2026 @10:11AM (#47554795)
That doesn't mean claude can't do it, chroot is better than nothing but not a real solution
Re:Don't YOLO your file system by furyofantares on Saturday March 28, 2026 @01:09PM (#47556472)
How 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.

Re:Don't YOLO your file system by lxgr on Saturday March 28, 2026 @07:08AM (#47553489)
Until 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?
Re:Don't YOLO your file system by fl7305 on Saturday March 28, 2026 @02:59PM (#47557305)
Sure, it's not malicious. But it is very eager to get things done, and surprisingly inventive and knowledgeable in all kinds of workarounds.