News for hackers. Stuff that matters.
Re:Zed Is Our Office by adastra22 on Thursday November 13, 2025 @07:55PM (#45922641)
In the case of AI tools it is for security reasons, not just reproducible toolchains.
Re:Zed Is Our Office by viraptor on Thursday November 13, 2025 @08:32PM (#45922855)
We need more selinux and sandbox-exec in daily dev lives. There's no reason to bring a whole new system along just to restrict some access.
Re:Zed Is Our Office by adastra22 on Thursday November 13, 2025 @09:57PM (#45923363)
Docker is just a shim on kernel isolation APIs. It’s not any different, but better packaged.

But irrelevant in this case. I dev on macOS. I’m not aware of any other options.

Re:Zed Is Our Office by viraptor on Thursday November 13, 2025 @10:15PM (#45923446)
sandbox-exec. It's not great, but it's usable. https://igorstechnoclub.com/sandbox-exec/

> It’s not any different

It's very different. With docker on Mac you're running a VM which runs a wrapped up complete system that runs your app.

With selinux/sandbox-exec you run just your app and can skip the extra packaging needed for docker and mounts. (And get the extra performance)

Re:Zed Is Our Office by rendaw on Thursday November 13, 2025 @11:49PM (#45923957)
Does selinux/sandbox-exec work on a Mac? Is this an apples to apples comparison?
Re:Zed Is Our Office by viraptor on Friday November 14, 2025 @12:19AM (#45924100)
sandbox-exec is a Mac exclusive thing.
Re:Zed Is Our Office by sebmellen on Thursday November 13, 2025 @10:36PM (#45923559)
Wow TIL
Re:Zed Is Our Office by internet_points on Friday November 14, 2025 @02:20AM (#45924656)
Any references to how you use selinux? I've used bwrap and firejail, but I don't feel confident that I'm not leaving holes open?
Re:Zed Is Our Office by viraptor on Friday November 14, 2025 @04:26AM (#45925300)
Honestly - no. To use selinux you need to commit to actually learning how it works and experimenting a bit. I don't think there's an easier way than reading both redhat (https://docs.redhat.com/en/documentation/red_hat_enterprise_...) and NSA (https://www.nsa.gov/portals/75/documents/resources/everyone/...) docs.

If you're happy with firejail, make sure you use whitelists only and you'll be 90% there with what's possible to achieve.