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

@veritasacta/verify

v0.2.0

Published

CLI tool to verify signed artifacts (receipts, manifests, tickets). Works offline.

Readme

@veritasacta/verify

Verify signed artifacts offline. No accounts. No API calls. No ScopeBlind dependency.

MIT licensed. Works offline. Requires zero trust in ScopeBlind or anyone else.

Prove It

npx @veritasacta/verify --self-test
@veritasacta/verify — self-test

  ✓ Sample receipt: VALID  (decision_receipt, kid: kPrK_qmx...)
  ✓ Sample bundle:  VALID  (3/3 receipts)

  All self-tests passed. The verifier is working correctly.
  No ScopeBlind servers were contacted. No accounts required.

That's it. The verifier works. Now verify your own receipts:

Usage

# Verify a receipt with a known public key
npx @veritasacta/verify receipt.json --key d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a

# Verify a receipt, fetching key from JWKS
npx @veritasacta/verify receipt.json --jwks https://example.com/.well-known/jwks.json

# Verify an audit bundle (receipts + embedded keys)
npx @veritasacta/verify bundle.json --bundle

# Read from stdin (for piping)
cat receipt.json | npx @veritasacta/verify --stdin

# Machine-readable output (for CI/scripting)
npx @veritasacta/verify receipt.json --key <hex> --json

What Gets Verified

The verifier:

  1. Strips the signature field from the artifact
  2. Canonicalizes the remaining JSON (sorted keys, deterministic — JCS-style)
  3. SHA-256 hashes the canonical bytes
  4. Verifies the Ed25519 signature against the hash using the public key

If the signature is valid, the artifact has not been tampered with since signing.

Supported Formats

| Format | Detection | |--------|-----------| | v2 artifact | { v: 2, type, algorithm, kid, signature, ... } | | v1 artifact | { algorithm, signature, hash, ... } | | Passport SignedEnvelope | { payload, signature: { alg, kid, sig } } | | Audit bundle | { receipts: [...], verification: { signing_keys: [...] } } |

Options

| Flag | Description | |------|-------------| | --key, -k <hex> | Ed25519 public key (64 hex chars) | | --jwks <url> | JWKS endpoint URL for key discovery | | --bundle | Verify all receipts in an audit bundle | | --stdin | Read artifact from stdin | | --json | Machine-readable JSON output | | --verbose, -v | Show detailed verification info | | --self-test | Verify bundled sample artifacts | | --help, -h | Show help |

Exit Codes

  • 0 — signature valid (all artifacts valid for bundles)
  • 1 — signature invalid, missing key, or error

Where Do Receipts Come From?

Receipts are generated by protect-mcp, which wraps MCP tool servers and signs every decision (allow, deny, rate-limit, require_approval) as a v2 artifact.

# Generate receipts
npx protect-mcp --policy policy.json -- node your-mcp-server.js

# Later, verify them
npx @veritasacta/verify receipt.json --key <gateway-public-key>

Conformance Testing

# Run the full conformance test suite (20 tests)
npm test

Tests verify:

  • All known test vectors pass (4 vectors with hash match)
  • Tampered artifacts are correctly rejected
  • Wrong public keys are correctly rejected
  • Sample receipt and bundle verify
  • Format detection works

Why Trust This?

  • MIT licensed — no restrictions, no vendor lock-in
  • Open schemas — the artifact format is public
  • Test vectors — deterministic keypairs with known-good signatures
  • Works offline — no API calls, no accounts, no ScopeBlind servers
  • Verification is independent — you don't need to trust ScopeBlind

Any platform can log what its agents do. Very few will let you verify those logs without trusting them.

License

MIT — veritasacta.com