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

@sealedkeys/scan

v0.1.1

Published

Blocks commits containing secrets. By SealedKeys.

Readme

@sealedkeys/scan

Blocks commits containing secrets. One command to install. Zero false positives on process.env.

npm install --save-dev @sealedkeys/scan
npx sealedkeys-scan install

That's it. Every commit in this repo is now checked before it goes anywhere.


What it catches

| Secret type | Example match | |---|---| | AWS Access Key | AKIA••••••••MPLE | | Stripe secret key | sk_live_••••••••3456 | | GitHub token | ghp_••••••••6789 | | SSH private key | -----BEGIN RSA PRIVATE KEY----- | | Google API key | AIza•••••••••••• | | Slack webhook | hooks.slack.com/services/T•••• | | Twilio key | SK•••••••••••••• | | SendGrid key | SG.•••••••••••• | | Database URL with password | postgres://user:••••@host | | Generic API key assignment | api_key = "••••••••" | | .pem / .key files | blocked by extension | | .env files | blocked by filename |

Safe values — process.env.API_KEY, os.environ.get(...), template literals — are allowlisted automatically.


What it looks like

🔴 SealedKeys Scan blocked this commit

  ✗ src/config.js (line 14)
    Stripe Secret Key: sk_l••••••••3456

  ✗ deploy/keys/id_rsa — blocked extension: .pem

2 issues found. Remove secrets before committing — store them in your vault instead.

  Store secrets securely: https://sealedkeys.com
  False positive? Add the path to .sealedkeysscanignore

The commit is blocked. Exit code 1.


Ignore false positives

Create .sealedkeysscanignore in your repo root:

# One path or pattern per line
tests/fixtures/
mocks/fake-credentials.js

Commands

npx sealedkeys-scan install     # Install pre-commit hook
npx sealedkeys-scan uninstall   # Remove the hook
npx sealedkeys-scan check       # Run manually on staged files
npx sealedkeys-scan --help

How it works

  1. Runs as a git pre-commit hook — before every git commit
  2. Gets staged files via git diff --cached --name-only
  3. Reads staged content via git show :<file> — checks exactly what's being committed, not your working directory
  4. Runs 18 regex patterns against each line
  5. Exits 1 (blocks commit) if anything is found

Zero network calls. Fully offline. Adds under 200ms to your commit.


Store secrets properly

SealedKeys Scan tells you when a secret is in the wrong place.
SealedKeys gives your team somewhere safe to put it instead.

Zero-knowledge vault for passwords, API keys and SSH keys. Scan is included free with every Pro plan.

sealedkeys.com


License

MIT