# Tuuf MCP Firewall

> Scans repositories for hidden prompt injections, malicious agent instructions, and insecure MCP configurations.

Tuuf MCP Firewall is a paid AI agent skill on Agensi by Orhan öztaş, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Orhan öztaş](https://www.agensi.io/creators/orhan-oztas)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/tuuf-mcp-firewall
- Tags: security, prompt-engineering, llm-ops, code-review, mcp

## About this skill

Malicious instructions can be hidden in rule files using invisible Unicode or encoded text to hijack your agent. This skill scans project folders for prompt injections, risky MCP configurations, and exposed secrets before your agent trusts the environment.

### What it does
- **Hidden Text Detection** finds invisible Unicode, hidden HTML comments, and styled text used to hide commands from humans.
- **Injection Analysis** identifies override, secrecy, and data-theft wording in `.cursorrules`, `CLAUDE.md`, and other rule files.
- **Config Audit** flags risky `.mcp.json` or `.vscode` settings like auto-approve switches and download-and-run hooks.
- **Secret Scanning** locates literal secrets and unpinned or git-sourced MCP servers in configuration files.
- **Integrity Verification** uses SHA-256 self-checks to ensure the scanning scripts themselves haven't been tampered with.

### How it works
1. **Target Selection** Define the project root to scan, ensuring it is not a drive root or home directory.
2. **Isolated Execution** The agent writes two read-only Python scripts to a temporary folder and runs them in isolated mode (`-I`).
3. **Verification** The agent confirms the script hashes match known safe values before processing any data.
4. **Evidence Reporting** Findings are categorized by severity (High, Medium, Low) with masked secrets and escaped previews.
5. **Cleanup** The temporary scanning scripts and folders are deleted after the report is generated.

### Frameworks & tools
This skill uses Python 3.8+ standard library only. It requires no external dependencies, network access, or package installations, making it compatible with any agent capable of file I/O and shell execution.

### Why this beats prompting it yourself
Manual inspection misses non-printable Unicode characters and encoded strings designed to deceive LLMs. These scripts bypass visual rendering to find exactly what the model sees, providing a deterministic audit that raw prompting cannot achieve.

### Use cases
- Scan a newly cloned repository before allowing an agent to read its instruction files.
- Audit a Pull Request that modifies agent rules or MCP configuration files.
- Verify your own project for leaked tokens or stray hidden characters before publishing to GitHub.
- Check a third-party agent skill or plugin for malicious "system" overrides.

### Known limitations
Does not judge the logic of compiled binaries or third-party packages. It primarily targets English-language attack wording and specific hidden text techniques. Found secrets are masked for safety.

## Requires

- Python
- Plain Http MCP

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Tuuf MCP Firewall skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this scan differ from me just reading the repository files myself?

It scans for "invisible" threats like non-printable Unicode characters and encoded strings that humans can't see but LLMs process, which are often used to hijack agent behavior via .cursorrules or CLAUDE.md files.

### Which AI agents or IDEs can use the Tuuf Repo Trust Scan?

This skill is compatible with any AI agent or IDE (like Cursor, Windsurf, or Claude Desktop) that has permission to execute Python scripts and perform file I/O operations.

### What specific risks does it look for in MCP configurations?

The skill identifies risky Model Context Protocol (MCP) settings, such as auto-approval flags for sensitive tools and unpinned or remote-sourced servers that could lead to unauthorized code execution.

### Is it safe to run these scanning scripts on my local machine?

The scan runs in isolated mode using only Python's standard library, requires no network access, and uses SHA-256 integrity checks to ensure the scanning scripts themselves haven't been modified.

### Does the scanner work with repositories written in languages other than English?

While the skill is optimized for English-language prompt injection patterns, its hidden text and secret scanning features work regardless of the repository's primary programming language.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
