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

@rocketlang/kavachos

v2.0.2

Published

KavachOS — seccomp-bpf + Falco kernel enforcement for AI agents. Part of the xShieldAI Posture Suite.

Readme

@rocketlang/kavachos

KavachOS — seccomp-bpf + Falco kernel enforcement for AI agents.

Part of the xShieldAI Posture Suite · kavachos.xshieldai.com

License: AGPL-3.0 DOI


What it does

KavachOS wraps every AI agent in a seccomp-bpf kernel filter. The agent can only make the syscalls its trust level permits — nothing else reaches the kernel.

  • seccomp-bpf profiles generated deterministically from a trust_mask integer
  • cgroup BPF egress firewall — per-session network allowlist enforced at the kernel connect4/connect6 hook; unlisted destinations get EPERM before the socket is established
  • Falco rules generated per domain (maritime, logistics, OT, finance, general)
  • PRAMANA receipt chain — every violation is SHA-256 sealed and chained
  • Gate valve — automatic escalation: THROTTLE → CRACK → LOCK on repeated violations
  • CLIkavachos run, kavachos profile show, kavachos audit, kavachos init
defaultAction: SCMP_ACT_ERRNO   ← blocked syscall returns EPERM, never panics kernel
exit_group + futex + rt_sigreturn always allowed  ← no-freeze guarantee

Install

npm install -g @rocketlang/kavachos
# or
bun add -g @rocketlang/kavachos

Requires: Bun ≥ 1.0, Linux x86_64, kernel ≥ 3.5 (seccomp-bpf), kernel ≥ 5.8 for Falco modern-bpf.


Quick start

# Initialize project config
kavachos init --domain=general --trust-mask=0xFF

# Run any agent under kernel enforcement
kavachos run claude --trust-mask=0xFF --domain=general --verbose

# Run a Bun script with maritime domain rules
kavachos run bun src/my-agent.ts --trust-mask=0x00FF0000 --domain=maritime --falco

# Inspect profile + gate valve state
kavachos profile show

# Audit the receipt chain
kavachos audit --all

Commands

| Command | Description | |---------|-------------| | kavachos run <binary> [args] | Launch agent under seccomp-bpf governance | | kavachos generate | Generate profile + Falco rules (no exec) | | kavachos profile show [agent-id] | Show active profile + gate valve state | | kavachos audit [session-id\|--all] | Verify PRAMANA receipt chain | | kavachos rules | Print domain-specific Falco rules | | kavachos init | Write .kavachos.json in project root |


trust_mask

Each bit unlocks a syscall group. trust_mask=0 → read-only minimal profile.

Bits 0-7   Infrastructure: auth | rbac | events | db | notification | cache | registered | forja
Bits 8-15  Intelligence:   llm  | knowledge | domain_rules | memory | search | packages | swarm | codegen
kavachos generate --trust-mask=0xFF --domain=maritime --json

Domain profiles

| Domain | Extra rules | |--------|-------------| | general | Baseline only | | maritime | NMEA serial ops, AIS monitoring | | logistics | EDI file processing | | ot | Modbus TCP, realtime scheduling | | finance | HSM / hardware key ops |


License

AGPL-3.0 — kernel enforcement layer is open. You can audit what runs next to your production agents.

Enterprise Edition (multi-tenant, HanumanG EE, Merkle ledger, EU AI Act evidence): xshieldai.com


Papers