ai-craftsman404/guardx/mcp-audit
Claude Code and agent skill by ai-craftsman404/guardx
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install ai-craftsman404/guardx/mcp-auditSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ai-craftsman404/guardx/mcp-audit.
/guardx:mcp-audit â MCP Configuration Audit
Trigger
User invokes /guardx:mcp-audit or asks to audit MCP configuration, check for privilege escalation vulnerabilities, detect tool description poisoning, scan for SSRF patterns, or identify rogue servers.
Steps
- Get the MCP configuration path
- Ask: "What is the path to your MCP configuration file? (Usually ~/.claude/mcp.json or similar.)"
- If provided directly in the message, use it.
- Confirm audit scope (optional)
- Default: run all checks (privilege model, tool descriptions, SSRF patterns, rogue servers).
- If the user wants to skip any, set
checkPrivilegeModelorcheckToolDescriptionstofalse.
- Call `audit_mcp_config`
`` Tool: audit_mcp_config Arguments: configPath: <path> checkPrivilegeModel: true # check for wildcard tool permissions checkToolDescriptions: true # check for injected keywords in descriptions ``
- Present privilege model findings
For each finding where a server allows all tools without an explicit allowlist: `` đ Unrestricted Tool Access: <serverName> The server allows access to all tools with no allowlist. Recommendation: Define an explicit allowlist of trusted tools for this server. ``
- Present tool description poisoning findings
For each finding where tool descriptions contain adversarial keywords: `` â ī¸ Description Poisoning: <serverName> / <toolName> Adversarial keywords detected in tool description. Recommendation: Review and sanitize tool descriptions to remove instruction keywords. ``
- Present SSRF vulnerability findings
For any findings related to file:// URIs or /etc/ paths: `` đ¨ [CRITICAL â SSRF VULNERABILITY] Server: <serverName> Environment variable: <varName> Found: <value> Recommendation: Remove file:// URIs and absolute paths from environment variables. ``
- Present rogue server findings
For any findings where server names or commands match suspicious patterns: `` â ī¸ Rogue Server Detected: <serverName> Command: <command> Recommendation: Verify server authenticity and source before enabling. ``
- Overall risk summary
criticalâ đ¨ CRITICAL â SSRF or file access vulnerability detectedhighâ â ī¸ HIGH RISK â privilege model or tool poisoning issuesmediumâ â ī¸ MEDIUM RISK â suspicious server detectedlowâ âšī¸ LOW RISKpassâ â PASS â no MCP security issues detected
- Show recommendations
Present the recommendations array with concrete remediation steps.
Attack Vectors Detected
| Finding Type | Attack Vector | Impact | |
|---|---|---|---|
| Privilege Model | Server allows "tools": "*" | Attacker can call any MCP tool | |
| Tool Description Poison | Tool descriptions contain "ignore", "override", "bypass" keywords | Attacker embeds hidden instructions in tool metadata | |
| SSRF Pattern | Environment variables contain file:// or /etc/ paths | Server-Side Request Forgery, local file access | |
| Rogue Server | Server name or command contains "malicious", "backdoor", "trojan" | Attacker-controlled MCP server |
Notes
- This audit scans the static MCP configuration file â no runtime analysis.
- The audit complements
/guardx:mcp-securitywhich tests tool poisoning dynamically via prompt injection. - After remediation, re-run this audit to verify findings are resolved.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mcp-audit/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ai-craftsman404/guardx/mcp-audit)