Remix.run Logo
▲ sburud 19 hours 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

▲regexorcist 17 hours ago | parent | next [-]

> lock down code execution to run in bwrap. Claude made a nice extension

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.

▲testtestmetest 13 hours ago | parent [-]

I agree to sandbox but opencode doesnt instruct you to use bwrap and many people dont even know what a sandbox is and you have the head of Opencode, dax, screaming about how dumb you are for caring about permissions while marketing to as many normies as possible.

▲slurpyb 16 hours ago | parent | prev [-]

How on earth can you open up your defence with “claude made a” ????