skills/skill-safety-scanner/SKILL.md
Run local safety scans on Agent Skills before publishing. Detects secrets, dangerous code patterns, and analyzes required permissions.
npx skillsauth add skillscatalog/registry skill-safety-scannerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to run safety scans on any Agent Skill directory before publishing. The scanner detects:
Scan a skill directory:
Scan the skill at /path/to/my-skill for safety issues
Get detailed output:
python3 safety_scan.py /path/to/my-skill --verbose
Get JSON output for CI integration:
python3 safety_scan.py /path/to/my-skill --json
Safety Scan Report
Skill: my-skill
Grade: B (85/100)
Scores:
Secrets: 100/100
Dangerous Code: 70/100
Permissions Detected:
- filesystem
- network
Findings (1):
[medium] Potential command injection
File: scripts/main.py:42
Code: subprocess.run(cmd, shell=True)
Recommendation: Review the finding above before publishing.
Basic scan:
User: Scan my skill at ./document-tools for safety issues
Agent: Running safety scan on ./document-tools...
Grade: A (95/100)
No critical issues found.
Finding secrets:
User: Check ./my-api-client for security issues
Agent: Running safety scan...
Grade: F (0/100)
Findings:
[critical] Hardcoded API key detected
File: config.py:5
Code: API_KEY = "sk-ant-..."
You must remove this secret before publishing.
tools
A brief description of what this skill does
development
Validate Agent Skills against the specification. Checks SKILL.md format, frontmatter fields, naming conventions, and directory structure.
development
Search the Agent Skills Catalog to find skills by keyword, vendor, or category.
development
Submit Agent Skills to catalogs for publication. Validates, scans, and submits skills via the skillscatalog.ai API.