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

clawndom

v1.0.0

Published

Security hook for Claude Code. Checks packages against known vulnerabilities before install.

Readme

clawndom

Security hook for Claude Code. Checks every package your agent installs against the OSV.dev vulnerability database. Clean packages pass through. Packages with known vulnerabilities get blocked.

Zero dependencies. Uses only Node.js built-ins.

Setup

npm install -g clawndom
clawndom init

Done. The hook is active for all future Claude Code sessions.

init adds a PreToolUse hook to ~/.claude/settings.json. This tells Claude Code to run clawndom before every Bash command. clawndom checks if the command installs packages — if it does, each package is verified against OSV.dev before the command executes.

No other files are modified. The allowlist and config are stored in ~/.clawndom/.

When a package gets blocked

clawndom tells the agent why. If you've reviewed the package and it's fine:

clawndom allow <package>           # allow all versions
clawndom allow <package>@1.2.3     # allow a specific version
clawndom disallow <package>        # remove from allowlist
clawndom allowlist                 # see what's allowed

What it covers

The hook intercepts npm install, yarn add, pnpm add, npx, and npm create. Each package is checked against OSV.dev before the command runs. If a package has known vulnerabilities and isn't on your allowlist, the install is denied.

Configuration

clawndom config                    # show current config
clawndom config enabled false      # disable clawndom without uninstalling
clawndom config enabled true       # re-enable

Limitations

  • Zero-day gap — Only catches vulnerabilities already reported to OSV.dev.
  • No typosquatting detection — Doesn't catch expresss as a typosquat of express.
  • No dependency confusion — Checks the named package, not private registry hijacking.
  • No code analysis — Doesn't inspect what the package does. A clean record doesn't mean safe code.
  • Fail-closed — If OSV.dev is unreachable, installs are blocked. Run clawndom config enabled false to temporarily disable if needed.

For deeper protection, consider Socket.dev. clawndom is not affiliated with Socket.dev or OSV.dev.

Uninstall

clawndom uninstall
npm uninstall -g clawndom

clawndom uninstall removes the hook from ~/.claude/settings.json and deletes ~/.clawndom/ (allowlist and config). Then npm uninstall -g removes the package itself. Clean uninstall, nothing left behind.

Requirements

Node 18+.

License

MIT