Remix.run Logo
throwaway2027 7 hours ago

All of which is useless when it just starts using big blocks of python instead. You need filesystem sandboxing for the python interpreter too.

ethanwillis 6 hours ago | parent [-]

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.

mcv 6 hours ago | parent | next [-]

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.

VorpalWay 39 minutes ago | parent | next [-]

Unix permissions is not a capability system though. Capabilities are more like "here is a file descriptor pointing to a directory, you are not capable of referring to anything outside it". So closer to chroot, except you can have several such directory references at the same time.

You can always narrow down a capability (get a new capability pointing to a subdirectory or file, or remove the writing capability so it is read only) but never make it more broad.

In a system designed for this it will be used for everything, not just file system. You might have capabilities related to network connections, or IPC to other processes, etc. The latter is especially attractive in microkernel based OSes. (Speaking of which, Redox OS seems to be experimenting with this, just saw an article today about that.)

See also https://en.wikipedia.org/wiki/Capability-based_security

100721 3 hours ago | parent | prev [-]

I have been putting my agents on their own, restricted OS-level user accounts for a while. It works really well for everything I do.

Admittedly, there’s a little more friction and agent confusion sometimes with this setup, but it’s worth the benefit of having zero worries about permissions and security.

jmogly 3 hours ago | parent [-]

Haha, you can already see wheel reinventors in this thread starting to spin their reinvention wheels. Nice stuff, I run my agents in containers.

rienbdj 2 hours ago | parent | prev | next [-]

Docker is enough in practice no?

diablevv an hour ago | parent | prev [-]

[dead]