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

@deepwissen/vet

v0.1.17

Published

vet — scan what your AI agent is about to touch (secrets, trap files, risky tool configs) before you open the PR. Local, detect-and-explain only.

Readme

vet

Scan what your AI agent is about to touch — before you open the PR.

vet in action

vet is a local, pre-PR security gate for AI-assisted development. It inspects your changed files for the things that bite agentic workflows:

  • 🔑 Secrets — hardcoded credentials, with a louder flag for long-lived / non-expiring ones
  • 🪤 Trap files — safe to read, not safe to auto-process: unsafe deserialization (pickle/torch/yaml.load…) and data-file traps (template expressions, external reference:// payloads)
  • 🤖 Excessive agency (OWASP LLM06) — agent configs that let the AI act without you: Bash(*), --dangerously-skip-permissions, auto-approve-execute, across Claude Code, MCP, Cline/Roo, Aider, Codex, Continue
  • 🧩 Tool-config risk — MCP configs with embedded secrets, prompt-injected tool descriptions, over-broad auto-approve grants, or unpinned (supply-chain-risky) servers
  • 📏 Instruction-file integrity — hidden unicode, bidi overrides, prompt injection, LLM role-tag spoofing in CLAUDE.md / .cursorrules / copilot instructions / prompt files

All analysis is local and detect-and-explain only — vet never modifies your files and never sends anything anywhere. It's the same engine behind the AI Preflight VS Code extension (@deepwissen/preflight-core).

Install

npx @deepwissen/vet            # run without installing
npm i -g @deepwissen/vet       # or install the `vet` command

The detection rules live in @deepwissen/preflight-core, pulled in automatically. vet --version shows both so you can confirm which engine you're on:

$ vet --version
0.1.14 (engine @deepwissen/preflight-core 0.1.30)

Getting an old version from npx? npx caches installs and may reuse a stale one even with @latest. Pin the exact version npx @deepwissen/[email protected], or npx --ignore-existing @deepwissen/vet, or clear the cache with rm -rf ~/.npm/_npx. Run vet --version to confirm the engine version updated.

Trust & safety

vet asks for read access to your codebase, so here's what it does and doesn't do — every point is checkable, not just claimed:

  • Runs entirely locally — no network, no telemetry. It opens no sockets and sends nothing anywhere: not your code, not the findings. Verify it: run vet with your network off, or watch it with your firewall / lsof — you'll see zero connections.
  • Read-only. Scanning never modifies your files. The only command that writes is vet canary, and only when you run it explicitly — it creates a local, clearly labelled fake-credential file and reverses everything with vet canary --cleanup.
  • No install scripts. Installing vet runs no preinstall/postinstall hooks — nothing executes until you invoke the command yourself.
  • Zero third-party dependencies. vet pulls only its own first-party engine (@deepwissen/preflight-core), which itself has none — so there's no transitive tree of other people's code to trust. Check: npm view @deepwissen/vet dependencies.
  • Open source and inspectable. The code is public (vet, engine) and the npm package is a small dist/ bundle you can read: npm pack @deepwissen/vet.
  • No known vulnerabilities in Snyk's database (independently indexed).

And it never tells you you're "safe" — a clean scan means nothing was found, not that nothing is there. vet surfaces candidates to review, each with a reason and a fix.

Usage

vet                    # scan git staged changes (default)
vet --since main       # scan files changed since a ref
vet src/ config/       # scan specific files/dirs
vet --json             # machine-readable JSON
vet --sarif            # SARIF 2.1.0 → GitHub code scanning annotations
vet --fail-on any      # fail on any finding (default: error — real exposures only)
vet --history          # scan git history — catch secrets added in past commits,
                       #   even if later deleted (bound with --since <ref>)
vet canary             # runtime test: does your agent read ignored files?

Exit codes: 0 clean · 1 findings at/above --fail-on · 2 usage/error.

vet canary — the runtime test scanning can't do

Ignore files (.cursorignore, .claudeignore, …) are best-effort requests, not walls. vet canary writes a clearly-fake, local-only credential to an ignored path, then you ask your agent a general question without naming the file — if the token shows up, your ignore rules didn't stop it. vet canary --check searches locally for leaks; vet canary --cleanup reverses everything. See COMMANDS.md.

In CI (fail the PR on findings)

- run: npx @deepwissen/vet --since origin/main --sarif > vet.sarif
- uses: github/codeql-action/upload-sarif@v3
  with: { sarif_file: vet.sarif }

Pre-commit hook

# .husky/pre-commit
npx @deepwissen/vet --staged --fail-on any