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

ectoclaw

v0.1.0

Published

Cryptographically verified audit ledger for OpenClaw AI agents — tamper-evident, policy-enforced, compliance-ready

Readme

What is EctoClaw?

EctoClaw is a fully self-contained AI firewall and cryptographic ledger built to protect your system from rogue OpenClaw agents taking unauthorized or destructive actions.

It is designed to give everyday OpenClaw users, developers, and security teams local, verifiable auditability without the need to deploy a separate enterprise server stack. EctoClaw natively reimplements the core cryptography of EctoLedger in a lightweight package perfectly tailored for agent workflows.

It is much more than a message recorder. EctoClaw acts as a complete ecosystem containing:

  • An Immutable Ledger: Records complete agent lifecycles including messages, skills, plugins, tool calls, model requests, and memory operations.
  • A Policy Engine: Applies decisions to allow, deny, redact, flag, and set approval gates before and during event processing.
  • Cryptographic Evidence: Produces hash chains, Ed25519 signatures, and Merkle tree proofs for compliance and forensics.
  • A Unified Product Surface: Ships natively as an Express server, an OpenClaw plugin, a TypeScript SDK, a CLI, and a built-in monitoring dashboard.

Why EctoClaw?

| The Challenge | The EctoClaw Solution | | --- | --- | | Agent behavior is hard to audit | Immutable event ledger with per-session verification. | | Sensitive actions need controls | Policy engine with block, redact, flag, and approval patterns. | | You need proof of what happened | Compliance bundles, signed event history, and Merkle proofs. | | You want zero-configuration setup | Works out-of-the-box for OpenClaw users with no complex external dependencies. | | You need real-time visibility | Built-in dashboard, metrics endpoints, and SSE streaming. |

Quick Start

Prerequisites

  • Node.js >= 18
  • npm

Install and run locally

npm install
npm run build
npm test

# start the standalone development server
npm run dev -- serve --dev

Server endpoints:

  • Dashboard: http://localhost:3210/dashboard/
  • API: http://localhost:3210/api/
  • SSE stream: http://localhost:3210/api/stream
  • Health: http://localhost:3210/health

v0.1.0 Feature Set

1) Cryptographic Integrity

  • SHA-256 hash chain over event sequences and payloads.
  • Ed25519 signature support per event and session.
  • Merkle tree generation and proof verification endpoints.

2) Policy and Guardrails

  • Policy model covering channels, skills, plugins, message filters, approval gates, and step limits.
  • Message filters can block, redact, or flag matched content in real-time.
  • Policy violations are automatically captured as first-class events on the ledger.

3) Event Coverage

EctoClaw natively tracks events across the OpenClaw ecosystem:

  • Messaging: MessageReceived, MessageSent, ChannelEvent
  • Skills: SkillInvoked, SkillResult
  • Plugins: PluginAction, PluginResult
  • Tools: ToolCall, ToolResult
  • Memory: MemoryStore, MemoryRecall
  • Models: ModelRequest, ModelResponse
  • Compliance: ApprovalRequired, ApprovalDecision, PolicyViolation, SessionSeal, KeyRotation

4) Product Surface

  • REST API for sessions, events, policies, verification, reports, metrics, and proof checks.
  • OpenClaw plugin package (src/openclaw/plugin.ts) for automatic lifecycle capture.
  • OpenClaw skill (skills/SKILL.md) for natural language querying.
  • TypeScript SDK (ectoclaw/sdk) for application integration.
  • CLI for operations (serve, status, sessions, verify, report).

Demo Install and Run

EctoClaw includes demo scripts that generate realistic OpenClaw sessions and live dashboard data so you can see the ledger in action immediately.

Cross-platform demo (recommended)

Works on macOS, Linux, and Windows.

npx tsx scripts/demo.ts

(Or use npm run demo)

Bash demo (macOS / Linux)

bash scripts/demo.sh

Optional demo environment variables

PORT=3210 KEEP_DB=1 npm run demo
  • PORT: override default server port.
  • KEEP_DB=1: keep the temporary demo database after the script exits for inspection.

API and CLI

API groups

  • Sessions: create, list, inspect, seal, verify.
  • Events: append and query by session.
  • Policies: list, get, save, and delete policy definitions.
  • Reports: generate audit reports and Merkle compliance data.
  • Metrics: view operations and security telemetry.

CLI commands

npx ectoclaw serve --dev
npx ectoclaw status
npx ectoclaw sessions
npx ectoclaw verify <SESSION_ID>
npx ectoclaw report <SESSION_ID> --format html --output report.html

Package Exports

  • ectoclaw: server and core exports.
  • ectoclaw/sdk: TypeScript SDK client.
  • ectoclaw/plugin: OpenClaw plugin integration.

License

Apache-2.0