OWASP MCP Top 10 mapped to gateway controls
The OWASP MCP Top 10 lists ten risks of systems built on the Model Context Protocol, numbered MCP01:2025 to MCP10:2025. The project describes itself as being in “Phase 3, Beta Release and Pilot Testing”, so names and scope can still change. This page uses the item names as the project page showed them on 2026-11-13. One example of the drift: the page calls MCP06 “Prompt Injection via Contextual Payloads”, while the file it links to in the project repository is named “Intent Flow Subversion”.
A gateway controls only what passes through it. Several items are about the MCP client, the model or third-party server code, and for those the table names what is left to you.
The mapping
Section titled “The mapping”| Item | Risk in short | What the platform does | What it does not cover | Details |
|---|---|---|---|---|
| MCP01:2025 Token Mismanagement & Secret Exposure | Hard-coded or long-lived tokens, secrets in model context or logs | The workstation holds only an identity provider token with the audience mcp-gateway, which never reaches a target system. Each user’s credential for each system is kept in OpenBao, encrypted with a Transit key, and no endpoint returns it to a browser. The gateway adds it to the call, the server starter removes it from messages and log lines, and audit has no field for it. Tokens to servers live 30 seconds and are single use |
How long a personal token the user pastes into the portal is valid is decided by the user and the target system. Service account keys live until rotated (optional expires_at). A secret that sits in the data of a system (a password in a wiki page) is returned to the model like any other text |
Security model, Systems |
| MCP02:2025 Privilege Escalation via Scope Creep | Permissions that grow over time | Access needs a role group per system and risk (mcp-<system>-read, -write, -destructive) and, for writes, a scope in the scope mapping. A tool may require an extra group, which only narrows. The address filter only narrows. A new or changed tool definition, new policies and a lowered risk all wait for an administrator, and a risk lowering needs a fresh MFA and leaves risk_lowered_by_admin in audit |
No expiry or recertification of group membership: that belongs to the identity provider or your IGA process. mcp-platform-admin cannot be split per system. With a personal credential, the user’s own rights in the target system remain the upper limit |
Access, Servers |
| MCP03:2025 Tool Poisoning | A compromised tool, its description or its output | Every tool definition is pinned by its hash. A different definition hides the tool until an administrator approves it, and the portal shows hidden characters as [U+XXXX] markers. Servers built on the starter return text from the backend as untrusted-data and strip control, bidi and zero-width characters from it |
Approval is a human review: the platform does not judge whether a description is malicious. Poisoned data inside a system (a Jira comment written for the model) still reaches the model, only marked as data | Servers, Security model |
| MCP04:2025 Software Supply Chain Attacks & Dependency Tampering | A compromised dependency or server | The Compose bundle names third-party images by digest and its own images by version tag. The release of each component, and of a server generated from the template, publishes an SBOM. A server connection is trusted by CA or by a pinned certificate fingerprint, and a manifest is accepted only from the address the administrator entered | Images are not signed. There is no vulnerability scanning of images or of the servers you add. What is inside a third-party server is its maintainer’s responsibility | Offline installation, Third-party server |
| MCP05:2025 Command Injection & Execution | The agent builds system commands from model output | The gateway runs no commands and starts no local processes: servers are separate programs reached over HTTP(S). It refuses server addresses that resolve to loopback, link-local or cloud metadata addresses. The starter checks every call against the tool’s input schema, and refuses at startup a schema without limits (open objects, strings without maxLength, unanchored patterns) |
What a server does with valid arguments is its own code. A third-party server that passes an argument to a shell is not sandboxed by the platform | Errors and limits, Server from the template |
| MCP06:2025 Prompt Injection via Contextual Payloads | Instructions hidden in content the model reads | Tools with the risk Write or Delete need a one-time code from the user’s Authenticator on every call (120 seconds, 3 attempts), which never reaches the server. Per-user credentials and the scope mapping limit what an injected instruction can reach. Backend text is marked as untrusted-data |
No detection or filtering of injected instructions. Whether the model treats marked text as data depends on the client and the model. Tools with the risk Read run without a code | Confirm an operation, Access |
| MCP07:2025 Insufficient Authentication & Authorization | Missing or weak checks of who calls what | Users sign in at the identity provider. The gateway accepts only tokens for mcp-gateway from clients listed in MCP_ALLOWED_CLIENTS. Each call to a server carries a new ES256 token with that server as audience. Policies are checked at the gateway and again at the server on the resolved resource. Unknown and forbidden tools get the same not_found_or_denied. Administration needs mcp-platform-admin, a fresh MFA for changes that widen access, and the admin API accepts only the portal’s client certificate |
No mutual TLS between the gateway and a server: trust on that leg is a CA or a pinned certificate. Password policy and MFA for ordinary users are set in the identity provider | Authentication, Security model |
| MCP08:2025 Lack of Audit and Telemetry | Too little data for investigation | Every component writes JSON audit events with a shared requestId, the policy revision, the decision and the outcome, and Prometheus metrics. Administration changes are recorded with the administrator and the hash of what was approved |
The platform stores nothing beyond 30 days of users’ own activity: retention, search and tamper resistance are your log system’s job. Argument values and results are never logged, so audit shows that a page was written, not what was in it | Audit, Audit logging and SIEM export |
| MCP09:2025 Shadow MCP Servers | Unapproved MCP servers in use | The gateway serves only servers an administrator added, and the connection, the policies and each tool definition wait for approval. A server cannot register or approve itself. An emergency switch removes a server or tool for everyone within 5 seconds | The gateway does not see servers a user configures directly in the client (a local process or another URL). Stopping that needs managed client configuration and network rules outside the platform | Servers, Emergency switches |
| MCP10:2025 Context Injection & Over-Sharing | Context that is shared or scoped too widely | Each call runs with the user’s own credential, so a result holds only what that user may see in the system, and the scope mapping can narrow it further. Servers filter result lists by policy (up to 200 elements) and cap a result at 1 MB | What the client keeps in its context, memory or shared conversations is outside the gateway. There is no redaction of personal data in results | Access, Errors and limits |
Gaps in one place
Section titled “Gaps in one place”If you use this table for a risk assessment, these are the points to cover with other controls:
- The client. Local MCP servers, client memory and what the model does with a result are not visible to the gateway (MCP06, MCP09, MCP10).
- Content. The platform marks backend text as data and asks for a code before a write or a delete. It does not detect prompt injection and does not redact secrets or personal data in results (MCP01, MCP06, MCP10).
- Third-party server code. Approval pins what a server declares, not what its code does (MCP03, MCP04, MCP05).
- Identity lifecycle. Group membership, its review and user MFA live in the identity provider (MCP02, MCP07).
- Log retention and integrity. Belong to your SIEM (MCP08).
- Artifact signing. Releases come with an SBOM, not a signature (MCP04).
The security model describes what the platform guarantees and how it fails closed when a component is down.
