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

@bolyra/evc-conformance

v0.7.0

Published

Bolyra-maintained EVC v1 host conformance vectors - prove any host implementation conforms with one command, no install

Readme

@bolyra/evc-conformance

Prove an External Verifier Contract v1 host conforms — one command, any language, no install.

npx @bolyra/evc-conformance --host "/path/to/your-host --flags"

Runs the 30 host_behavior vectors against your host: verifier spawning, timeout and output-bound enforcement, fail-closed handling of every misbehaving-verifier class, closed decision schema, and reserve-before-act nonce semantics. Exit 0 when everything passes, 1 on any failure — drops straight into CI.

npx @bolyra/evc-conformance                  # self-test the bundled reference host
npx @bolyra/evc-conformance --host "..." --json   # machine-readable result on stdout
npx @bolyra/evc-conformance --verifier "/path/to/your-verifier --flags"
                                                  # verifier_envelope: domain-agnostic
                                                  # wire-envelope vectors for the
                                                  # VERIFIER side (raw request on
                                                  # stdin, one closed verdict on
                                                  # stdout; no assumptions about
                                                  # bundle semantics)

The --json output includes the vector-set version, count, and SHA-256, so a CI run states exactly which vector set it passed.

What your host must do

Honor the Host-Under-Test convention: read the HUT_* environment variables, spawn the verifier named in HUT_VERIFIER_CMD, enforce the timeout and output bound, reserve nonces before acting, and emit exactly one decision object on stdout. The full pass path — contract summary, failure classes, troubleshooting, CI snippet — is spec/IMPLEMENTER.md; the normative contract is spec/external-verifier-contract-v1.md.

Provenance

These are the Bolyra-maintained EVC v1 host conformance vectors. Everything under vendor/ is a checksummed snapshot of the monorepo's spec/ directory (see MANIFEST.json); it is regenerated by npm run sync and verified by npm run sync:check in CI — never edited by hand. The full 112-vector suite (handshake, signature, Merkle, delegation) lives in the monorepo and tests the reference implementation, not your host.

If your host goes green, open an issue on bolyra/bolyra — we would like to know, and we will list it.

Testing §7.1 (internal_error must exit non-zero)

--verifier runs the 11 domain-agnostic verifier_envelope vectors. Those cannot reach §7.1's exit-code rule: no request portably induces internal_error in a correct verifier, so a verifier can violate §7.1 on every internal_error path and still score 11/11.

The inducer is a config fault — corrupt the verifier's own trust configuration, then send a request it would otherwise answer. Select that vector explicitly and supply the implementation-specific setup:

VERIFIER_FAULT_CMD="<corrupt your trust config>" \
VERIFIER_FAULT_UNDO_CMD="<restore it>" \
VERIFIER_VALID_REQUEST=./a-request-your-verifier-allows.json \
npx @bolyra/evc-conformance --verifier "<your verifier>" \
  --vector verifier-config-fault-internal-error-exits-non-zero

The suite cannot supply VERIFIER_VALID_REQUEST: the trust check runs after root recovery, so the request must carry a chain that actually verifies, and the bundle is opaque per spec. Each implementation supplies its own.

Not failures: missing hooks SKIP, and a deny carrying a code other than internal_error SKIPs — nothing obliges every verifier to classify a config fault that way, so it is neither a failure nor exercised §7.1 coverage. An allow under the fault always fails: a trust source that is present but unusable must never silently disable trust enforcement.