Kargatharaakash/stitch-mcp
Universal MCP Server for Google Stitch. Connect AI agents to your UI designs.
0b6dfa4b3a2bstitch-mcp1.3.2 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
Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.
- Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
- Behavior Transparency: no tool description could be read to compare with the code
- 2 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- CRITICAL9 production dependencies have known vulnerabilities (worst: critical).
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
@hono/node-server1.19.18 or later,@modelcontextprotocol/sdk1.32.0 or later,ajv8.18.0 or later,body-parser2.4.0 or later and 5 more. - 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 2 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.
(name computed at run time)(name computed at run time)No tool was seen to: start other programs on the machine; 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.
stitch.googleapis.com· (name computed at run time)
Constants or settings that start an address; the value comes from configuration.
obj.downloadUrl· (name computed at run time)
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.
4 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 responses1 tool · (name computed at run time)
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (2: 2 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)tool FilesNetworkoutside text
No description.
(name computed at run time)tool FilesNetworkoutside text
No description.
Text the model reads (2)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
(name computed at run time) tool
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 — 2 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 2 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 2 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 2 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 2 tool handlers traced
- Tools that start processesNot seen in the traced code of 2 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 2 capabilities touch files
- Tools that call the network2 of 2 capabilities call the network
Where the code is: 2 handlers in 1 file at commit 0b6dfa4b3a2b
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL9 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK version@modelcontextprotocol/sdk ^1.0.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 2 capabilities; 2 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 executionNot checked: no tool description could be read to compare with the code
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- 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 (9 in production)
proxy-addrnpm 2.0.7 CRITICAL 1 advisory 2.0.8
- CRITICALGHSA-jqcg-44mw-7w3h CVE-2026-90711proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
fast-urinpm 3.1.0 HIGH 12 advisories 2.4.12.4.22.4.3+21 more
- HIGHGHSA-7p8r-x3mc-p8w7 CVE-2026-18446fast-uri vulnerable to host confusion via backslash authority introducer
- HIGHGHSA-qw65-cvwx-89v3 CVE-2026-84292fast-uri vulnerable to authority injection via an unvalidated port in serialize
- HIGHGHSA-v2hh-gcrm-f6hx CVE-2026-16221fast-uri vulnerable to host confusion via literal backslash authority delimiter
- HIGHGHSA-q3j6-qgpj-74h6 CVE-2026-6321fast-uri vulnerable to path traversal via percent-encoded dot segments
- HIGHGHSA-jqff-g426-hqxp CVE-2026-76172fast-uri vulnerable to host confusion via percent-encoded scheme normalization
- HIGHGHSA-4c8g-83qw-93j6 CVE-2026-13676fast-uri vulnerable to host confusion via failed IDN canonicalization
- HIGHGHSA-v39h-62p7-jpjc CVE-2026-6322fast-uri vulnerable to host confusion via percent-encoded authority delimiters
- HIGHGHSA-f65p-4m7j-42xc CVE-2026-75975fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization
- MEDIUMGHSA-hrr3-gc8f-f4qj CVE-2026-86472fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
- MEDIUMGHSA-w74x-v6f9-j3xg CVE-2026-110306fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding
- LOWGHSA-xhq7-xmqj-769h CVE-2026-110095fast-uri vulnerable to improper path equivalence in relative reference normalization
- LOWGHSA-333x-w4r6-6crp CVE-2026-110725fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references
@modelcontextprotocol/sdknpm 1.25.2 HIGH 7 advisories 1.26.01.30.11.31.0+1 more
- HIGHGHSA-345p-7cg4-v4c7 CVE-2026-25536@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
- HIGHGHSA-46jr-4wx8-v453 CVE-2026-111768MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
- HIGHGHSA-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- HIGHGHSA-6qxp-vccf-f47h CVE-2026-104850MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- HIGHGHSA-22jm-h49p-29qw CVE-2026-111767MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
- MEDIUMGHSA-rvq5-wwqv-78pq CVE-2026-111771MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
- MEDIUMGHSA-6prh-2h8m-c8cw CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
@hono/node-servernpm 1.19.9 HIGH 4 advisories 1.19.101.19.131.19.15+3 more
- HIGHGHSA-wc8c-qw6v-h7f6 CVE-2026-29087@hono/node-server has authorization bypass for protected static paths via encoded slashes in Serve Static Middleware
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
- MEDIUMGHSA-frvp-7c67-39w9Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
- MEDIUMGHSA-92pp-h63x-v22m CVE-2026-39406@hono/node-server: Middleware bypass via repeated slashes in serveStatic
body-parsernpm 2.2.2 HIGH 2 advisories 1.20.61.20.92.3.0+1 more
- HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
- LOWGHSA-v422-hmwv-36x6 CVE-2026-12590body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
path-to-regexpnpm 8.3.0 HIGH 2 advisories 8.4.0
- HIGHGHSA-j3q9-mxjg-w52f CVE-2026-4926path-to-regexp vulnerable to Denial of Service via sequential optional groups
- MEDIUMGHSA-27v5-c462-wpq7 CVE-2026-4923path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards
zodnpm 4.3.5 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
qsnpm 6.14.1 MEDIUM 4 advisories 6.14.26.15.26.16.0+1 more
- MEDIUMGHSA-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
- MEDIUMGHSA-6pq8-jhm2-2vcw CVE-2026-110816qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)
- MEDIUMGHSA-q8mj-m7cp-5q26 CVE-2026-8723qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set
- LOWGHSA-w7fw-mjwx-w883 CVE-2026-2391qs's arrayLimit bypass in comma parsing allows denial of service
ajvnpm 8.17.1 MEDIUM 1 advisory 6.14.08.18.0
- MEDIUMGHSA-2g4f-4pwh-qvx6 CVE-2025-69873ajv has ReDoS when using `$data` option
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 | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.0.0 |
| Servers in the code | 1 (stitch) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-02-13 |
| Signed releases | not checked yet |
Install it
For the server's own npm package stitch-mcp. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"stitch-mcp": {
"command": "npx",
"args": [
"-y",
"stitch-mcp"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"stitch-mcp": {
"command": "npx",
"args": [
"-y",
"stitch-mcp"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"stitch-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stitch-mcp"
]
}
}
}Claude Code terminal
claude mcp add stitch-mcp -- npx -y stitch-mcpWhere it is published
| npm package | stitch-mcp |
|---|---|
| Downloads | 2 397 a month on npm |
| Listed in | 5 catalogs (github_search, glama, mcp_toplist, mcpservers_org, npm) |
| License | Apache-2.0 |
| Created | 2026-01-19 |
| Topics | agents design mcp stitch stitch-mcp ui ui-ux |
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.