mdn/mcp
MDN's prototype MCP server
f318a1a137be@mdn/mcp0.0.1 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- 2 of 5 tools, prompts and resources could not be followed through the code
Top risks in plain words
- MEDIUM2 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
uuid11.1.1 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 5 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get-compat, get-doc, searchNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
3 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses3 tools · get-compat, get-doc, search
Not all three are present in the tools the scanner traced.
Tool annotations
3 of 5 tools declare annotations. readOnlyHint 3, idempotentHint 3.
Each declaration matches what the traced code does.
Tools, prompts and resources (5: 5 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get-compattool Retrieve MDN's Browser Compatibility Data.Networkoutside textread-only (declared)
Retrieve MDN's Browser Compatibility Data.
get-doctool Retrieve a page of MDN documentation as markdown.Networkoutside textread-only (declared)
Retrieve a page of MDN documentation as markdown.
searchtool Search MDN for documentation about web technologies.Networkoutside textread-only (declared)
Search MDN for documentation about web technologies.
wrappedCallbacktool
No description.
wrappedCallbacktool
No description.
Text the model reads (5)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
wrappedCallback tool
wrappedCallback tool
get-compat tool
Retrieve MDN's Browser Compatibility Data.
get-doc tool
Retrieve a page of MDN documentation as markdown.
search tool
Search MDN for documentation about web technologies.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that call the network3 of 5 capabilities call the network
Where the code is: 5 handlers in 5 files at commit f318a1a137be
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM2 production packages with known advisories
- Known vulnerabilities in other dependencies2 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/inspector ^2.15.0 (dev), @modelcontextprotocol/sdk ^1.32.2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (2 in production)
insanenpm 2.6.2 MEDIUM 1 advisory no fix yet
- MEDIUMGHSA-w455-mfq9-hf74 CVE-2020-26303insane vulnerable to Regular Expression Denial of Service
uuidnpm 9.0.1 MEDIUM 1 advisory 11.1.112.0.113.0.1
- MEDIUMGHSA-w5hq-g745-h8pq CVE-2026-41907 CVE-2026-41988uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
2 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
undicinpm 8.0.2 HIGH 30 advisories 6.27.06.28.06.28.1+10 more
- HIGHGHSA-w293-vg96-wgc3 CVE-2026-84961undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool
- HIGHGHSA-xjj6-f33q-929c CVE-2026-109869undici vulnerable to Denial of Service via unhandled error on excessive content-encodings
- HIGHGHSA-2m5v-pch6-74hx CVE-2026-109383undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
- HIGHGHSA-qrxm-fqhp-jwvm CVE-2026-87018undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
- HIGHGHSA-rfgv-xxqx-mfg5 CVE-2026-19534undici vulnerable to Denial of Service via unrequested WebSocket subprotocol
- HIGHGHSA-38rv-x7px-6hhq CVE-2026-9675undici WebSocket client vulnerable to denial of service via cumulative fragment bypass
- HIGHGHSA-hm92-r4w5-c3mj CVE-2026-6734undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse
- HIGHGHSA-vmh5-mc38-953g CVE-2026-9697undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
- HIGHGHSA-vxpw-j846-p89q CVE-2026-12151undici WebSocket client vulnerable to denial of service via fragment count bypass
- HIGHGHSA-4cwx-7wf7-3272 CVE-2026-13697undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
- HIGHGHSA-4w7w-5xrc-9h26 CVE-2026-109829undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects
- MEDIUMGHSA-jr45-8vmc-qm54 CVE-2026-14643undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives
- MEDIUMGHSA-55wc-3pg8-jfw6 CVE-2026-87029undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
- MEDIUMGHSA-pr7r-676h-xcf6 CVE-2026-9678undici vulnerable to cross-user information disclosure via shared cache whitespace bypass
- MEDIUMGHSA-4qv8-2p9j-2685 CVE-2026-109924undici vulnerable to Denial of Service via unbounded memory in the EventSource parser
- MEDIUMGHSA-f72v-6w45-q472 CVE-2026-109841undici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokens
- MEDIUMGHSA-rx4f-c7p8-82vq CVE-2026-85014undici vulnerable to Denial of Service via WebSocketStream unclean close
- MEDIUMGHSA-3xpg-4rpp-hhhm CVE-2026-84890undici vulnerable to Denial of Service via unbounded decompression of compressed responses
- MEDIUMGHSA-8xcm-r25x-g524 CVE-2026-16728undici vulnerable to downstream response desynchronization via retry interceptor
- MEDIUMGHSA-2jfj-6hjv-fm6j CVE-2026-84933undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches
- MEDIUMGHSA-pmjh-fq2x-6v4x CVE-2026-18149undici vulnerable to Denial of Service via orphaned RetryHandler response body
- MEDIUMGHSA-v3r7-h72x-cjcm CVE-2026-16729undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields
- MEDIUMGHSA-m8rv-5g2x-5cg5 CVE-2026-15157undici vulnerable to CRLF Injection via blob-like body 'type' property
- MEDIUMGHSA-9fm3-97px-rjf6 CVE-2026-109932undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering
- MEDIUMGHSA-p88m-4jfj-68fv CVE-2026-9679undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
- LOWGHSA-2gqq-gqf2-x968 CVE-2026-84947undici vulnerable to response truncation via oversized chunked responses in the dump interceptor
- LOWGHSA-35p6-xmwp-9g52 CVE-2026-6733undici vulnerable to HTTP response queue poisoning via keep-alive socket reuse
- LOWGHSA-g8m3-5g58-fq7m CVE-2026-11525undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching
- LOWGHSA-8436-99hf-9mmv CVE-2026-85008undici vulnerable to caching and replay of unsafe HTTP method responses
- LOWGHSA-r53p-7pc4-xj5r CVE-2026-18540undici vulnerable to downstream response splitting via retry interceptor
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/inspector ^2.15.0 (dev), @modelcontextprotocol/sdk ^1.32.2 |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-13 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MPL-2.0 |
| Created | 2025-10-03 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.