The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Medusa
AI-first security scanner. NEW in v2026.7: Claude Code compromise detection — vet .claude/ hooks, permissions & skills before you clone — plus an always-on AI attack-signature…
Install
pip install medusa-securityInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🐍 MEDUSA - AI Security Scanner
AI-first security scanner with 40,000+ detection patterns for AI/ML, agents, and LLM applications.
🤖 Works out of the box - no tool installation required.
🚨 200 CVEs: Log4Shell, Spring4Shell, XZ Utils, LangChain RCE, MCP-Remote RCE, React2Shell
🔥 medusa scan --git <URL> — Scan any repo for AI supply chain attacks (repo poisoning, prompt injection, MCP tool poisoning)
🔐 medusa secrets scan — Find leaked API keys in your Claude / Cursor / Copilot / shell history. 21 issuer types. Interactive in-place redaction.
🚀 v2026.7.0: Claude Code compromise detection, an always-on AI attack-signature scanner, native Rust & PHP security rules, and rule-level diagnostics — on top of 40,000+ detection patterns.
🎯 What is MEDUSA?
MEDUSA is an AI-first security scanner with 40,000+ detection patterns that works out of the box. Simply install and scan - no external tool installation required. MEDUSA's built-in rules detect vulnerabilities in AI/ML applications, LLM agents, MCP servers, RAG pipelines, and traditional code.
✨ Key Features
- 🔥
medusa scan --git <URL>- Scan any GitHub repo for AI supply chain attacks in seconds - 🔐
medusa secrets scan+purge- Find API keys / tokens / private keys leaked into Claude Code / Cursor / Copilot / Zed / Gemini chat histories and your bash / zsh / psql / mysql / python REPL history. 21 issuer types (Anthropic, OpenAI, PyPI, GitHub PATs, AWS, GCP, Stripe, Slack…). Interactive[y/n/s/a/q]purge with mandatory byte-identical backup and JSONL-safe redaction. Local-only, no telemetry. - 🤖 40,000+ AI Security Patterns - Industry-leading coverage for AI/ML, agents, and LLM applications
- 🛡️ Repo Poisoning Detection - Detects weaponized AI editor configs across 28+ file types (Cursor, Cline, Copilot, Claude Code, Gemini, Kiro, and more)
- 🚀 Zero Setup Required - Works immediately after
pip install- no tool installation needed - 🚨 200 CVE Detections - Log4Shell, Spring4Shell, XZ Utils backdoor, LangChain RCE, MCP remote code execution, React2Shell, and more
- ⚡ Parallel Processing - Multi-core scanning (10-40x faster than sequential), works on macOS/Windows/Linux
- 🎨 Beautiful CLI - Rich terminal output with progress bars
- 🧠 IDE Integration - Claude Code, Cursor, VS Code, Gemini CLI support
- 🔄 Smart Caching - Skip unchanged files for lightning-fast rescans (content-hash keyed, correct in CI)
- ⚙️ Configurable -
.medusa.ymlfor project-specific settings - 🌍 Cross-Platform - Native Windows, macOS, and Linux support
- 📊 Multiple Reports - JSON, HTML, Markdown, SARIF exports for any workflow
- 🔧 Optional Linter Support - Auto-detects external linters if installed for enhanced coverage
🆕 What's New in v2026.7.0
Claude Code supply-chain detection, broader language coverage, and rule-level observability.
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.