Replies: 6 comments 3 replies
-
|
Hey! Thanks for filing this. This is definitely a real concern and important topic. I'm going to convert it to a discussion (for further discussion). If we can agree on a plan, and whether this should be in Crush, we can convert back to an issue for implementation. |
Beta Was this translation helpful? Give feedback.
-
|
I needed this capability in my own projects so I recently created a Go implementation of |
Beta Was this translation helpful? Give feedback.
-
|
I have a wrapper that creates a new |
Beta Was this translation helpful? Give feedback.
-
|
Anybody know an agent that has proper, built in sandboxing? Claude Code's sandboxing is a joke and I'm not really enjoying the explosion of third party sandboxing tools just so you can have some basic assurance that your home directory isn't going to get nuked or uploaded to a C2 server. |
Beta Was this translation helpful? Give feedback.
-
|
@meowgorithm 👋 Following up on this since it's been a while - Fence is a lot more mature now than when I first mentioned it here, and That's made me think there's probably a pretty practical path for deeper integration inside Crush and make process sandboxing a first-class feature in Crush. The main motivation would be to complement Crush's existing permission prompts with actual OS-level containment for the agent's shell commands / background jobs (network, filesystem, command restrictions), while keeping the UX closer to native Crush than an external wrapper. My guess is this would be especially useful for people who want to give Crush a bit more freedom while still keeping a real containment boundary around shell execution. I think the first cut can stay intentionally small: shell-level only, centered on Crush's existing bash/internal shell execution path and background jobs, not every tool/process in Crush. So built-in If this direction sounds interesting, happy to flesh out the design and concrete implementation details in a separate issue or PR. |
Beta Was this translation helpful? Give feedback.
-
|
In case it is useful for others, I use a wrapper script around |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
HI there,
I would very much like to give the agent more independence with command execution, but cannot do so without more restrictions to what it can do.
Sandboxing the agent is a way forward that would allow this, bubblewrap (linux) and seatbelt (darwin) can support this and do not require to run inside a docker container (which still cannot sandbox network access, which is a big problem).
Would you be up for that?
If you want to go down that implementation route, I really like https://github.com/anthropic-experimental/sandbox-runtime to unify sandboxing on linux and darwin, which could greatly help getting this up and running much faster.
Beta Was this translation helpful? Give feedback.
All reactions