Quick Start

MEDUSA is an AI-first security scanner with 79 scanners and 40,000+ detection rules. It works out of the box — no external tools, no API keys, no configuration. Install it and run your first scan in under a minute:

pip install medusa-security
medusa scan .

That's it. MEDUSA scans your project for prompt injection, MCP vulnerabilities, RAG poisoning, agent attacks, leaked secrets, and traditional code vulnerabilities, then prints a prioritised report.

Vet a repo before you clone it

Scan any remote GitHub repository for AI supply-chain attacks — including poisoned AI editor configs (.cursorrules, mcp.json, .claude/ hooks and skills) — without cloning it first:

medusa scan --git https://github.com/org/repo
medusa scan --git org/repo          # shorthand

Report formats

Export results as JSON, HTML, SARIF, or Markdown — SARIF plugs straight into GitHub Code Scanning:

medusa scan . --format sarif -o results.sarif

Installation

MEDUSA supports Windows, macOS, and Linux on Python 3.9+.

Standard install

pip install medusa-security

Virtual environment (recommended)

python3 -m venv medusa-env
source medusa-env/bin/activate   # Windows: medusa-env\Scripts\activate
pip install medusa-security
medusa scan .

Platform notes

Optional extras

Quick Start

Covered above — install and scan in under a minute.

Edit on GitHub →

Installation

Covered above — all platforms, plus optional extras.

Edit on GitHub →

Scanners

Complete reference for all 79 security scanners.

Scanner Docs →

API Reference

API documentation for advanced usage and integrations.

API Docs →

Troubleshooting

Common issues and solutions for MEDUSA.

Troubleshoot →

Security Policy

Security policy and vulnerability reporting.

Security Policy →

Changelog

Version history and release notes.

View Changelog →

Contributing

Code of conduct and contribution guidelines.

Contribute →