MS

    MCP Security Audit Checklist

    by Khristian Kopachelli

    1

    Pre-publish security audit checklist for MCP servers and agent skills — secret leakage, prompt injection, tool poisoning, excessive permissions, and exfiltration paths.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    MS

    MCP Security Audit Checklist

    Example session with this skill installed

    Audit my MCP server before I publish it. It has 4 tools: read_file, write_file, fetch_url, and run_shell. Check for leaked secrets, tool poisoning in the descriptions, and dangerous permissions.

    • Read your context and instructions
    • Compiled the mcp security audit

    MCP Security Audit: fs-tools server

    SeverityFindingLocation
    Criticalrun_shell accepts arbitrary commands with no allowlist — full RCE on the hosttools/run_shell
    Highfetch_url has no SSRF protection — can reach internal hosts and the cloud metadata endpointtools/fetch_url
    Mediumread_file allows ../../ traversal outside the workspace roottools/read_file
    Lowwrite_file description contains imperative text ("always backup before writing") — borderline tool poisoning patterntools/write_file

    Verdict

    Do not publish as-is. Two reject-immediately findings: unrestricted shell execution and unguarded URL fetching. Fix by constraining run_shell to an allowlist of commands, adding private-IP/metadata blocking to fetch_url, and rooting read_file/write_file to the workspace directory.

    Next steps

    1. Replace run_shell with specific tools (git_status, run_tests) instead of raw shell.
    2. Add an SSRF guard: resolve host, reject private/link-local ranges.
    3. Re-run the hostile-input test after fixes — traversal and metadata probes should all fail cleanly.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Agent tooling runs with user privileges and context. A malicious or sloppy MCP server can exfiltrate files, inject instructions, or leak secrets. This skill is the review checklist for both publishing your own server/skill and vetting someone else's before installing.

    What it does

    • Secrets & credentials audit — scans for hardcoded keys, .env leakage, secrets in README examples, and verifies the built npm artifact (not just source) is clean.
    • Tool surface review — checks every tool description for hidden instructions (tool poisoning), validates that URL/path/command inputs are constrained, and flags outputs that leak server internals.
    • Permission scoping — verifies minimum-necessary capability, documents every outbound network host, and cross-references payment flows with x402 audit patterns.
    • Supply chain checks — pinned dependencies, justified postinstall scripts, license presence.
    • Vetting red flags — imperative text in tool descriptions, unneeded credential requests, obfuscated code, anonymous authors with broad filesystem tools.
    • Dynamic hostile-input test — run the server, call tools/list, then probe each tool with path traversal, cloud metadata, and command injection payloads.

    How it works

    1. Walk the pre-publish checklist section by section against your package.
    2. For vetting, apply the red-flag list first — any hit is an automatic reject.
    3. Run the dynamic test: list tools, read descriptions as instructions, fire hostile inputs.
    4. Rate findings on the severity quick-list: credential exfiltration and tool poisoning are reject-immediately.

    Why this beats prompting it yourself

    Generic prompts produce generic advice. This skill encodes the specific failure modes that actually hit MCP servers — tool poisoning via description injection, npm package hygiene gaps, and the difference between a marketplace scan passing and a real security review.

    Use cases

    • Certify your MCP server before listing it on Glama, mcprush, or Agensi.
    • Vet an untrusted MCP server before installing it into your agent.
    • Audit agent skills for hidden exfiltration or permission abuse.

    Known limitations

    Static checklist — it doesn't include automated scanning scripts. Dynamic testing requires you to run the target server yourself.

    How to use

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

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 5 days ago

    Permissions

    Network Access
    Environment Variables
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Pre-publish security audit checklist for MCP servers and agent skills — secret leakage, prompt injection, tool poisoning, excessive permissions, and exfiltration paths.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use MCP Security Audit Checklist on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.