Run this helper free — no credit card
Every helper is free for 30 days. Answer 3 questions and get the full result in 2 minutes.
Start free →SafeRun - Safety Guardrails for AI Agents
Classifies shell commands as BLOCK, ASK, or ALLOW before execution to prevent dangerous operations like force pushes and recursive deletes
Install in one line
CLI$ mfkvault install saferun-safety-guardrailsRequires the MFKVault CLI. Prefer MCP?
Free to install — no account needed
Copy the command below and paste into your agent.
Instant access • No coding needed • No account needed
What you get in 5 minutes
- Full skill code ready to install
- Works with 1 AI agent
- Lifetime updates included
Run this helper
Answer a few questions and let this helper do the work.
▸Advanced: use with your AI agent
Description
--- name: saferun description: > Safety guardrails for AI agents. Classifies shell commands as BLOCK, ASK, or ALLOW before execution. Prevents dangerous operations like force pushes, recursive deletes, and credential destruction. Works automatically — no configuration needed. version: 0.1.0 author: Cocabadger license: MIT homepage: https://github.com/Cocabadger/saferun-openclaw tags: - safety - security - guardrails - exec - protection --- # SafeRun — Safety Guardrails You have access to a command safety classifier. **Before executing ANY shell command via the `exec` tool**, you MUST check it with SafeRun first. ## How to use Before every `exec` call, run the classifier: ```bash python ~/.openclaw/skills/saferun/saferun_guard.py "<command>" ``` The output will be one of: - `BLOCK` — **Do NOT execute this command.** Tell the user it was blocked and explain why. - `ASK` — This command needs user approval. Ask the user for confirmation before executing. - `ALLOW` — Safe to execute. Proceed normally. ## Rules 1. **ALWAYS** classify before executing. No exceptions. 2. If the result is `BLOCK`, **never** execute the command. Explain the reason to the user. 3. If the result is `ASK`, tell the user what the command does and wait for explicit approval. 4. If the result is `ALLOW`, execute normally without asking. 5. **Never** try to bypass SafeRun by reformulating a blocked command. 6. If SafeRun is unavailable (script error), **default to ASK** — ask the user before executing. ## What gets blocked (examples) - `git push --force origin main` — Rewrites production branch history - `rm -rf /` or `rm -rf ~` — Destroys filesystem - `chmod 777 /etc` — Opens system config to everyone - `curl ... | bash` — Executes untrusted remote code - `git branch -D main` — Deletes critical branch - `git reset --hard` on protected branches — Discards all work - Deleting `.env`, `~/.ssh/` files — Destroys credentials ## What needs approval (examples) - `git merge feature into main` — Production branch change - `kubectl apply` / `terraform apply` — Infrastructure deployment - `npm publish` — Public package release - `docker push` — Container registry update ## What passes through (examples) - `git status`, `git log`, `ls`, `cat` — Read-only operations - `git checkout -b feature` — Local branch creation - `pytest`, `npm test` — Running tests - `npm install`, `pip install` — Installing dependencies
Security Status
Unvetted
Not yet security scanned
Related AI Tools
More Career Boost tools you might like
ru-text — Russian Text Quality
FreeApplies professional Russian typography, grammar, and style rules to improve text quality across content types
Run free/forge:工作流总入口
Free'Forge 工作流总入口。检查项目状态,推荐下一步该用哪个 skill。任何时候不知道下一步该干什么,就用 /forge。触发方式:用户说"forge"、"下一步"、"接下来做什么"、"继续"(在没有明确上下文时)。'
Run freeCharles Proxy Session Extractor
FreeExtracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request bodies, and response bodies. Use when analyzing captured network traffic from Charles Proxy debug
Run freeJava Backend Interview Simulator
FreeSimulates realistic Java backend technical interviews with customizable interviewer styles and candidate levels for Chinese tech companies
Run freeTypeScript React & Next.js Production Patterns
FreeProduction-grade TypeScript reference for React & Next.js covering type safety, component patterns, API validation, state management, and debugging
Run freeAI News & Trends Intelligence
FreeFetches latest AI/ML news, trending open-source projects, and social media discussions from 75+ curated sources for comprehensive AI briefings
Run free