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

@ailu-ai/verify

v2.7.4

Published

Offline, independent verifier for an Ailu Certificate of Execution — re-checks the Ed25519 signature, walks the attestation chain, AND re-derives the run from the capsule alone. `npx @ailu-ai/verify capsule.json`.

Readme

@ailu-ai/verify

Offline, independent verifier for an Ailu Certificate of Execution — the signed audit-export bundle (GET /runs/:id/audit-export). It re-checks everything from the capsule alone: no control plane, no trust in the issuer.

npx @ailu-ai/verify capsule.json
# pin the signing key you obtained out-of-band (recommended):
npx @ailu-ai/verify capsule.json --key <base64-spki-public-key>

Three independent checks:

  1. signature — Ed25519 over sha256(bundle − signature) against the embedded key.
  2. chain — the approval attestation chain is hash-linked and every signature is valid.
  3. replay — the run is re-derived on the OSS engine from the embedded { graph, entryState, journal } and must reach the same attested decisions, in order: the tool calls its agents ask for, then the human gate where it stops (replayedDecisions from @ailu-ai/graph-sdk). Don't trust us — re-run it yourself.

Three verdicts, three exit codes (since 2.7.4):

| Verdict | Exit | Means | |---|---|---| | ✓ VERIFIED | 0 | Every check passed and the capsule is signed by the key you pinned with --key. | | ◐ INTACT | 3 | Every check that could run passed, but something is not proven: without --key, the origin; without reproduction data in a capsule that attests no decision, the run (nothing re-derived). | | ✗ NOT VERIFIED | 1 | A check failed — including replay missing: signed decisions and no reproduction data to re-derive them. |

Exit code 2 is a usage error or an unreadable capsule (--key without a value included).

Trust anchor. Without --key, the signature is verified against the key inside the capsule, and anyone can sign a capsule — and its attestation chain — with their own key. Such a capsule is therefore never VERIFIED: it reads INTACT — origin not proven (exit 3). Pass --key with the key the issuer publishes (its JWKS), obtained out of band, to get VERIFIED. Before 2.7.4 an unpinned capsule whose checks passed read VERIFIED (exit 0).

Library use:

import { verifyCapsule } from "@ailu-ai/verify";
const result = await verifyCapsule(capsule, { expectedPublicKey });
// → { signatureValid, keyPinned, chainValid, replayValid, reproducible, verdict, ok, notes }
// verdict: "verified" | "intact" | "not-verified"; ok === (verdict === "verified")

The replay leg needs the native engine (@ailu-ai/napi, pulled transitively) for your platform.

What VERIFIED does and does not say

VERIFIED means: the capsule is signed by the key you pinned, its attestation chain is intact, and re-running the run from the capsule reaches the same decisions the signed links name, in order — for a human gate, « the replay stops at gate X and a signed link names gate X ». It does not mean « gate X was approved according to its quorum ». In particular:

  • One key signs everything. Every attestation record must be signed by the pinned key, or without --key by the key that signs the capsule; a record signed by any other key fails chain.

  • The replay starts at the graph's entry node. A capsule whose entry state starts elsewhere is NOT VERIFIED: the replay would skip part of the run.

  • The replay calls no LLM provider and needs no key — but it may reach the services your environment configures. With AILU_PII_REDACTOR_URL, AILU_SECRETS_REDACTOR_URL, AILU_LLMLINGUA_URL or AILU_RERANK_ENDPOINT set, a replay of a graph that uses that service sends it the capsule's content; the capsule does not pin the service, and it shapes what the replay reproduces. The verifier warns on stderr and adds replay may reach: <VARIABLE> to notes (printed by the CLI): a VERIFIED that carries such a note may depend on that service. Verify offline with env -i.

  • No replay while AILU_FS_BACKEND_URL is set. An fs-enabled agent's file tools are native — the journal does not serve them — so a replay would write the capsule's content to that backend. With it set (any value but the empty string, as the engine reads it — whitespace only counts as set) and a replay planned (the capsule carries its reproduction and starts at the graph's entry node), the verifier does not replay: it warns on stderr, notes refused: AILU_FS_BACKEND_URL is set — unset it (env -i) for an offline verification, and the capsule reads NOT VERIFIED (exit 1), its signature, key and chain still reported. With no replay planned the variable is ignored: the verdict is the one the capsule earns without it.

  • The decision's status is not compared. A replay cannot reproduce a human's choice, so the replay check ignores approved / rejected: a chain with a rejected link then an approved link for the same request verifies. Read the signed links themselves for who decided what.

  • A partial signature counts as a decision. Links carry no kind and no required signature count, so the verifier cannot tell a quorum's intermediate signature from a resolution, nor check that a quorum was reached. Several links of the same request (same run, request id, subject and call) count as one decision; a link that signs another subject or call under the same request id is a decision of its own and must be reproduced.