Repository navigation
Releases
Releases · 2422725977/safeshell
SafeShell v0.2.0 — MCP Server, Claude Code Hook, Docker & CI
What's New in v0.2.0
- Zero-LLM Claude Code
PreToolUseHook (safesh --hook): Intercepts catastrophic Bash commands (rm -rf /,curl | bash, fork bombs, rawdd, syntax errors, placeholder leaks) in<2ms, and downgrades scoped destructive commands (find ... -delete) toaskwith an automatic read-onlydry_runpreview. Runsafesh --print-claude-hookfor a ready-to-paste~/.claude/settings.jsonsnippet. - Zero-Dependency Stdio MCP Server (
safesh-mcp/safesh --mcp): Exposesvalidate_bash_command,suggest_dry_run, andgenerate_safe_bashover standard JSON-RPC 2.0 stdio for Claude Desktop, Cursor, Windsurf, and Antigravity. - Production
Dockerfile& GitHub Actions CI: Automated Python 3.10–3.12 +ShellCheck+pytest(33 tests) + wheel/sdist build verification. - Apache-2.0
LICENSE& Terminal Demo GIF: Added repository license, animatedassets/demo.gif, updated bilingual READMEs, and cross-linked theSafeShell-3B-v4/SwiftCypher-4B/SwiftSQL-3Bsuite.