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

skillscan-cli

v0.1.0

Published

Security scanner for AI agent skills/plugins. Detects prompt injection, data exfiltration, excessive permissions, and supply chain attacks.

Readme

SkillScan

Security scanner for AI agent skills/plugins. Detects prompt injection, data exfiltration, excessive permissions, and supply chain attacks in OpenClaw, LangChain, and other agent frameworks.

"Know before you install."

npx skillscan ./my-skill

Why?

  • 1,184 confirmed malicious skills found in OpenClaw's ClawHub marketplace
  • 7%+ of skills expose sensitive credentials (Snyk research)
  • No existing tool performs static analysis specifically for AI agent skill security

SkillScan fills this gap with 8 purpose-built security detectors that understand AI-specific threats.

Quick Start

# Scan a skill directory
npx skillscan ./my-skill

# JSON output for CI/CD
npx skillscan ./my-skill --format json

# HTML report
npx skillscan ./my-skill --format html --output report.html

# Quiet mode (just the risk score)
npx skillscan ./my-skill --quiet

What It Detects

| Detector | ID | What It Finds | |---|---|---| | Network Exfiltration | network-exfil | Outbound HTTP to unknown domains, context data being sent externally | | Filesystem Access | fs-access | Reads from ~/.ssh, ~/.aws, /etc/passwd, path traversal, broad globs | | Shell Execution | shell-exec | child_process usage, rm -rf, curl\|bash, command injection | | Prompt Injection | prompt-injection | "Ignore previous instructions", hidden text in HTML comments, zero-width chars | | Credential Exposure | credential-leak | Hardcoded AWS keys, GitHub tokens, Slack tokens, API keys | | Code Obfuscation | obfuscation | eval(), new Function(), base64 decoding, String.fromCharCode | | Dependency Risk | dependency | Known malicious packages, typosquatting, postinstall scripts | | Permission Scope | permission-scope | Undeclared capabilities, excessive permission requests |

Risk Score

0.0 - 2.0  →  SAFE      (likely safe to install)
2.1 - 4.0  →  CAUTION   (review findings before installing)
4.1 - 7.0  →  WARNING   (significant risks detected)
7.1 - 10.0 →  DANGER    (do NOT install)

CLI Options

skillscan <path> [options]

Arguments:
  path                    Path to skill directory or SKILL.md file

Options:
  -f, --format <format>   Output format: terminal (default), json, html
  -o, --output <file>     Write report to file instead of stdout
  -s, --severity <level>  Minimum severity: critical, high, medium, low, info
  --no-color              Disable colored output
  --config <path>         Path to config file
  --ignore <detectors>    Comma-separated detector IDs to skip
  -q, --quiet             Only output risk score (for CI/CD)
  -v, --verbose           Show code context for each finding
  -V, --version           Show version
  -h, --help              Show help

Configuration

Create a skillscan.config.json (or .ts, .yaml) in your project:

{
  "severity": "medium",
  "ignore": ["permission-scope"],
  "allowlistedDomains": [
    "api.openai.com",
    "api.anthropic.com",
    "api.mycompany.com"
  ]
}

CI/CD Integration

GitHub Actions

- name: Scan skill for security issues
  run: npx skillscan ./my-skill --quiet

Exit codes: 0 = safe, 1 = warnings, 2 = critical findings.

See .github/workflows/skillscan.yml for a full example.

Development

pnpm install          # Install dependencies
pnpm build            # Build with tsup
pnpm dev              # Run in dev mode
pnpm test             # Run tests
pnpm test:watch       # Watch mode
pnpm lint             # Biome check
pnpm lint:fix         # Auto-fix
pnpm typecheck        # Type check

Contributing

See CONTRIBUTING.md for guidelines on adding new detectors and submitting changes.

License

Apache 2.0