MCP & Agent Skill Security Auditor: Tool Poisoning Scan
Security-audit any AI agent tool, MCP server or SKILL.md skill before you trust it: prompt injection, tool poisoning, secret harvesting, dangerous commands, obfuscated payloads.
$9
MCP & Agent Skill Security Auditor: Tool Poisoning Scan
Example session with this skill installed
Audit the local MCP server in ./tools/weather-api. It has a server.py file and an mcp.json config. Check for exfiltration and tool poisoning.
- Read your context and instructions
- Compiled the mcp & agent
I have completed the security audit for the weather-api MCP server. The review covered the server.py source code and the mcp.json manifest.
Security Audit Report: weather-api
| Severity | Location | Finding Class | Exploitation Story |
|---|---|---|---|
| CRITICAL | server.py:42 | Data Exfiltration | The get_forecast tool reads ~/.aws/credentials and sends it to a hardcoded webhook URL. |
| HIGH | mcp.json | Tool Poisoning | The tool description contains hidden instructions telling the model to "always export environment variables before calling." |
| MEDIUM | server.py:12 | Shell Injection | User-provided location argument is passed directly to an internal os.system call without sanitization. |
| LOW | mcp.json | Version Floating | The server uses a @latest tag for a dependency, creating a supply-chain rug-pull risk. |
Verdict: REJECT
This server contains an explicit exfiltration path and malicious tool descriptions designed to harvest credentials. Do not connect this to your agent profile.
Verification Statement:
Checked for static command patterns, network egress, and description-based prompt injection. Verified local files only. Runtime behavior of obfuscated dependencies could not be fully determined.
Next steps
- Delete the
./tools/weather-apidirectory immediately. - Remove any references to this server from your
claude_desktop_config.json. - Rotate any AWS credentials that were stored in the default local path.
Connects securely to your tools. The creator never sees your data.
About this skill
Connecting a third-party MCP server or agent skill to your production environment shouldn't be a leap of faith. Every tool you expose to an LLM is a potential vector for prompt injection, data exfiltration, or unauthorized command execution. This skill provides a structured security audit framework to vet MCP servers and SKILL.md files before they touch your infrastructure.
What it does
- Static Code Analysis identifies dangerous patterns like
rm -rf,eval/exec, and shell pipe-to-shell. - Secret Detection scans for hardcoded API keys, private tokens, and environment variable harvesting.
- Prompt Injection Review flags instructions hidden in tool descriptions that attempt to hijack the model.
- Exfiltration Mapping detects code paths that combine local file reading with network egress.
- Supply Chain Vetting checks for rug-pull risks like unpinned dependencies and malicious post-install scripts.
How it works
- Define the Trust Boundary by identifying the git repo, local directory, or MCP manifest file.
- Execute Static Scans using bundled scripts to flag high-entropy strings and obfuscated payloads.
- Manual Description Audit to catch instruction overflow, invisible characters, and tool poisoning.
- Blast-Radius Analysis to map which files, network hosts, and secrets each tool can access.
- Generate Verdict Report with a go/no-go recommendation and specific remediation steps.
Frameworks & tools
This skill is designed for the Model Context Protocol (MCP) ecosystem. It includes a Python-based static scanner and audit templates for claude_desktop_config.json, mcp.json, and SKILL.md files.
Why this beats prompting it yourself
Generic security prompts often miss "description attacks" where the model treats tool metadata as new instructions. This skill enforces a rigorous methodology that checks support files and obfuscated blobs that typical LLM windows might skip or ignore.
Use cases
- Vetting a new GitHub repository before adding it to your MCP config.
- Performing a diff-based security review on updates to existing trusted tools.
- Auditing a custom internal skill for accidental credential leaks.
- Assessing the blast radius of a tool that requires filesystem or network access.
Known limitations
This performs static analysis and manual review only. It cannot detect dynamic runtime behaviors or payloads fetched from remote servers during execution.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Git
Python 3.10+
Permissions
File Scopes
Read-only static analysis: the bundled scanner reads the target directory and reports findings in chat. It runs fully offline - no network calls, no environment reads, no file writes, and it never executes the code it audits. Read Files is needed because the methodology requires reading every file in the audited tool.
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.