What is Prism Scanner?
Prism Scanner is a security scanner for AI Agent skills, plugins, and MCP servers. It analyzes code for malicious behavior before installation and checks for leftover threats after uninstallation, covering pre‑install, runtime, and post‑uninstall phases across platforms including ClawHub, MCP, npm, and pip. It is designed for developers and security professionals who need code‑level transparency and open‑source tooling.
How to use Prism Scanner?
Install via pip install prism-scanner, Homebrew, npx prism-scanner, or Docker. Use the CLI commands prism scan <target> to scan a local directory or GitHub repo, and prism clean --scan, prism clean --plan, or prism clean --apply for system residue management. It can also run as an MCP server exposing four tools (prism_scan, prism_grade, prism_clean_scan, prism_clean_plan) for integration with AI assistants.
Key features of Prism Scanner
- 39 detection rules across three analysis layers
- Intra‑file taint tracking for data flow analysis
- Multi‑platform support (ClawHub, MCP, npm, pip)
- Pure static analysis; never executes scanned code
- System residue scanner for post‑uninstall persistence checks
- Safe cleanup with plan‑apply‑rollback workflow
- Custom detection rules via YAML files
- Offline mode to skip all external lookups
Use cases of Prism Scanner
- Pre‑install security audit of an AI agent skill or plugin
- Post‑uninstall system residue and persistence detection
- CI/CD gating to block deployments with critical findings
- Generating SARIF reports for GitHub Code Scanning integration
评论