{"repo":"divagr18/SecureShell","free":true,"listed":false,"github":"https://github.com/divagr18/SecureShell","clone":"git clone https://github.com/divagr18/SecureShell.git","description":"Plug-and-play terminal security layer for LLM agents. Drop-in gatekeeper that prevents dangerous shell commands. Works with OpenAI, Claude, Gemini & more.","language":"Python","stars":24,"topics":["agents","ai","claude","clawdbot","command-line","cybersecurity","developer-tools","gpt","langchain","llm"],"license":"MIT","category":"ai-agents","readme_excerpt":"# SecureShell A plug-and-play security layer for LLMs and Agents that prevents dangerous command execution. SecureShell acts as \"sudo for LLMs\" - a drop-in zero-trust gatekeeper that evaluates every shell command before execution. It blocks hallucinated commands, prevents platform mismatches (e.g., Unix commands on Windows), and helps agents learn from mistakes. Why SecureShell? LLM agents with shell access can hallucinate dangerous commands like rm -rf / or dd if=/dev/zero . SecureShell solves this by: - Zero-Trust Gatekeeper - Every command treated as untrusted until validated by independent gatekeeper - Platform-Aware - Automatically blocks Unix commands on Windows (and vice versa) - Risk Classification - GREEN/YELLOW/RED tiers with automatic handling - Agent Learning - Clear feedback helps agents self-correct - Drop-in Integration - Plug into LangChain, LangGraph, MCP, or use standalone - Multi-LLM Support - Works with any LLM provider Quick Start TypeScript Python How It Works When an agent tries to run a command: 1. Risk Classification - Categorizes command as GREEN (safe), YELLOW (needs review), or RED (dangerous) 2. Sandbox Check - Validates paths against allowed/blocked lists 3. Platform Check - Ensures command compatibility with OS 4. Zero-Trust Gatekeeper - LLM evaluates YELLOW/RED commands with full context 5. Execution or Denial - Runs approved commands, blocks dangerous ones 6. Agent Feedback - Returns detailed reasoning for learning Example Flow: Features Secur","default_branch":null,"files":null,"tree":[],"storefront":"/r/divagr18","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/divagr18/SecureShell/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}