Open-Source Linux Tool for Command Inspection and SandboxingOpen-Source Linux Tool for Command Inspection and Sandboxing
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Would you run a command without knowing what it could do?
A copied installation script. An automated workflow. A shell command suggested by AI.
Convenient? Yes. Worth checking before execution? Absolutely.
That’s why I built SafeShell, an open-source tool for inspecting commands, applying security policies, and running permitted commands with sandboxing on Linux.
The goal: help developers and engineering teams work faster with more control over what they execute.
Explore the code, try it, and share your feedback: https://github.com/HamzaGhebriche/SafeShell
Building automation or CI/CD workflows that need stronger security controls? I’m available for freelance projects in DevSecOps, secure automation, and cloud security. Let’s talk through Contra.
Post image
Eros's avatar
Useful idea, especially for commands suggested by AI. In my deploy script every step is logged, but nothing checks a command before it runs. Can SafeShell also run inside CI, for example as a step in GitHub Actions?
Hamza's avatar
Thanks! CI is a useful use case. SafeShell’s CLI could be called from a GitHub Actions step, but sandboxed execution requires a Linux runner that supports its isolation mechanisms. I haven’t validated that exact workflow yet. One limitation for deployment scripts: the current...
Eros's avatar
Thanks for the clear answer! For my case a pre-deploy check would be enough: read the deploy script and stop risky commands (like rm -rf or curl | bash) before it runs on the server. Good luck with the next version!
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started