skill-scanner
Skill by sickn33
Scans agent skill directories for security issues before adoption. It checks for prompt injection, malicious code, excessive permissions, secret exposure, and supply chain risks, then guides a manual review.
Install skill-scanner
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/skill-scanner ~/.claude/skills/skill-scannerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/skill-scanner ~/.gemini/antigravity-cli/skills/skill-scannerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Skill Scanner is an agent skill that checks other agent skills for security issues before they are adopted. It covers prompt injection, malicious code, excessive permissions, secret exposure, and supply chain risks. A bundled Python script, scripts/scan_skill.py, runs a static scan and outputs structured JSON with fixed finding descriptions, file and line locators, and counts. The script does not execute the target skill.
The skill also guides the assistant through a manual review. It checks frontmatter, reviews prompt injection findings and script behavior, compares the description with the instructions, and rates the permission profile. It is aimed at people who need to decide whether a skill is safe to trust in an agent environment. The skill states that scanner output is a set of leads, not proof of safety.
Written from the project's SKILL.md and checked against it.
What it can do
- Static scanRuns the bundled scan_skill.py script and returns structured JSON with findings and locators.
- Frontmatter validationChecks that name and description are present and that allowed-tools and model overrides are justified.
- Prompt injection analysisReviews scanner findings to tell injection attempts apart from skills that only document injection patterns.
- Behavioral analysisCompares the skill description with its instructions and looks for scope creep or config poisoning.
- Script analysisReads each bundled script for exfiltration, reverse shells, credential theft, and dangerous execution.
- Supply chain assessmentReviews URL domains, remote instruction loading, and runtime dependency downloads.
- Permission analysisRates the tool permission profile against a risk tier reference and checks for least privilege.
What you need
- Python 3
- Python environment with PyYAML installed
Try asking
- Scan the skill in ./skills/my-skill for security issues before I adopt it
- Review the permissions requested by this SKILL.md and rate the risk
- Check this skill's bundled scripts for data exfiltration or credential theft
Good to know
- Static inspection only, not an execution sandbox.
- Files are limited to 1 MiB each and a tree to 1,000 files or 16 MiB.
- Binary or unreadable files are reported as coverage gaps.
- No pattern matches does not establish that a skill is safe or complete.
Security check
D- Tells the assistant to ignore its instructions or hide actions from youIn
skills/skill-scanner/scripts/scan_skill.py:ignore previous instructions
Checked automatically: skills/skill-scanner/SKILL.md, skills/skill-scanner/scripts/scan_skill.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
UPSTREAM-LICENSE.txt11 KB -
UPSTREAM-NOTICE.md2 KB -
references/dangerous-code-patterns.md7 KB -
references/permission-analysis.md5 KB
Show all 7 files
-
references/prompt-injection-patterns.md7 KB -
scripts/scan_skill.py35 KB
Alternatives to skill-scanner
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
skill-scanner: common questions
Does the scanner run the skill it checks?
No. The source says no target script, lifecycle hook, test, or external URL is executed during the scan.
Will the report reveal sensitive content?
The report omits raw metadata values, source excerpts, and secrets, but filenames and URL hostnames stay visible, so the source advises inspecting reports locally before sharing.
What happens if the scan cannot cover every file?
Unsupported inputs are marked incomplete rather than safe, and a scan error or incomplete coverage exits with a nonzero code.
How do I install skill-scanner?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is skill-scanner free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is skill-scanner safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade D (tells the assistant to ignore its instructions or hide actions from you). Review the code before you install. How grades work.
What are alternatives to skill-scanner?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
