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

enclawed

v2.0.17

Published

AI agent security that prompt injection can't break: fixed rules decide every action an agent takes before it runs, from a laptop to a supercomputer, with a tamper-evident audit log, a mandatory security key and an optional hardware root.

Readme

Enclawed

AI agent security that prompt injection can't break.

Enclawed runs AI agents (in chat apps, in your terminal, across a cluster) and puts every action they take through fixed rules before it runs. A model can be talked into anything; the rules can't. An injected instruction gets exactly as far as the rules allow, every decision lands in a tamper-evident log, and starting a session takes your security key.

Built for HPC clusters and agent swarms

The same rules hold from one laptop to a supercomputer. New in Enclawed 2.0: agent swarms. enclawed swarm runs high-performance computing (HPC) jobs and swarms of agents across many machines, and the architecture is made for extreme-scale computing: every rank is supervised on its own node and every node signs with its own key, so the protection grows with the cluster.

  • Every launch decided by policy. MPI (Message Passing Interface), Slurm, PBS/Moab and Flux launches, including those inside wrappers, scripts and ssh, are allowed or refused by policy alone, and a launch command Enclawed cannot fully parse is refused.
  • Every rank supervised for the whole run. Ranks hold short leases renewed by signed heartbeats; a rank whose lease lapses is paused, a tampered one is killed, and coordinators evict on evidence.
  • Science runs at full speed. On a 16-rank LAMMPS molecular-dynamics job, on CPUs and GPUs, supervision leaves the compute loop unchanged and adds about 3 seconds at start-up.
  • Drops into the cluster you have. No administrator privileges and no changes to the cluster: Enclawed connects over Secure Shell (SSH) alone.
  • Holds under attack. Twelve live attacks on hardware-keyed ranks, colluding coordinators included, all ended fail-closed; 16 agents on a real model attempted 24 launches that planted instructions ordered, and all 24 were denied while all 108 legitimate launches went through.

We have run 16 ranks so far; larger-scale runs are in the pipeline. Design, attacks and measurements: arXiv:2610.33318 (doi.org/10.5281/zenodo.23602948); everything behind the numbers is reproducible from hpc-agentic-swarm-reproduction.

What you get

Out of the box:

  • Rules decide, not the model. Every tool call goes through Enclawed's checks before it runs, and what the model says about its own request counts for nothing.
  • Secrets stay put. Outbound content carrying a credential or another protected value is blocked, and hidden characters are stripped before anything leaves.
  • A record nobody can quietly edit. Every decision goes into a hash-chained audit log you can verify at any time (enclawed audit).
  • Your key, not a password. Starting a session, changing policy and turning off a protection all take a FIDO2 (Fast IDentity Online) security key or this computer's device-bound passkey (enclawed auth enroll). There is no switch that turns this off.
  • Tools you admitted, not tools that changed. An MCP (Model Context Protocol) server is admitted only with a valid signed clearance statement, and a tool whose definition changes after admission is refused until you admit it again.
  • Optional hardware root. With an Enclaweder device, the authority lives in hardware: even root on the machine cannot silently alter the log, forge an agent's actions or take its secrets.
  • Works with what you use. Telegram, Discord, Slack, WhatsApp, Signal, Microsoft Teams, Matrix and more; local models (Ollama, vLLM, LM Studio) and the major cloud providers.
  • Check it yourself. enclawed conformance verifies the security guarantees on your installation, one line per guarantee.

Turn on enclaved mode (ENCLAWED_FLAVOR=enclaved, or an administrator's policy) for deployments that cannot take chances. It needs Node.js running with a FIPS-enabled OpenSSL, and adds:

  • Deny by default. Only allowlisted channels, model providers, tools and network hosts work.
  • A person approves what cannot be undone. Changes that can be reversed go ahead and keep a history you can restore (enclawed history); actions that cannot be undone wait for your approval.
  • No record, no action. A call does not run while the audit log cannot record it.
  • Signed code only. Every module must carry a valid signature from a signer you trust; unsigned modules do not load.

Install

Requires Node.js 22.14 or later.

npm install -g enclawed

Quick start

enclawed auth enroll --label primary      # your security key (or: --passkey --label laptop)
enclawed onboard                          # gateway, workspace, models and channels
enclawed conformance                      # verify the guarantees on this machine
enclawed doctor                           # health checks and quick fixes

enclawed --help lists every command. Documentation: docs/.

Using Claude Code?

Enclawed Code runs Claude Code with every tool call decided by Enclawed: npm install -g enclawed-code, then type ecwcode where you would type claude.

About

Enclawed is built by Enclawed, Inc. It began as a fork of OpenClaw and adds the deterministic security layer described above.

License

MIT. See LICENSE.