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

arkna-verify

v0.2.1

Published

CLI to independently verify an ARKNA evidence bundle. Recomputes the SHA-256 step hash chain offline. No server access required.

Downloads

454

Readme

arkna-verify

Independent verifier for ARKNA evidence bundles.

This CLI takes an ARKNA evidence bundle (zip) and confirms:

  1. The bundle contains all required files
  2. Every step's step_hash re-computes correctly from its inputs
  3. The hash chain is unbroken (each step's prev_hash matches the previous step's step_hash)
  4. The attestation chain_root_current matches the chain derived from the bundle's runs
  5. Optional anchors (RFC 3161 timestamp, transparency log) are present and consistent

It is pure-JS, offline, and does not contact ARKNA servers. The point is that any third party — a regulator, an auditor, an investigative journalist — can verify an ARKNA-produced evidence bundle without trusting ARKNA.

Install

# One-shot
npx arkna-verify path/to/bundle.zip

# Or globally
npm install -g arkna-verify
arkna-verify path/to/bundle.zip

Exit codes

| Code | Meaning | |---|---| | 0 | PASS — chain integrity verified (warnings allowed) | | 1 | FAIL — at least one error | | 2 | usage / IO error (bundle not found, not a zip, etc.) |

What it checks

| Check | Severity if failed | |---|---| | All required files present in zip | ERROR | | manifest.json parses as JSON | ERROR | | chain-proof.json parses as JSON | ERROR | | Manifest attestation_reference matches chain proof | ERROR | | Each step prev_hash correctly chains | ERROR | | Each step step_hash re-computes correctly | ERROR | | Each run's chain_hash matches its final step's hash | ERROR | | Attestation chain_root_current matches re-computed root | ERROR | | RFC 3161 timestamp present | WARNING | | Transparency log entry present | WARNING |

Hash algorithm

Each step's step_hash is computed as:

canonicalInput   = step.input ?? ''
canonicalPayload = JSON.stringify({
  run_id:    step.run_id,
  sequence:  step.sequence,
  step_type: step.step_type,
  input:     canonicalInput,
  prev_hash: step.prev_hash ?? ''
})
step_hash        = SHA-256(canonicalPayload) hex

This formula is byte-identical across the ARKNA backend, the Node SDK, the Python SDK, the attestation CLI, the browser-side /verify/{ref} ChainWalker, and this CLI. Drift is caught by step-hash-parity.test.ts.

License

MIT.