Skip to main content
Glama

πŸ›‘οΈ Tcha Claude Security Suite

The Deterministic Transport Firewall & Boundary Guard for Claude Code, Claude Desktop, & MCP

npm version License: MIT Latency Neutralization Protocol

Autonomous agents don't have security perimeters. Once you give an agent access to execute terminal commands, modify files, and query MCP tools, any untrusted input it reads becomes an attack vector.

Probabilistic system prompts fail against 70%+ of indirect prompt injections. Tcha Claude Security Suite fixes this deterministically by acting as an in-line, zero-latency transport firewall between Claude and your local environment.


⚑ 1-Minute Quick Start

1. Install Globally or Run via NPX

# Instant local audit (zero accounts, open-source MIT)
npx tcha-protection audit

2. Add to Claude Desktop

Add Tcha as a protective proxy in your claude_desktop_config.json:

{
  "mcpServers": {
    "tcha-guard": {
      "command": "npx",
      "args": ["-y", "tcha-protection", "guard"]
    }
  }
}

3. Add to Claude Code (.claude/skills)

Clone or copy the .claude/skills folder directly into your project root:

git clone https://github.com/Tchapwo1/tcha-claude-skills.git
cp -r tcha-claude-skills/.claude/skills ./your-project/.claude/

Related MCP server: mcp-doorman

🧩 The 5 Core Security Skills

Skill

Description

Attack Vector Neutralized

tcha-secret-shield

In-line redaction of API keys, .env files, and private tokens.

Accidental credential leakage to external LLM providers or git commits.

tcha-mcp-firewall

Boundary filter for Model Context Protocol tools and terminal commands.

Cloud Metadata SSRF (169.254.169.254), path traversal (../../), rm -rf.

tcha-injection-scanner

Pre-execution scanner for scraped text, PDFs, and external web content.

Indirect prompt injections, zero-width steganography, and prompt delimiters.

tcha-audit-benchmark

On-demand adversarial penetration test running 100 automated probes.

Configuration oversights and unconfined tool privileges (/audit-agent).

tcha-compliance-ledger

Cryptographic Merkle tree audit logger with tamper-evident nonces.

Regulatory liability under EU AI Act Article 15 & SOC 2 CC6.1.


πŸ”¬ Benchmark & Neutralization Metrics

We evaluated Tcha against 100 adversarial test probes across 4 distinct threat classes:

Threat Class

Probes

Neutralized

Escapes

Mean Overhead

Cloud Metadata SSRF (169.254.169.254)

25

25 / 25

0

0.38 ms

Path Traversal & Root Confinement

25

25 / 25

0

0.41 ms

Destructive Command Execution

25

25 / 25

0

0.44 ms

Indirect Delimiter Injection

25

25 / 25

0

0.49 ms

Total Benchmark

100

100 / 100

0

0.43 ms

πŸ‘‰ Read the full interactive benchmark report: https://tcha.dev/report.html


🏒 Architecture & Threat Model

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          Claude Agent           β”‚
β”‚   (Claude Desktop / Claude Code)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚ Tool Invocation (e.g. bash, readFile, fetch)
                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚           TCHA DETERMINISTIC TRANSPORT FIREWALL        β”‚
β”‚  βœ“ Secret Redaction     βœ“ SSRF & Cloud Metadata Block  β”‚
β”‚  βœ“ Merkle Audit Nonce   βœ“ Path Traversal Confinement   β”‚
β”‚  Latency: <0.5ms        Status: 100% Local / Zero Egressβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚ Sanitized & Verified Payload
                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     Local Tools & MCP Servers   β”‚
β”‚ (Terminal, Filesystem, APIs)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“œ Compliance Crosswalk

  • EU AI Act Article 15: Demonstrable technical robustness, cyberattack resilience, and boundary enforcement.

  • SOC 2 Type II (CC6.1, CC6.6, CC6.8): Logical boundary restriction, data transmission protection, and tamper-evident audit logging.

  • OWASP Top 10 for LLMs: Directly neutralizes LLM01 (Prompt Injection), LLM02 (Sensitive Information Disclosure), and LLM08 (Excessive Agency).


🀝 Community & Support

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    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.
    4 npm
    41
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A drop-in proxy that guards MCP servers with policy enforcement, secret redaction, prompt-injection screening, rug-pull detection, rate limiting, and audit logging.
    9 npm
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables transparent security for any MCP server by intercepting tool calls, blocking prompt injection attempts, masking PII in responses, and writing immutable audit logs.
    1,694 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables secure, low-latency proxying of MCP tool calls by detecting and blocking malicious requests such as path traversals and command injections, while redacting leaked credentials.
    6 npm
    MIT