Skip to main content
Glama

CanaryCat v7.0 — The AI Agent Crash-Test Lab & Local MCP Firewall

CanaryCat v7.0

Test the Agent. Wrap the Tool. Auto-Harden the Risk.

CanaryCat is a zero-dependency, local-first (127.0.0.1) AI Agent security crash-test lab and runtime MCP firewall. It combines 20 core & OWASP Agentic scenarios, 40 market-wide adversarial agent archetypes, 6 multi-agent cooperative kill chains, a transparent MCP Firewall Proxy (canarycat wrap), an Auto-Hardening Patcher, and a pure-code WebGL2 3D Optical Detective Cat Dashboard.

https://github.com/user-attachments/assets/68977f8c-8213-43e0-90c2-709ecdcdd942

30-Second Quickstart

No npm install required (Node.js >= 18):

# 1. Start the 127.0.0.1 hardened lab + 3D Detective Cat Dashboard
npm start
# Or double-click start-canarycat.bat (Windows) / start-canarycat.command (macOS)

# 2. Run the full 95-test security, adversarial & cooperative kill-chain suite
npm test

# 3. Run the 5-round Red vs Blue Arena & Evolutionary Payload Mutator
npm run arena

# 4. Transparently firewall ANY existing MCP server (GitHub, Gmail, FS, DB...)
node ./src/cli/index.mjs wrap -- npx -y @modelcontextprotocol/server-filesystem ./

# 5. Audit your local mcp.json Blast-Radius & auto-protect (with instant rollback)
node ./src/cli/index.mjs audit-config examples/mcp-client-config.json
node ./src/cli/index.mjs protect path/to/mcp.json
node ./src/cli/index.mjs rollback path/to/mcp.json

# 6. Auto-generate System Prompt + Policy + CLAUDE.md hardening patches
npm run harden

Related MCP server: agent immune

Core Capabilities (v7.0)

  • Transparent MCP Firewall (canarycat wrap): Pins SHA-256 tool schemas to block live Rug Pulls, quarantines poisoned MCP tool descriptions, enforces GuardianGate + SQL/Shell/Web3/Cloud guards, and taints sessions on untrusted tool outputs.

  • Live Human-in-the-Loop Approval Cards: High-risk ASK actions surface directly in the 3D Dashboard as one-click Approve Once (HMAC-SHA256 parameter-bound single-use token) or Deny cards.

  • 40-Archetype Full-Horizon Matrix + 6 Cooperative Kill Chains: Covers stealth 14-way polymorphic exfiltration (Base64/Base32/Caesar/Cyrillic/Acrostic), Coding/Shell, Finance/TOCTOU, Email, Browser/SSRF, Vision, Real %PDF-1.4 RAG, MCP Time-Bomb Rug Pull, Cross-File Skill Taint, Sleeper Memory, SQL, Voice, Desktop GUI, Cloud/K8s, Git/CI, Web3, Cron, GDPR, Mobile Deep-Link, Meta-Agent, Embodied IoT, Spatial AR, Deepfake/C2PA, Science Lab, A2A Commerce, Youth Safety, ARIA Accessibility, and SecOps.

  • Session Taint Context + Global CanaryVault Linkage: Any untrusted external input downgrades downstream trust across all domains; any canary leak triggers real-time 3D Detective Cat red alerts and causal lineage graphs.

  • Ed25519 Signed AgBOM Passports, Cross-Restart Baselines & SARIF 2.1.0: Tamper-evident safety passports, disk-persisted trend charts, and GitHub Code Scanning CI exports.

  • Hybrid 5ms Rule + Optional Local LLM Semantic Judge: Fast deterministic rules with optional local Ollama/LLM Layer-2 review for nuanced natural-language domains.

Honest Detection Boundaries

CanaryCat strictly binds 127.0.0.1 and never claims system-wide HTTPS MITM or external chat-window inspection. See docs/limitations.md, docs/architecture.md, docs/threat-model.md, and docs/evidence-model.md.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Policy-enforcing MCP proxy that blocks dangerous tool calls before they execute. Protects credentials, filesystem, shell, and databases across Claude Desktop, Cursor, Windsurf, and OpenClaw.
      17 npm
      41
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Adaptive security for AI agents: assess inputs for prompt injection, scan outputs for credential/PII leaks, teach new attack patterns to semantic memory, harden prompts, and monitor metrics. Runs locally via MCP stdio.
      Apache 2.0
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables developers and AI agents to enforce per-tenant security isolation for autonomous agents by compartmentalizing memory boundaries and managing sandboxed tenant execution. It exposes this deterministic, dependency-free guard through a native MCP server that plugs into Claude Desktop, Cursor, and other MCP-compliant clients.
      8
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables autonomous agents and MCP-compatible clients to route inputs through a deterministic firewall that flags and sanitizes prompt injection, jailbreaks, system prompt exfiltration, and tool hijacking. It supports JSON-RPC stdio integration for tools like Claude Desktop, Cursor, and multi-agent frameworks.
      7
      -