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.98.56

Published

Independent deterministic verification infrastructure for replay-safe governance execution, runtime provenance continuity, cryptographic attestations, release lineage validation, and portable trust reconstruction.

Readme

@parmanasystems/verifier

Independent governance verification. Given an ExecutionAttestation and a public key, verifyAttestation recomputes the canonical attestation payload and checks the Ed25519 signature without contacting any server or database. The package also verifies policy bundle manifests, runtime manifest signatures, schema compatibility, and execution requirement constraints. All verification is portable: it runs in any clean-room environment that has access to the attestation and the public key.


Public API

/**
 * Verify an ExecutionAttestation signature and structural integrity.
 * Re-canonicalizes the attestation payload and checks the Ed25519 signature.
 * Returns VerificationResult with valid: boolean and per-check details.
 */
async function verifyAttestation(
  attestation: ExecutionAttestation,
  publicKey: string
): Promise<VerificationResult>

/**
 * Verify an attestation in governed mode: includes runtime manifest verification
 * and schema compatibility checks in addition to signature verification.
 */
async function verifyAttestationGoverned(
  attestation: ExecutionAttestation,
  options: {
    verifier: Verifier;
    runtimeManifest: RuntimeManifest;
    runtimeEnvironment: RuntimeEnvironment;
  }
): Promise<OperationalVerificationResult>

/**
 * Verify a policy bundle manifest and its signature.
 * Checks that all artifact hashes match and the manifest signature is valid.
 */
async function verifyBundle(
  manifestPath: string,
  signaturePath: string,
  publicKey: string
): Promise<BundleVerificationResult>

/**
 * Verify a runtime manifest signature.
 * Returns OperationalVerificationResult indicating whether the runtime is trusted.
 */
async function verifyRuntime(
  runtimeManifest: RuntimeManifest,
  signature: string,
  verifier: Verifier
): Promise<OperationalVerificationResult>

/**
 * Check that the runtime manifest satisfies the execution requirements
 * declared by a policy bundle (supported runtime versions, schema versions).
 */
function verifyRuntimeCompatibility(
  runtimeManifest: RuntimeManifest,
  requirements: RuntimeRequirements
): RuntimeCompatibilityResult

/**
 * Validate that a set of execution requirements is satisfiable by the current runtime.
 */
function verifyExecutionRequirements(
  requirements: RuntimeRequirements,
  runtimeManifest: RuntimeManifest
): VerificationResult

// ── Types ───────────────────────────────────────────────────────────────────

interface VerificationResult {
  valid: boolean;
  errors?: VerificationError[];
}

interface OperationalVerificationResult {
  valid: boolean;
  checks: {
    signature_verified: "verified" | "failed" | "unknown";
    runtime_verified: "verified" | "failed" | "unknown";
    schema_compatible: "verified" | "failed" | "unknown";
  };
}

interface BundleVerificationResult {
  valid: boolean;
  manifestValid: boolean;
  signatureValid: boolean;
}

interface RuntimeCompatibilityResult {
  compatible: boolean;
  unsupportedRuntimeVersions: string[];
  unsupportedSchemaVersions: string[];
}

interface VerificationError {
  code: VerificationErrorCode;
  message: string;
}

type VerificationErrorCode = string
type VerificationMode = "strict" | "lenient"
type SignatureStatus = "verified" | "failed" | "unknown"

interface VerifierConfig {
  mode?: VerificationMode;
  publicKey?: string;
}

interface ProvenanceVerificationInput {
  attestation: ExecutionAttestation;
  expectedProvenance?: Partial<ExecutionAttestation["provenance"]>;
}

Environment variables

None. Verification is stateless and offline.


Package wiring

@parmanasystems/verifier depends on @parmanasystems/execution (for ExecutionAttestation type and canonicalizeAttestation) and @parmanasystems/canonical. The server's POST /verify route calls verifyAttestationGoverned with the runtime's verifier instance. @parmanasystems/audit-db imports OperationalVerificationResult from this package to type the recordVerification input. @parmanasystems/core re-exports the full verification surface.