|
|
|
|
|
by sburud
16 days ago
|
|
One example: I wanted to lock down code execution to run in bwrap. Claude made a nice extension for this, which correctly sandboxes shell commands. Then I asked it to break out, it said sure and dumped a config file in a subfolder and moved the whole session into that folder. Opencode picked up the new permissive config and “hello from inside opencode.txt” appeared on my desktop, all without any questions asked. It’s possible to lock down all these side doors, but opencode doesn’t even provide labels in the permission prompts for most of them. Still a nice package though, just not concerned with security |
|
I think you're looking at it wrong. I run opencode itself inside bwrap (atop other layers) so anything it runs it's already sandboxed.