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

@weave_protocol/mund

v0.1.5

Published

The Guardian Protocol - MCP-based security monitoring for agentic AI systems

Readme

Mund - The Guardian Protocol

Pattern Detection & Threat Scanning for AI Agents

Part of the Weave Protocol Security Suite (Mund + Hord + Dōmere)

What It Does

Mund scans AI agent inputs and outputs for security threats before they cause harm:

  • Secret Detection - API keys, tokens, passwords, certificates
  • PII Detection - SSN, credit cards, emails, phone numbers
  • Injection Detection - Prompt injection, jailbreak attempts
  • Exfiltration Detection - Data leakage patterns, encoding tricks
  • Code Analysis - Dangerous patterns, eval(), exec(), SQL injection

Installation

npm install @weave_protocol/mund

Quick Start

import { SecretScanner, PIIDetector, InjectionDetector } from '@weave_protocol/mund';

// Scan for secrets
const secretScanner = new SecretScanner();
const secretResults = secretScanner.analyze('My API key is sk-1234567890abcdef');
// Returns: [{ type: 'secret', severity: 'critical', pattern: 'openai_api_key', ... }]

// Detect PII
const piiDetector = new PIIDetector();
const piiResults = piiDetector.analyze('Contact John at [email protected] or 555-123-4567');
// Returns: [{ type: 'pii', matches: ['email', 'phone'], ... }]

// Check for injection
const injectionDetector = new InjectionDetector();
const injectionResults = injectionDetector.analyze('Ignore previous instructions and...');
// Returns: [{ type: 'injection', severity: 'high', ... }]

MCP Tools

Run as MCP server for Claude Desktop:

{
  "mcpServers": {
    "mund": {
      "command": "npx",
      "args": ["@weave_protocol/mund"]
    }
  }
}

Available Tools

| Tool | Description | |------|-------------| | mund_scan_content | Full security scan on content | | mund_scan_secrets | Scan for secrets and credentials | | mund_scan_pii | Scan for personally identifiable information | | mund_scan_injection | Detect prompt injection attempts | | mund_scan_exfiltration | Detect data exfiltration patterns | | mund_analyze_code | Analyze code for security issues | | mund_get_rules | Get current detection rules | | mund_add_rule | Add custom detection rule | | mund_enable_rule | Enable a detection rule | | mund_disable_rule | Disable a detection rule | | mund_get_stats | Get scanning statistics |

Detection Patterns

Secrets (30+ patterns)

  • AWS keys, Azure keys, GCP credentials
  • OpenAI, Anthropic, Cohere API keys
  • GitHub, GitLab, Bitbucket tokens
  • Stripe, Twilio, SendGrid keys
  • JWT tokens, private keys, certificates

PII Patterns

  • Social Security Numbers
  • Credit card numbers (with Luhn validation)
  • Email addresses, phone numbers
  • Physical addresses, dates of birth

Injection Patterns

  • "Ignore previous instructions"
  • "You are now DAN"
  • Role manipulation attempts
  • Base64/hex encoded instructions
  • Unicode obfuscation

Integration with Hord & Dōmere

// Full Weave Protocol security flow
import { SecretScanner } from '@weave_protocol/mund';
import { VaultManager } from '@weave_protocol/hord';
import { ThreadManager } from '@weave_protocol/domere';

// 1. Scan input with Mund
const scanner = new SecretScanner();
const threats = scanner.analyze(userInput);

if (threats.length > 0) {
  // 2. Contain with Hord
  const vault = new VaultManager();
  await vault.quarantine(threats);
}

// 3. Track with Dōmere
const thread = new ThreadManager();
await thread.addHop({
  security_scan: threats,
  // ...
});

License

Apache-2.0

Links


Made with ❤️ for AI Safety