Run Claude Code with –dangerously-skip-permissions in a Docker sandbox
Docker sandbox for Claude Code's dangerous flag when Anthropic won't let you run it bare.
Safe runtime for Claude Code, built to be yours.
OS-level sandboxing blocks base64 evasion when pattern matching alone fails.
Developers using Claude Code who want safer --dangerously-skip-permissions
Aider's permission system · Cursor's tool restrictions
Railguard hooks into Claude Code and intercepts every tool call and decides in under 2ms: allow, block, or ask.
cargo install railguard railguard install
It comes with sane configs preinstalled. You keep using Claude exactly as before. 99% of commands flow through instantly. You only see Railguard when it matters.What it actually does beyond pattern matching and sandboxing:
- OS-level sandbox (sandbox-exec on macOS, bwrap on Linux). Agents can base64-encode commands, write helper scripts, chain pipes to evade regex rules. The sandbox resolves what actually executes at the kernel level. - Context-aware decisions. rm dist/bundle.js inside your project is fine. rm ~/.bashrc is not. Same command, different decision.
- Memory safety. Claude Code has persistent memory across sessions — a real attack surface. Railguard classifies every memory write, blocks secrets from being exfiltrated, flags behavioral injection, and detects tampering between sessions.
- Recovery. Every file write is snapshotted. Roll back one edit, N edits, or an entire session.
It won't close every vector of attack. But it covers the gap between "no protection" and "approve everything manually" without changing your workflow.Rust, MIT, single YAML config file. Happy to talk architecture or trade-offs.
Docker sandbox for Claude Code's dangerous flag when Anthropic won't let you run it bare.
Auto-detects docker-compose.yml so agents can test against real database dependencies.
Self-dogfooding via 24/7 agent tasks on Kelos itself; solid but unproven at scale.
Kubernetes operator for autonomous AI agents—orchestrates Claude Code, Gemini, Codex as isolated, event-driven jobs.
Capability tokens + action firewall template, but wrapped in aggressive ACTTOKENS.COM enterprise SaaS marketing.
Eight enforced security layers for AI agents, but unclear if this beats custom middleware for most teams.