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

@minerva-ia/verify-proof

v0.1.0

Published

Offline verifier for Minerva Compliance Proof PDFs. Validates the embedded audit ledger chain against the public Minerva JWKS.

Readme

@minerva-ia/verify-proof

Offline verifier for Minerva Compliance Proof PDFs.

Every action a Minerva tenant performs through the chat assistant is appended to a per-tenant cryptographic ledger: each entry contains a SHA-256 hash chain back to the previous one and an ECDSA P-256 (JWS ES256) signature produced by a key held in Azure Key Vault. The signing private key never leaves the vault.

When an MSP exports a "Compliance Proof" PDF for a conversation, the raw ledger entries are embedded in the PDF as a JSON attachment. This package lets an external auditor — without trusting Minerva — replay the chain and verify every signature against Minerva's published JWKS.

Install / use

No install needed:

npx @minerva-ia/verify-proof ./minerva-proof-<conversationId>.pdf

Or install globally:

npm i -g @minerva-ia/verify-proof
minerva-ia-verify-proof ./proof.pdf

Output

A green "Chain valid" means every entry hashes to its predecessor and every signature verifies under the public key whose kid equals the entry's keyVersion. Any tampering, gap, or signature break is reported with its sequence number:

Minerva Compliance Proof — VALID
  Tenant      : Acme Corp (00000000-0000-0000-0000-000000000001)
  Sequence    : 0 -> 47
  Entries     : 48
  Public keys : https://app.minerva.example/.well-known/jwks.json

Chain valid — every signature verifies under the published Minerva public keys.

Flags

--jwks <url>   Override the JWKS URL embedded in the PDF.
--json         Print the machine-readable verification report on stdout.
-h, --help     Show help.

Exit codes

| Code | Meaning | |------|------------------------------------------| | 0 | Chain valid, every signature verifies. | | 1 | At least one chain break or sig failure. | | 2 | Usage or I/O error. |

What the verifier checks

  1. Sequence monotonicityentry[i].sequence === entry[i-1].sequence + 1.
  2. Chain pointerentry[i].prevHash === entry[i-1].entryHash (or '' for the genesis entry of the tenant).
  3. Entry hashsha256(prevHash || canonicalJson(entryWithoutSig)) matches the persisted entryHash.
  4. Signature — ES256 verify of sha256(canonicalJson) under the public key whose kid matches entry.keyVersion.

The canonicalization is RFC 8785 (JSON Canonicalization Scheme).

What the verifier does NOT do (yet)

  • Truncation detection. A complete-and-consistent slice could omit the most recent entries. A future Minerva version will anchor each batch to a public log (Sigstore Rekor) and the verifier will check inclusion proofs.
  • Time-stamping. Entries carry an RFC 3161 TimeStampResponse field (tsr) for server-vouched ordering. Future versions will validate it against a trusted TSA cert.

License

MIT