Generated banner for Owasp MCP
Generated logo for Owasp MCP

Owasp MCP

MicrosoftOfficialPublished by Microsoft

  • Skill
  • Guidelines
  • Security
  • CC-BY-SA-4.0
  • Medium risk

From the author

OWASP MCP Top 10 knowledge base for identifying, assessing, and remediating Model Context Protocol security risks.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The owasp-mcp skill provides a comprehensive, machine-readable reference for the OWASP MCP Top 10 (2025). It is designed to help developers and security professionals identify, assess, and remediate common security vulnerabilities inherent in Model Context Protocol architectures. By structuring these risks into standardized documents, the skill enables AI agents to perform security audits, provide defensive guidance, and suggest remediation strategies for issues ranging from credential mismanagement to tool poisoning and shadow server deployment.

What it does

  • Provides a structured index of the OWASP MCP Top 10 security vulnerabilities.
  • Offers detailed descriptions, impact assessments, and vulnerability checklists for each risk.
  • Supplies defensive design patterns and prevention controls for MCP architectures.
  • Includes realistic attack scenarios to help visualize potential exploitation paths.
  • Provides actionable detection signals and remediation steps for security incidents.

When to use it

  • During the design phase of an MCP server or client to implement secure-by-design principles.
  • When auditing an existing MCP implementation for potential security gaps.
  • To train or prompt an AI agent to assist in identifying security risks within an MCP-based workflow.
  • When responding to a suspected security incident involving MCP tool calls or context sharing.

Advantages

  • Aligned with industry-standard OWASP security research.
  • Structured for machine-readability, making it ideal for AI-assisted security analysis.
  • Covers a broad spectrum of risks specific to the Model Context Protocol ecosystem.
  • Provides clear, actionable remediation guidance for developers.

Usage examples

“What are the security risks associated with tool poisoning in an MCP environment?”
The agent will reference the MCP03:2025 documentation to explain the risks of tool poisoning, provide a checklist for identifying vulnerable configurations, and suggest prevention controls.
“How can I prevent secret exposure in my MCP server implementation?”
The agent will retrieve the MCP01:2025 reference to outline best practices such as using secure vaults, enforcing short-lived tokens, and implementing log redaction.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/microsoft/owasp-mcp/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip owasp-mcp.zip -d .agents/skills

Documentation by Microsoft

OWASP® MCP Top 10 — Skill Entry

This SKILL.md is the entrypoint for the MCP Vulnerabilities skill.

The skill encodes the OWASP MCP Top 10 (2025) as structured, machine-readable references that an agent can query to identify, assess, and remediate MCP security risks.

Normative references (MCP Top 10)

  1. 00 Vulnerability Index

  2. 01 Token Mismanagement and Secret Exposure

  3. 02 Privilege Escalation via Scope Creep

  4. 03 Tool Poisoning

  5. 04 Software Supply Chain Attacks and Dependency Tampering

  6. 05 Command Injection and Execution

  7. 06 Prompt Injection via Contextual Payloads

  8. 07 Insufficient Authentication and Authorization

  9. 08 Lack of Audit and Telemetry

  10. 09 Shadow MCP Servers

  11. 10 Context Injection and Over-Sharing

Skill layout

  • SKILL.md — this file (skill entrypoint).

  • references/ — the MCP Top 10 normative documents.

    • 00-vulnerability-index.md — index of all vulnerability identifiers, severities, and cross-references.

    • 01 through 10 — one document per vulnerability aligned with OWASP MCP numbering.

Third-Party Attribution

Copyright © OWASP Foundation. OWASP® MCP Top 10 content is derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Source: https://owasp.org/www-project-mcp-top-10/ Modifications: Vulnerability descriptions restructured into agent-consumable reference documents with added detection and remediation guidance. OWASP® is a registered trademark of the OWASP Foundation. Use does not imply endorsement.

Files

references/09-shadow-mcp-servers.md


title: 'MCP09: Shadow MCP Servers' description: OWASP MCP Top 10 reference for shadow server vulnerabilities including unapproved MCP deployments and governance bypass patterns

09 Shadow MCP Servers

Identifier: MCP09:2025 Category: Governance

Description

Shadow MCP Servers are unapproved or unsupervised deployments of Model Context Protocol instances operating outside the organization's formal security governance. These rogue MCP nodes are spun up by developers, research teams, or data scientists for experimentation, testing, or convenience, frequently using default credentials, permissive configurations, or unsecured APIs. MCP servers expose sensitive capabilities such as data retrieval, tool execution, or model control. Unsanctioned deployments become invisible backdoors into enterprise systems, bypassing centralized authentication, monitoring, and data governance controls.

Impact

  • Sensitive data processed by rogue MCPs may be accessed or exfiltrated.

  • Shadow servers create unmonitored endpoints vulnerable to RCE, injection, or context poisoning.

  • Violations of internal governance and external regulations (GDPR, PCI DSS, SOC 2).

  • Inconsistent security posture with missing patches or weak defaults.

  • Untracked servers delay containment and forensics during security incidents.

  • Unsanctioned plugins can introduce malicious dependencies into production pipelines.

Vulnerability checklist

  • Teams can deploy MCP servers without central registration or security review.

  • No asset inventory or endpoint discovery process exists for internal APIs.

  • Network monitoring shows unauthorized services on unusual ports (8000, 8080).

  • No automated MCP discovery scan covers subnets or cloud environments.

  • MCP configurations are managed independently by individual teams.

  • No governance or change management workflow exists for new AI infrastructure.

  • Developers use test environments connected to production data sources.

Prevention controls

  1. Create a centralized MCP registry where every instance must be registered before deployment.

  2. Tie registration to CI/CD pipelines so unregistered instances fail deployment.

  3. Maintain metadata per instance (owner, purpose, version, endpoints, compliance state).

  4. Use network discovery tools to detect open MCP ports and endpoints.

  5. Deploy passive network sensors to identify MCP traffic patterns.

  6. Publish secure-by-default MCP configuration templates.

  7. Require all instances to integrate with central IAM providers (SSO, LDAP, OIDC).

  8. Apply network segmentation (VPC-level controls, firewall rules).

  9. Correlate telemetry to identify MCP-related API traffic from unknown hosts.

  10. Include MCP registration requirements in development onboarding documentation.

Example attack scenarios

Scenario A — Internal exposure via indexing

A developer's test MCP instance is indexed by an internal search engine. Another user discovers unprotected APIs and downloads customer datasets.

Scenario B — External compromise

A shadow MCP on a cloud VM uses an outdated framework version. Attackers exploit the vulnerable endpoint and plant a backdoor that spreads laterally.

Scenario C — Plugin supply chain contamination

A research team installs experimental plugins from GitHub into their shadow MCP. The plugin uploads API keys to an external C2 server.

Scenario D — Data poisoning through unvetted connectors

A rogue MCP pulls experimental data from an external partner API. Manipulated entries propagate into model retraining pipelines, corrupting production outputs.

Detection signals

  • Unregistered hosts exposing /mcp or similar routes.

  • Unknown or self-signed certificates in network scans.

  • Anomalous outbound traffic from R&D subnets.

  • MCP API patterns detected in unexpected network zones.

  • Agents invoking unknown or duplicate MCP endpoints.

Remediation

  • Contain detected shadow MCPs (disable network access, snapshot for forensics).

  • Identify owners and isolate associated credentials or API keys.

  • Review logs and assess data exposure or leakage.

  • Remove unapproved plugins, schemas, or connectors.

  • Enforce registration and compliance checks before re-enabling access.

Requirements and compatibility

Written for: GitHub Copilot, Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Claude Code frontmatter, Needs an MCP server

Security

What our scanner noticed· Medium risk

  • References to credential files

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/hve-core · .github/skills/security/owasp-mcp · commit f425e94
Licence
Creative Commons Attribution-ShareAlike 4.0 International (redistribution allowed)
  • LICENSE (written by AutoGineer)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Microsoft or Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-mcp.zip