npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

skill-security-scanner

v0.1.3

Published

Static security scanner and linter for OpenClaw skill directories

Readme

skill-security-scanner

Static security scanner and linter for OpenClaw skill directories. Free tier. No config needed.

npm version

Commands

| Command | Description | |---|---| | scan <skill> | Security scan a single skill (default) | | scan-all | Security scan every skill in the project | | lint <skill> | Validate SKILL.md frontmatter schema | | lint --all | Validate every skill in the project | | info <skill> | Pretty-print parsed frontmatter for debugging |


scan — Security Scanner

# By skill name — auto-discovered from anywhere in the project
npx skill-security-scanner frontend-design
npx skill-security-scanner clean-code

# Or a full/relative path
npx skill-security-scanner .agent/skills/frontend-design

The CLI walks up the directory tree to find .agent/skills/<name> automatically.

What It Scans

| Check | Description | Risk | |---|---|---| | Permissions | file_system:write, network:outbound, shell:execute in YAML frontmatter | Med/High | | Dangerous bins | curl, wget, ssh, bash, etc. in requires.bin | High | | Sensitive env vars | Env vars with key, secret, token, password in name | Med | | Code patterns | eval, exec, execSync, network calls in source files | Med/High | | Secret leaks | OpenAI sk-, GitHub ghp_, AWS AKIA, hardcoded passwords | High | | npm vulns | npm audit for known CVEs (if package.json present) | Med/High |

Risk Scoring

| Score | Meaning | |---|---| | 🟢 LOW | No significant risks detected | | 🟡 MED | Some concerns — review recommended | | 🔴 HIGH | Critical risks — block before deploy |

Scan Flags

| Flag | Description | |---|---| | --badge | Print a Markdown shield badge (paste into your README) | | --json | JSON output for CI pipelines |

npx skill-security-scanner frontend-design --badge
npx skill-security-scanner frontend-design --json

Scan Output Example

🔍 Skill Security Scanner — voiceover-bot
──────────────────────────────────────────────────
Risk Score: 🚨 HIGH

🚨 HIGH RISK (2)
  • Requires dangerous binary: curl (network/exfil risk)
  • eval/exec found in scripts/run.ts — remote code execution risk

⚠️  MEDIUM RISK (1)
  • Sensitive env var required: OPENAI_API_KEY

scan-all — Scan Every Skill

npx skill-security-scanner scan-all
npx skill-security-scanner scan-all --json
npx skill-security-scanner scan-all --fail-on med

scan-all Flags

| Flag | Description | |---|---| | --json | JSON array output | | --fail-on <level> | Exit 1 if any skill hits low/med/high (default: high) | | --skip-audit | Skip npm audit (auto-enabled when >5 skills found) |

scan-all Output Example

🔍 Skill Security Scanner — Project Scan (37 skills)
────────────────────────────────────────────────────────────
  🚨 HIGH   voiceover-bot
          → [HIGH] eval/exec found in scripts/run.ts — remote code execution risk
          → [MED]  Sensitive env var required: OPENAI_API_KEY

  ✅ LOW    frontend-design
  ✅ LOW    clean-code
  ... (34 more)
────────────────────────────────────────────────────────────
  🚨 1 HIGH  ⚠️  0 MED  ✅ 36 LOW

lint — Schema Validator

Validates SKILL.md frontmatter against the OpenClaw schema.

# Single skill
npx skill-security-scanner lint frontend-design

# All skills in the project
npx skill-security-scanner lint --all

# Fail on warnings too (strict CI mode)
npx skill-security-scanner lint --all --strict

What It Validates

| Field | Rule | |---|---| | name | Required, string, ≥3 chars | | description | Required, string, ≥10 chars recommended | | version | Required, valid semver (x.y.z) | | permissions | Array of known OpenClaw permission scopes | | requires.env/config/bin | Must be arrays if present | | Body content | Warns if <50 chars |

Lint Flags

| Flag | Description | |---|---| | --all | Lint every skill in the project | | --strict | Treat warnings as errors (exit 1) | | --json | JSON output |

Lint Output Example

🔎 Lint — voiceover-bot
──────────────────────────────────────────────────
Status: ❌ FAIL

Errors (2)
  • [description] Missing required field
  • [version] Missing required field

Warnings (1)
  • [SKILL.md body] Skill body is very short — consider adding usage examples

info — Frontmatter Inspector

Pretty-prints everything the scanner sees when it parses a skill's SKILL.md. Useful for debugging mismatches between what you wrote and what the tool reads.

npx skill-security-scanner info frontend-design
npx skill-security-scanner info .agent/skills/voiceover-bot

# Machine-readable output
npx skill-security-scanner info frontend-design --json

What It Shows

| Section | Details | |---|---| | 📦 Identity | name, description, version, resolved path | | 🔐 Permissions | Each scope color-coded by risk — 🚨 high, ⚠️ med, ✅ low | | 🗂️ Requires | bin (flags dangerous entries), env (flags sensitive names), config | | ⚡ Command Dispatch | Registered command → handler mappings |

Info Flags

| Flag | Description | |---|---| | --json | Output { path, frontmatter } as JSON |

Info Output Example

📦 Skill Info — voiceover-bot
──────────────────────────────────────────────────────
  Name         voiceover-bot
  Description  Converts text to speech using ElevenLabs
  Version      1.2.0
  Path         /project/.agent/skills/voiceover-bot

🔐 Permissions
  🚨 shell:execute
  ⚠️  network:outbound
  ✅ file_system:read

🗂️  Requires
  bin:
    ⚠  curl  (dangerous)
    •  ffmpeg
  env:
    🔑 ELEVENLABS_API_KEY  (sensitive)
    •  VOICE_ID

⚡ Command Dispatch
  speak      →  scripts/speak.sh
  list-voices  →  scripts/list.py

Install Globally

npm install -g skill-security-scanner

# Then from anywhere in your project:
skill-security-scanner frontend-design
skill-security-scanner lint --all
skill-security-scanner scan-all
skill-security-scanner info frontend-design

CI / GitHub Actions

- name: Lint skills
  run: npx skill-security-scanner lint --all

- name: Security scan all skills
  run: npx skill-security-scanner scan-all --fail-on high --json

Upgrade

Free tier covers static analysis + linting. For dynamic sandboxing, GitHub org scans, and CI dashboards: → skill-security.com