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

occ-verify-action

v0.2.0

Published

GitHub Action to verify OCC proof chains (Ed25519 signatures + chain integrity)

Downloads

32

Readme

OCC Proof Verification GitHub Action

Verify OCC proof chains in CI/CD. Checks Ed25519 signatures, chain integrity (prevB64 hash linkage), and counter monotonicity. Fails the workflow if the proof chain is broken or unauthorized actions are detected.

Setup

Add to your workflow:

- name: Verify OCC proofs
  uses: mikeargento/occ/packages/integrations/github-actions@main
  with:
    proof-file: proof.jsonl

Full workflow example

name: Verify Agent Actions
on: [push, pull_request]

jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Verify OCC proof chain
        uses: mikeargento/occ/packages/integrations/github-actions@main
        id: occ
        with:
          proof-file: proof.jsonl
          fail-on-denied: 'true'

      - name: Report
        if: always()
        run: |
          echo "Total proofs: ${{ steps.occ.outputs.total-proofs }}"
          echo "Allowed: ${{ steps.occ.outputs.allowed-count }}"
          echo "Denied: ${{ steps.occ.outputs.denied-count }}"
          echo "Chain intact: ${{ steps.occ.outputs.chain-intact }}"
          echo "Passed: ${{ steps.occ.outputs.verification-passed }}"

Inputs

| Input | Required | Default | Description | |---|---|---|---| | proof-file | No | proof.jsonl | Path to the proof log | | fail-on-denied | No | true | Fail if denied actions are found | | node-version | No | 20 | Node.js version |

Outputs

| Output | Description | |---|---| | total-proofs | Total proof entries | | allowed-count | Allowed actions | | denied-count | Denied actions | | chain-intact | true if chain has no gaps | | verification-passed | true if full verification passed |

What it checks

  1. Ed25519 signatures -- every proof entry with a receipt is cryptographically verified using the occproof verifier
  2. Chain integrity -- prevB64 hash linkage between consecutive proofs (SHA-256 of canonical form)
  3. Counter monotonicity -- counters must strictly increase across the chain
  4. Action summary -- reports allowed/denied counts in the GitHub Actions step summary

How it works

GitHub Actions Workflow
  |
  +-- Checkout repo (includes proof.jsonl)
  |
  +-- OCC Verification Action
       |
       +-- Parse each line of proof.jsonl
       +-- Verify Ed25519 signature on each receipt (via occproof)
       +-- Check prevB64 chain linkage between proofs
       +-- Check counter monotonicity
       +-- Set outputs + write GITHUB_STEP_SUMMARY
       +-- Exit 1 if any check fails

CLI usage

The verifier can also be run locally:

cd packages/integrations/github-actions
npm install && npm run build
node dist/index.js path/to/proof.jsonl