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

@gridseal/core

v0.1.1

Published

Tamper-evident, cryptographically verifiable audit trail for AI decisions

Readme

GridSeal

Tamper-evident, cryptographically verifiable audit trail for AI systems.

Why

AI systems make decisions that affect people, from loan approvals to medical recommendations to government benefits. Regulations are arriving: the EU AI Act (Article 12 record-keeping, August 2026), Colorado SB-205, NIST AI RMF, and HIPAA audit controls. Organizations need proof of what their AI did, why it did it, and whether a human reviewed it. GridSeal provides that proof as a SHA-256 hash-chained, append-only log that is cryptographically verifiable and impossible to silently tamper with.

Who this is for

Government agencies deploying AI for public services need audit trails for accountability and FOIA compliance. Financial services using AI for lending and fraud detection need records for fair lending laws and examiner reviews. Healthcare organizations using AI for diagnostics need HIPAA audit controls. Any company shipping AI products in the EU after August 2026 needs Article 12 record-keeping. Platform companies building multi-agent systems need provenance tracking across agent delegation chains.

What it does

  • Hash-chained entries - 24-field proof chain entries (3 tiers: core integrity, AI decision context, compliance metadata) linked by SHA-256 hashes
  • Chain validation - verify full chains, subtrees, or single entries; detects tampering at the exact position
  • Reasoning certificates - structured records of AI reasoning: premises, trace steps, conclusions, confidence assessments, unsupported claims
  • Compliance auto-tagging - automatic mapping of entries to regulatory requirements (Colorado SB-205, EU AI Act, NIST AI RMF, HIPAA)
  • Model provenance - AIBOM records compatible with CycloneDX ML-BOM, tracking model identity, training data, and performance metrics
  • Storage adapters - in-memory and SQLite adapters included, with a pluggable adapter interface
  • SDK wrappers - drop-in wrappers for OpenAI, Anthropic, generic HTTP, MCP tool calls, LangGraph, and CrewAI that auto-capture audit entries
  • Compliance reports - generate regulation-specific reports with gap analysis from chain data

Install

npm install @gridseal/core

For SDK wrappers that auto-capture AI provider calls:

npm install @gridseal/sdk-node

Usage

Core: create a chain and append entries

import {
  createChain,
  appendEntry,
  validateChain,
} from "@gridseal/core";

const chain = createChain("audit-chain-001");

const result = appendEntry(chain, {
  entryId: crypto.randomUUID(),
  timestamp: new Date().toISOString(),
  entryType: "model-inference",
  modelId: "gpt-4o",
  inputHash: "a1b2c3...",
  outputHash: "d4e5f6...",
  decisionType: "classification",
});

if (result.ok) {
  const { chain: updated, entry } = result.value;
  console.log(entry.entryHash); // SHA-256 hash of the entry
  console.log(entry.previousHash); // links to prior entry

  // Validate the entire chain
  const valid = validateChain(updated);
  if (!valid.ok) {
    console.error(valid.error); // reports exact position of tampering
  }
}

SDK: wrap an OpenAI client

import { wrapOpenAI } from "@gridseal/sdk-node";
import { createInMemoryAdapter } from "@gridseal/core";
import OpenAI from "openai";

const gridseal = wrapOpenAI({
  client: new OpenAI(),
  chainId: "session-001",
  storage: createInMemoryAdapter(),
});

const result = await gridseal.createCompletion({
  messages: [{ role: "user", content: "Evaluate this loan application." }],
  model: "gpt-4o",
  decisionType: "approval-denial",
});

if (result.ok) {
  const { completion, entryId } = result.value;
  // completion: standard OpenAI ChatCompletion
  // entryId: ID of the audit entry in the proof chain
}

Requirements

Node.js >= 22. Uses native crypto module for SHA-256 hashing, no third-party crypto dependencies.

License

AGPL-3.0-only