More screenshots
Works with the AI tools you already use
MCP Security Auditor
Audit MCP servers for security risks and get a scored, prioritized production-readiness report.
$14.99
MCP Security Auditor
Example session with this skill installed
Audit this MCP server for production security risks.
The server exposes these tools
-
run_command(command)
Executes the supplied command on the host operating system. -
read_file(path)
Reads a file from the server filesystem. -
fetch_url(url)
Fetches content from any URL supplied by the caller. -
get_customer(id)
Retrieves customer information from a shared database.
The server runs with a production service account. I don't see any per-tool authorization checks in the code. Please perform a complete MCP security audit, identify the most serious risks, calculate a 0–100 security score, provide remediation steps, and tell me whether this server is ready for production.
- Read your context and instructions
- Compiled the mcp security auditor
- Generated the document
MCP Security Audit
Executive Summary
Overall Risk: CRITICAL
Security Score: 0/100
Production Readiness: 🔴 NOT READY
The reviewed MCP server exposes several high-impact capabilities without visible authorization boundaries or sufficient restrictions. The most serious issue is arbitrary operating-system command execution through run_command(command), which can provide complete control of the server with the privileges of the production service account.
Additional risks include unrestricted filesystem access, unrestricted outbound URL fetching, and insufficient evidence of per-user authorization for customer data.
Immediate remediation is recommended before production deployment.
Attack-Surface Summary
| Tool | Capability | Primary Risk |
|---|---|---|
run_command | OS command execution | Arbitrary code execution |
read_file | Filesystem access | Sensitive file disclosure |
fetch_url | Outbound HTTP | SSRF/internal network access |
get_customer | Customer database access | Authorization/data exposure |
Critical Findings
[MCP-001] Arbitrary Command Execution
- Severity: CRITICAL
- Confidence: CONFIRMED
- Category: Command execution
- Affected component:
run_command - Evidence: The tool accepts a caller-controlled command and executes it on the host.
- Risk: A caller may execute arbitrary operating-system commands with the privileges available to the MCP server.
- Attack path: MCP client →
run_command→ shell/OS → server resources.
Recommended fix: Remove arbitrary shell execution. Replace it with narrowly scoped, allowlisted operations that expose only the required functionality.
Verification: In an isolated test environment, attempt representative disallowed commands and confirm that arbitrary execution is impossible.
- Priority: Immediate
High Findings
[MCP-002] Unrestricted Filesystem Access
- Severity: HIGH
- Confidence: CONFIRMED
- Category: Filesystem security
- Affected component:
read_file - Evidence: The tool accepts a filesystem path without a demonstrated allowlist or sandbox.
Risk: Sensitive application files, configuration files, credentials, or other host data could potentially be disclosed.
Recommended fix: Restrict access to an application-owned directory, canonicalize paths, reject traversal, and apply filesystem permissions or sandboxing.
Verification: Test normal paths, absolute paths, parent-directory traversal, encoded traversal, and symlink cases.
[MCP-003] Unrestricted Outbound URL Fetching
- Severity: HIGH
- Confidence: CONFIRMED
- Category: SSRF/network security
- Affected component:
fetch_url - Evidence: Arbitrary URLs are accepted from the caller.
Risk: The server may be abused to access internal services or other network destinations that should not be reachable.
Recommended fix: Apply destination allowlists, safe URL parsing, redirect restrictions, network egress controls, and appropriate timeouts.
- Verification: In a controlled environment, verify that unauthorized private/internal destinations are rejected.
[MCP-004] Missing Demonstrated Per-User Authorization
- Severity: HIGH
- Confidence: LIKELY
- Category: Authorization
- Affected component:
get_customer - Evidence: The supplied description states that per-tool authorization checks are not visible.
- Risk: One caller may potentially retrieve customer information belonging to another user or tenant.
Recommended fix: Enforce authorization server-side for every customer-data operation and derive identity from a trusted authentication mechanism rather than caller-supplied identifiers.
- Verification: Test authorized and unauthorized customer/tenant combinations.
Priority Remediation Plan
1. Remove unrestricted command execution
This is the highest-risk capability and should be eliminated or replaced with tightly scoped operations.
2. Establish server-side authorization
Every privileged tool should enforce authorization independently of client claims.
3. Restrict filesystem access
Implement an explicit filesystem boundary and reject traversal or symlink escapes.
4. Restrict outbound networking
Prevent arbitrary destinations and apply network-level egress controls.
5. Reduce production-service privileges
The MCP server should operate with the minimum permissions required for its intended functions.
Verification Plan
After remediation
- Test every privileged tool with an unauthorized identity.
- Test filesystem traversal and symlink escape attempts.
- Test blocked internal/private network destinations.
- Verify arbitrary shell commands cannot be executed.
- Test cross-tenant customer-data access.
- Confirm credentials are not returned through tool output or logs.
- Re-run the complete MCP security audit.
Production Decision
🔴 NOT READY FOR PRODUCTION
The unrestricted command execution capability alone represents a critical production risk. The server should not be deployed until the critical issue and authorization/network/filesystem risks have been remediated and independently verified.
Next action: Remediate the critical and high-priority findings, then perform a complete verification audit.
mcp-security-auditor.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
MCP Security Auditor performs a structured security review of Model Context Protocol servers and integrations. It analyzes exposed tools, authorization, least privilege, input validation, injection risks, filesystem and network access, data exposure, dependencies, transport security, logging, deployment, and abuse resistance.
The skill produces an evidence-based 0–100 security score, severity-ranked findings, realistic attack paths, practical remediation steps, verification guidance, and a clear production-readiness decision.
Designed for developers and AI-agent builders who want to identify security weaknesses before deploying an MCP server to production.
This is an AI-assisted security review workflow and does not replace professional penetration testing, formal certification, or dedicated security scanning.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install