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

agentsec

v0.1.1

Published

Security auditing CLI for AI agent skills — OWASP Agentic Skills Top 10 (AST10)

Downloads

275

Readme


agentsec is a zero-config CLI that audits every skill your AI agent runs — against the OWASP Agentic Skills Top 10. It supports Claude Code, OpenClaw, Codex, and more.

One command. Full security report. No sign-up.

Quick Start

npx agentsec

Scans your current directory, finds every installed skill, and tells you what's dangerous.

Example Output

  ✔ Found 6 skills

  ✔ fetch-data     v1.0.0  D (42)
  ✔ deploy-helper  v2.3.0  C (68)
  ✔ code-review    v1.1.0  A (95)
  ✔ summarize-docs v0.9.0  A (91)
  ✔ db-migrate     v1.4.2  B (78)
  ✔ lint-fix       v2.0.0  A (93)

  6 skills scanned  •  avg score 78  •  4 certified
  Findings: 2 critical, 1 high, 2 medium

  ⚠ WARN  3 high/critical finding(s) detected
  Run with --verbose for detailed findings and recommendations.

Installation

# Run ad-hoc (recommended)
npx agentsec

# Or install globally
npm install -g agentsec
bun install -g agentsec

Commands

# Audit current directory (auto-detects agent skills)
agentsec

# Show detailed findings, score breakdowns, and recommendations
agentsec --verbose

# Scan a specific path
agentsec scan --path ./my-project

# Apply a policy preset
agentsec audit --policy strict
agentsec audit --policy enterprise

# Pick a platform (openclaw | claude | codex)
agentsec --platform claude

# Output formats: text | json | sarif | html
agentsec --format json --output audit.json
agentsec --format sarif --output audit.sarif
agentsec --format html --output report.html

# Generate a report from a saved JSON audit
agentsec report audit.json --format html --output report.html

# Inspect policy presets
agentsec policy list

Run agentsec help for the full option reference.

OWASP Agentic Skills Top 10

Every scan checks all 10 risk categories from the OWASP AST10:

| ID | Risk | What We Detect | | --------- | ----------------------- | ------------------------------------------------------- | | AST01 | Malicious Skills | Dangerous code patterns, known-malicious signatures | | AST02 | Supply Chain Compromise | Dependency provenance, transparency log gaps | | AST03 | Over-Privileged Skills | Excessive permission grants, least-privilege violations | | AST04 | Insecure Metadata | Schema validation failures, metadata integrity issues | | AST05 | Unsafe Deserialization | Parser safety gaps, injection vectors | | AST06 | Weak Isolation | Missing sandboxing, container misconfigurations | | AST07 | Update Drift | Unpinned versions, stale dependencies, hash mismatches | | AST08 | Poor Scanning | Coverage gaps, incomplete scanning pipelines | | AST09 | No Governance | Missing audit logs, absent policy enforcement | | AST10 | Cross-Platform Reuse | Platform-specific validation gaps, portability issues |

Supported Agent Platforms

  • Claude Code — scans installed skills and MCP servers
  • OpenClaw — full SKILL.md manifest analysis
  • Codex — skill and plugin scanning
  • More platforms coming soon

Output Formats

| Format | Flag | Best For | | ------ | ---------------- | ------------------------------------- | | Text | --format text | Terminal, human-readable (default) | | JSON | --format json | CI pipelines, programmatic processing | | SARIF | --format sarif | VS Code, GitHub Code Scanning | | HTML | --format html | Stakeholder reports, dashboards |

CI/CD Integration

Fail your build when a scan finds high-severity issues:

# Exit 1 on any high or critical finding
agentsec audit --policy strict --format sarif --output audit.sarif

Upload the resulting SARIF to GitHub Code Scanning to track findings over time.

Requirements

  • Bun >= 1.0.0 — the CLI is built and distributed as a Bun bundle.

Links

License

MIT © AgentSec Contributors