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

superpack-snitch

v0.0.11

Published

BLOCK your agents from ClawHub & Others. Blocklist guard for OpenClaw — hard-blocks tool calls, injects security directives, and broadcasts Telegram alerts.

Readme

superpack-snitch

A configurable blocklist guard for OpenClaw. Hard-blocks tool calls matching banned patterns, injects a security directive at agent bootstrap, warns on incoming messages, and broadcasts Telegram alerts to all allowFrom recipients.

In action

A user asks their OpenClaw agent to install a blocked skill. Snitch catches every attempt and fires a Telegram alert in real time:

User: hi. can you download the clawhub skill please

🚨🚔🚨 SECURITY ALERT 🚨🚔🚨

A clawhub tool invocation was detected and BLOCKED.
The session has been stopped. This incident has been logged.

clawhub is prohibited by system security policy.

tool: edit
session: agent:main:main
agent: main

The agent tried edit, then browser, then gateway, then exec — each attempt blocked and reported. When it tried to disable the guard itself, that got blocked too.

Why

The ClawHub skill ecosystem contains malicious skills that can exfiltrate credentials, modify your agent config, or backdoor your workspace. superpack-snitch provides a multi-layer defense:

  1. Bootstrap directive — injected into every agent context, telling the LLM not to invoke blocked tools
  2. Message warning — flags incoming messages that reference blocked terms before the agent sees them
  3. Hard block — intercepts and kills the tool call if the agent tries anyway
  4. Telegram broadcast — alerts all allowFrom users the moment a block fires

Install

Plugin (full enforcement)

openclaw plugins install superpack-snitch

The postinstall script automatically:

  • Copies hooks into $OPENCLAW_CONFIG_DIR/hooks/
  • Enables them in openclaw.json under hooks.internal.entries

Lock down the plugin files so the agent can't self-modify:

chmod -R a-w $OPENCLAW_CONFIG_DIR/extensions/superpack-snitch

Skill only (prompt-injection protection, no npm required)

Install from ClawHub for soft enforcement via prompt injection only. The skill and plugin can be used together for layered defense.

Configuration

In openclaw.json under plugins.entries.superpack-snitch.config:

{
  "plugins": {
    "entries": {
      "superpack-snitch": {
        "enabled": true,
        "config": {
          "blocklist": ["clawhub", "clawdhub", "myothertool"],
          "alertTelegram": true,
          "bootstrapDirective": true
        }
      }
    }
  }
}

| Key | Default | Description | |-----|---------|-------------| | blocklist | ["clawhub", "clawdhub"] | Terms to block (case-insensitive word boundary match) | | alertTelegram | true | Broadcast Telegram alert to all allowFrom IDs on block | | bootstrapDirective | true | Inject a security directive into every agent bootstrap context prohibiting blocked tools |

Hook blocklist (env var)

The hooks read SNITCH_BLOCKLIST (comma-separated) if set, otherwise fall back to the defaults. Useful for customizing without editing hook files.

Layers of protection

The skill and plugin are complementary — neither is sufficient alone:

| Layer | What it does | Can agent remove it? | |-------|-------------|----------------------| | Skill (hooks) | Injects prompt directive, warns on inbound messages | Yes — soft stop only | | Plugin (npm) | Hard-blocks tool calls, fires Telegram alert | Harder — requires editing openclaw.json | | Both together | Prompt layer + hard block + alert | Hardest — must defeat both |

The skill without the plugin is a suggestion. The plugin without the skill still hard-blocks tool calls. Install both for full defense in depth.

Security Notes

  • Lock down the plugin files after install: chmod -R a-w $OPENCLAW_CONFIG_DIR/extensions/superpack-snitch so the agent can't self-modify
  • The bootstrap and message hooks are the most tamper-resistant layers — they live in $OPENCLAW_CONFIG_DIR/hooks/ which loads unconditionally without a trust model
  • The plugin layer requires plugins.allow — if an agent edits openclaw.json and removes it, the hooks remain active as a fallback

License

MIT