sh-guard — Cursor AI Agent
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorAgentssh-guard
    Back to Agents
    sh-guard

    sh-guard

    aryanbhosale April 4, 2026
    14 copies 0 downloads

    Semantic shell command safety classifier — AST-based risk scoring for AI coding agents

    sh-guard

    crates.io npm PyPI CI License: GPLv3 Docker

    Semantic shell command safety classifier for AI coding agents. Parses commands into ASTs, analyzes data flow through pipelines, and scores risk in under 100 microseconds.

    $ sh-guard "rm -rf /"
    CRITICAL (100): File deletion: targeting filesystem root, recursive deletion
      Risk factors: recursivedelete
      MITRE ATT&CK: T1485
    
    $ sh-guard "ls -la"
    SAFE (0): Information command
    

    The Problem

    AI coding agents (Claude Code, Codex, Cursor, etc.) execute shell commands on your behalf. Real incidents include:

    • rm -rf ~/ deleting a developer's entire home directory
    • A production database dropped by an AI agent during a code freeze
    • 70+ git-tracked files deleted after explicit "don't run anything" instructions
    • 43% of MCP server implementations containing command injection flaws

    sh-guard catches these before execution.

    Install

    # Homebrew (macOS / Linux)
    brew install aryanbhosale/tap/sh-guard
    
    # Cargo (Rust)
    cargo install sh-guard-cli
    
    # npm (CLI)
    npm install -g sh-guard-cli
    
    # PyPI
    pip install sh-guard
    
    # Docker
    docker run --rm ghcr.io/aryanbhosale/sh-guard "rm -rf /"
    
    # Or: Snap, Chocolatey, WinGet, GitHub Releases
    # See full install options below
    

    Quick Start

    1. Protect all your AI agents in one command

    sh-guard --
    

    Tags

    ai-agentbashclaude-codeclicodexcommand-injectioncursordevtoolsmcpmitre-attack

    Comments

    More Agents

    View all
    Emuloagent-memory

    Emulo

    Mine your Claude Code and Codex logs into a local you.md agent profile.

    O
    ohad6k
    193
    Nyx Local Ailm-studio

    Nyx Local Ai

    Local-first AI coding agent for VS Code & Cursor. Ollama, LM Studio & your inference fleet. Cursor-grade agent UX — offline, private, zero token cost.

    S
    sthamann
    248
    Self Learning Skills

    Self Learning Skills

    A self-improving skill for AI coding agents (Claude Code, Cursor, AGENTS.md): recognize a hard-won golden path in a session and harvest it into a reusable skill/rule for next time.

    K
    Kulaxyz
    895
    FDEOpsagentic-ai

    FDEOps

    Second brain for Forward Deployed Engineers. Engagement memory + 35 skills across 6 domains, all behind one @fde... Works with any AI coding agent.

    S
    suboss87
    303
    Awesome Gamedev Agent Skillsagent-skills

    Awesome Gamedev Agent Skills

    Game-development Agent Skills for AI coding agents: install once and a master router loads the right skill for your engine and task. 66 original, version-pinned skills (plus a master router) in the portable SKILL.md format that runs across Claude Code, Cursor, Codex, Copilot, Gemini CLI and more, for Godot, Unity, Unreal, web and beyond.

    G
    gamedev-skills
    301
    Honey For Devsagents

    Honey For Devs

    Honey (I Shrunk the AI) by GreenPT: a cross-tool coding skill that cuts AI coding-agent token usage and LLM API costs — write less code, less prose, and denser agent-to-agent handoffs (−53%, lossless in benchmarks) with no loss of quality. Works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, Windsurf, Cline & Kiro.

    G
    Green-PT
    177

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Command-based Telegram Bot for Article Summarization & Image Prompts with OpenAIn8n · $9.99 · Related topic
    • Execute Multiple Command Lines Based on External File Inputsn8n · $4.99 · Related topic
    • Automated LinkedIn Lead Generation, Scoring, & Communication with AI Agentn8n · $24.99 · Related topic
    • TechCrunch AI Article Scraper & Classifier with GPT-4.1-nano to Sheets & Telegramn8n · $14.99 · Related topic
    Browse all workflows