Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
skillscatalog avatar

Skill Safety Scanner

  • 21 installs
  • 1 repo stars
  • Updated January 3, 2026
  • skillscatalog/registry

skill-safety-scanner is an agent skill that locally grades Agent Skills for secrets, dangerous code, and permissions.

About

skill-safety-scanner is a local checker skill for solo builders curating skills from registries who want web-parity safety grading without uploading code. It ships a Python safety_scan script that walks Agent Skill packages, flags hardcoded secrets and high-risk code patterns, and summarizes implied permissions such as filesystem, network, and subprocess use. Results are meant to align with skillscatalog.ai scanner grades so you can compare local runs with catalog audit panels. The package includes a versioned manifest with file hashes for SKILL.md and the scanner script, supporting reproducible reviews before you add a skill to Claude Code, Cursor, or Codex. Use it when evaluating unfamiliar skills from skills.sh-style sources, before CI adoption, or when you need a repeatable pre-install ritual alongside reading upstream SKILL.md triggers.

  • Python `safety_scan.py` scanner (~30KB) runs offline on skill directories
  • Detects hardcoded API keys, tokens, credentials, and dangerous patterns (eval, exec, injection)
  • Infers required permissions: filesystem, network, subprocess
  • Outputs grades comparable to the skillscatalog.ai web scanner
  • Manifest documents SKILL.md plus scripts with SHA256 integrity metadata

Skill Safety Scanner by the numbers

  • 21 all-time installs (skills.sh)
  • Ranked #1,581 of 2,203 Security skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/skillscatalog/registry --skill skill-safety-scanner

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs21
repo stars1
Security audit2 / 3 scanners passed
Last updatedJanuary 3, 2026
Repositoryskillscatalog/registry

What it does

Locally scan Agent Skill folders for hardcoded secrets, dangerous code patterns, and implied permissions before you install them.

Who is it for?

Best when you're assembling a personal skill library and need offline, repeatable scans before install.

Skip if: Full production SAST of your entire application codebase or compliance sign-off without human review of findings.

When should I use this skill?

User wants to safety-scan, audit, or grade a local Agent Skill folder before install or publish.

What you get

You get a local safety grade and finding list aligned with skillscatalog.ai so you can reject or harden skills before enabling them in your agent.

  • Safety grade report aligned with skillscatalog.ai
  • Findings for secrets, dangerous patterns, and inferred permissions

By the numbers

  • Scanner script safety_scan.py ~30,740 bytes
  • Detects hardcoded secrets, eval/exec, and command-injection-style patterns
  • Package manifest: 2 files (SKILL.md + scripts) with SHA256 integrity

Files

SKILL.mdMarkdownGitHub ↗

Instructions

Use this skill to run safety scans on any Agent Skill directory before publishing. The scanner detects:

  • Secrets - Hardcoded API keys, tokens, passwords, private keys
  • Dangerous Code - eval(), exec(), command injection, XSS patterns
  • Permissions - Required capabilities (filesystem, network, subprocess, etc.)

When to Use

  • Before submitting a skill for publication
  • To preview what the catalog safety scan will find
  • To identify and fix security issues early
  • As part of CI/CD pipelines

How to Use

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

Output

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.

Examples

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.

Limitations

  • Does not scan dependencies (use npm audit / pip-audit separately)
  • Pattern-based detection may have false positives
  • Cannot detect all security issues (not a replacement for security review)
  • Scans local files only (not GitHub URLs)

Dependencies

  • Python 3.9+
  • No external dependencies (uses Python stdlib)

Related skills

How it compares

Offline skill-package checker—not an MCP server and not a substitute for vendor security review of your own app.

FAQ

Who is skill-safety-scanner for?

Developers and security-conscious agent users vetting third-party SKILL.md packages and bundled scripts before adoption.

When should I use skill-safety-scanner?

At Validate when scoping which skills to trust; at Ship security before install; at Build when adding new skills to your agent toolchain.

Is skill-safety-scanner safe to install?

It includes a local Python scanner that reads skill files—review the Security Audits panel on this page and inspect `scripts/safety_scan.py` in your checkout before running on sensitive paths.

Securityauditsecrets

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.