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

@aivoralabs/agenttrail-cli

v0.1.3

Published

CLI for AgentTrail audit receipt verification

Readme

@aivoralabs/agenttrail-cli

npm version License: MIT EU AI Act

Standalone CLI auditor tool for AgentTrail. 0 dependencies. 100% offline.

Verify chain integrity, check Ed25519 signatures, and generate HTML/JSON audit reports — no server required.

Part of the AgentTrail monorepo.


Installation

# Global install (recommended for auditors)
npm install -g @aivoralabs/agenttrail-cli

# Or run without installing
npx @aivoralabs/agenttrail-cli verify audit-log.jsonl

# When installed globally
audit-receipt verify audit-log.jsonl

Commands

audit-receipt verify <file>

Verifies the hash chain integrity of a JSONL audit log.

| Flag | Description | Default | |------|-------------|---------| | --verify-signatures | Verify Ed25519 signatures (requires --public-key) | false | | --public-key <key> | Base64-encoded Ed25519 public key | — | | --output <file> | Output file — .html or .json | stdout | | --entity-name <name> | Organization name for HTML report header | — |


Usage Examples

Basic chain integrity check

audit-receipt verify audit-log.jsonl

Output:

Receipts loaded: 150
Agents detected: 1

  legal-ai:                150 receipts → ✅ Chain INTACT

  ╔═══════════════════════════════════╗
  ║  ✓ VERDICT: CHAIN INTACT         ║
  ║  Hash Chain:  PASS (150/150)     ║
  ║  Signatures:  PASS (not verified)║
  ╚═══════════════════════════════════╝

Chain integrity + signature verification

audit-receipt verify audit-log.jsonl \
  --verify-signatures \
  --public-key mcowBQYDK2VwAyE...

Generate HTML audit report for a compliance auditor

audit-receipt verify audit-log.jsonl \
  --output report.html \
  --entity-name "Acme Corp"

Opens report.html — self-contained, dark mode, print-ready. Includes:

  • ✅ Verdict badge (green = chain intact, red = broken)
  • Agent summary with receipt counts
  • Interaction table
  • Collapsible technical details (receipt IDs, SHA-256 hashes, Ed25519 signatures)
  • Reproducible CLI command for independent verification
  • Auditor signature field

Generate JSON report for programmatic use

audit-receipt verify audit-log.jsonl --output report.json

Auditor Workflow

  1. Receive the JSONL audit log from the development team
  2. Verify chain integrity with audit-receipt verify
  3. Signatures check with --verify-signatures --public-key <key>
  4. Generate HTML report with --output report.html --entity-name "Your Company"
  5. Review the report in browser — green badge = compliant
  6. Reproduce — the report footer includes the exact command used. Any auditor can independently verify.

Exit Codes

| Code | Meaning | |------|---------| | 0 | Chain intact — all receipts valid | | 1 | Chain broken — tampered receipt detected | | 2 | File not found or invalid format |


Security

  • 100% offline — no data leaves your machine
  • 0 dependencies — standalone binary
  • Independent verification — any auditor can reproduce results with the same JSONL file
  • Tamper-proof — SHA-256 hash chain + Ed25519 signatures

Links

License: MIT