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

@primust/verifier

v2.0.1

Published

Offline and CLI verifier for Primust Governed-Execution Credentials. Free forever. No account required.

Readme

@primust/verifier

Offline TypeScript verifier and relying-party evaluator for Primust Governed-Execution Credentials and Action Clearances.

pnpm add @primust/verifier

The package ships two CLIs:

  • primust-verify <artifact.json> verifies artifact structure, commitments, and signatures.
  • primust-rely <requirement.yaml> <clearance.json> --revocation-snapshot <path> evaluates a relying party's declared requirement and fails closed.

Action Clearance revocation

Revocation facts are never trusted from the clearance or fetched implicitly. The caller supplies an independently authenticated action-clearance-revocation-snapshot/1 with ordered RFC3339 generated_at/expires_at timestamps, coverage_scope: global_per_covered_key, a non-empty covered_key_fingerprints array, and the three revocation arrays: revoked_clearance_ids, revoked_key_ids, and revoked_key_fingerprints.

Every fingerprint is sha256:<64 lowercase hex> over an exact raw 32-byte Ed25519 public key. A producer that marks a snapshot checked MUST include every revocation for every clearance signed by each covered key. Tenant-filtered or otherwise partial feeds are forbidden under this schema; future scoped feeds require a new schema bound to a load-bearing clearance scope. A checked snapshot is usable only if covered_key_fingerprints includes the fingerprint of the exact issuer key that verified the clearance. A snapshot for another trust domain remains unknown and cannot satisfy primust-rely.

Known matching revocations are monotonic even outside the snapshot time window. A clean result requires a current, correctly scoped snapshot.

Producer and authentication boundary

Version 2.0 ships the consumer contract, not a platform snapshot publisher. The Primust API in this candidate does not expose a route or signed file that can be treated as an authenticated action-clearance-revocation-snapshot/1. Do not trust arbitrary JSON merely because it came from a request, a clearance, or a TLS endpoint. Until a separately pinned producer or signed wrapper is ratified and provisioned, primust-rely is expected to fail closed with an unknown revocation state.

2.0 breaking-change and migration note

Version 2.0 introduces the fail-closed revocation contract. Snapshot producers must include coverage_scope: global_per_covered_key and covered_key_fingerprints. primust-rely now emits record_type: reliance-decision/2, which adds the mandatory revocation_checked check and revocation verification fields.

This is a major release because a reliance call that previously returned satisfied now returns unsatisfied until the caller supplies an independently authenticated, current snapshot that covers the verified issuer key. The snapshot option remains syntactically optional so structural-verification callers can upgrade without inventing revocation facts; it is semantically mandatory for a successful primust-rely decision. Consumers that parse reliance-decision/1 must add /2 support before upgrading.

primust-verify deliberately reports structural validity separately from reliance readiness: a correctly signed clearance may exit 0 while its revocation status is unknown_*. Use primust-rely for the authorization decision; it exits 0 only when revocation is checked_not_revoked and all requirements pass.

Apache-2.0.