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

@parmanasystems/verifier

v1.42.0

Published

Independent governance verification infrastructure for deterministic parmanasystems workflows.

Readme

@parmanasystems/verifier

Independent attestation verification for the parmanasystems governance runtime.

npm

Overview

@parmanasystems/verifier performs portable, independent verification of governance attestations. It has no trust dependency on the runtime that produced the attestation — any party with the signer's public key can verify.

Verification is a four-check process:

  1. Signature — the attestation was signed by the trusted governance key
  2. Runtime hash — the attestation was produced by the expected runtime version
  3. Schema compatibility — the schema version is supported by the runtime
  4. Governed — the governed: true field was in the signature scope (INV-008)

Installation

npm install @parmanasystems/verifier

Quick start

import { verifyAttestation } from "@parmanasystems/verifier";
import { getRuntimeManifest, LocalVerifier } from "@parmanasystems/execution";

const verifier = new LocalVerifier(publicKeyPem);
const manifest = getRuntimeManifest();

const result = verifyAttestation(attestation, verifier, manifest);

console.log(result.valid);
// true

console.log(result.checks);
// {
//   signature_verified: true,
//   runtime_verified:   true,
//   schema_compatible:  true,
//   governed:           true,
// }

API

verifyAttestation(attestation, verifier, manifest): VerificationResult

Runs all four checks and returns a structured result. valid is true only when all checks pass.

import { verifyAttestation } from "@parmanasystems/verifier";

const { valid, checks } = verifyAttestation(attestation, verifier, manifest);

verifyBundle(manifestPath, signaturePath): Promise<boolean>

Verifies a signed governance policy bundle — hash integrity and Ed25519 signature.

import { verifyBundle } from "@parmanasystems/verifier";

const ok = await verifyBundle(
  "./policies/claims-approval/v1/bundle.manifest.json",
  "./policies/claims-approval/v1/bundle.sig"
);

verifyRuntime(manifest1, manifest2): boolean

Compares two runtime manifests for equality.

verifyRuntimeCompatibility(manifest, requirements): boolean

Checks whether a runtime manifest satisfies a set of RuntimeRequirements (version + capabilities).

verifyExecutionRequirements(manifest, requirements): boolean

Checks whether a runtime manifest satisfies a set of execution-level requirements.

Types

VerificationResult

interface VerificationResult {
  valid: boolean;
  checks: {
    signature_verified: boolean;
    runtime_verified:   boolean;
    schema_compatible:  boolean;
    governed:           boolean;
  };
}

Independent verification

Verification is designed to run outside the production runtime with no network calls or service dependencies:

// In a separate process, auditor's environment, or third-party system:
import { verifyAttestation } from "@parmanasystems/verifier";

// All you need: the attestation, the public key, and the expected runtime manifest.
const result = verifyAttestation(attestation, verifier, manifest);

The Verifier interface accepts any implementation — LocalVerifier (Ed25519), custom AWS KMS verifiers, or any compatible implementation:

interface Verifier {
  verify(payload: string, signature: string): boolean;
}

License

Apache-2.0