Skill Scanner analyzes agent skill folders for prompt injection, data exfiltration, malicious code, and related risks using layered static and optional LLM checks.
Overview
Skill Scanner is a security-focused tool for AI agent skills published in formats such as OpenAI Codex Skills and Cursor Agent Skills. It combines signature and YARA-style rules, bytecode and pipeline checks, AST dataflow analysis, an optional LLM judge, and a CEL decision layer over typed detector facts. Lenient mode can also scan some non-standard skill layouts.
Findings can be emitted as summary, JSON, Markdown, tables, SARIF for GitHub Code Scanning, or self-contained HTML reports. Presets such as balanced, low-noise, and quiet trade off recall against false positives; documentation publishes measured rates on held-out malicious and harmless skills.
Optional analyzers add behavioral dataflow on Python, OSV dependency checks, VirusTotal hash lookup, Cisco AI Defense cloud screening, and a meta-analyzer second pass. The CLI supports scanning one skill, many skills, or cloning a GitHub repository to scan its skills, plus policy generation and an interactive wizard.
The project stresses that absence of findings does not prove a skill is safe; coverage is incomplete and human review is still expected for high-risk deployments. It also ships a Python SDK, reusable GitHub Actions workflow, and REST API for batch workflows.
Key features
- Multi-engine static and behavioral analysis
- Optional LLM semantic judge
- SARIF output for CI and GitHub scanning
- Configurable scan policies and presets
- Agent Skills and lenient format support
- Interactive CLI wizard
- Python SDK and REST API
- Plugin architecture for custom analyzers
Use cases
- Scanning skills before install or merge
- Gating CI when severity thresholds are exceeded
- Reviewing third-party agent skill repositories
- Tuning policies for false-positive tolerance
- Exporting SARIF into code scanning workflows