ai-craftsman404/guardx/mcp-audit

Claude Code and agent skill by ai-craftsman404/guardx

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install ai-craftsman404/guardx/mcp-audit

Semi-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

  1. 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.
  1. Confirm audit scope (optional)
  • Default: run all checks (privilege model, tool descriptions, SSRF patterns, rogue servers).
  • If the user wants to skip any, set checkPrivilegeModel or checkToolDescriptions to false.
  1. 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 ``

  1. 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. ``

  1. 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. ``

  1. 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. ``

  1. 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. ``

  1. Overall risk summary
  • critical → 🚨 CRITICAL — SSRF or file access vulnerability detected
  • high → âš ī¸ HIGH RISK — privilege model or tool poisoning issues
  • medium → âš ī¸ MEDIUM RISK — suspicious server detected
  • low → â„šī¸ LOW RISK
  • pass → ✅ PASS — no MCP security issues detected
  1. Show recommendations

Present the recommendations array with concrete remediation steps.

Attack Vectors Detected

Finding TypeAttack VectorImpact
Privilege ModelServer allows "tools": "*"Attacker can call any MCP tool
Tool Description PoisonTool descriptions contain "ignore", "override", "bypass" keywordsAttacker embeds hidden instructions in tool metadata
SSRF PatternEnvironment variables contain file:// or /etc/ pathsServer-Side Request Forgery, local file access
Rogue ServerServer 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-security which 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ai-craftsman404/guardx/mcp-audit/badge)](https://verified-skill.com/skills/ai-craftsman404/guardx/mcp-audit)

Something wrong with this skill or its page? Tell us.