Log inGet a Demo

ucp

High · Risk 70

The skill is critically insecure, enabling SSRF via unvalidated URL parameters, allowing remote code execution through unpinned dependencies, and lacking necessary security constraints on its network and tool access.

Findings (12)

Content Injection

High

targets Perception

2 findings
#1Indirect Prompt Injection via Platform Profile Fetchhighindirect prompt injection88% confidenceline 1393

The `negotiateCapabilities()` function fetches an attacker-controlled URL (`platform_profile_url`) and parses its JSON to determine active capabilities and version. An attacker hosting a malicious profile can manipulate capability negotiation outcomes or inject unexpected data into the checkout session flow.

const platformProfile = await response.json(); const platformCapabilities = new Set(platformProfile.ucp?.capabilities?.map((c: { name: string }) => c.name) || []);
#2Indirect prompt injection via spec repositorymediumindirect prompt injection80% confidenceline 37

The skill automatically clones and uses external content from a GitHub repository as a source for implementation logic, which could be manipulated to inject malicious code or instructions into the agent's workflow.

git clone --depth 1 https://github.com/Universal-Commerce-Protocol/ucp.git .ucp-spec

Semantic Manipulation

Medium

targets Reasoning

1 finding
#1Agent-Controlled Capability Inflation via Profile URLmediumoversight evasion80% confidence

Because `platform_profile_url` is accepted as optional input in MCP tool calls, a compromised or prompt-injected agent invocation can supply an attacker-controlled profile URL to silently alter which UCP capabilities are negotiated and active, bypassing the business's configured capability set without user awareness.

platform_profile_url: z.string().url().optional().describe('URL to the platform UCP profile for capability negotiation') ... const negotiation = await negotiateCapabilities(platform_profile_url);

Behavioural Control

High

targets Action

7 findings
#1SSRF via Unvalidated platform_profile_url in MCP Toolshighcommand execution92% confidence

Every MCP tool exposes `platform_profile_url` as an agent-controllable string parameter that flows directly into a server-side `fetch()` call with no host allowlist. This enables SSRF to internal services or cloud metadata endpoints (e.g., AWS IMDS at 169.254.169.254) from the Next.js server.

platform_profile_url: z.string().url().optional() ... const response = await fetch(platformProfileUrl, { headers: { Accept: 'application/json' } });
#2User input is used to construct a URL for a server-side HTTP request. This could allow an attacker to make requests to internal services or cloud metadata endpoints (Server-Side Request Forgery). Validate URLs against an allowlist of permitted hosts and schemes.mediumvuln95% confidenceline 14

User input is used to construct a URL for a server-side HTTP request. This could allow an attacker to make requests to internal services or cloud metadata endpoints (Server-Side Request Forgery). Validate URLs against an allowlist of permitted hosts and schemes.

taint source (line 7): process.argv[2] → sink: fetch(`${deploymentUrl}/api/mcp`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      jsonrpc: '2.0',
      id: 1,
      method: 'tools/call',
      params: {
        name: 'ucp_get_profile',
        arguments: {},
      },
    }),
  })
#3Untrusted data flows to an external API call without validation. Data from sources like window.name, document.location, or other client-controlled inputs is passed to library functions that may interpret it in unsafe ways. Validate or sanitize all untrusted input before passing it to external APIs.mediumvuln95% confidenceline 14

Untrusted data flows to an external API call without validation. Data from sources like window.name, document.location, or other client-controlled inputs is passed to library functions that may interpret it in unsafe ways. Validate or sanitize all untrusted input before passing it to external APIs.

taint source (line 7): process.argv[2] → sink: fetch(`${deploymentUrl}/api/mcp`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      jsonrpc: '2.0',
      id: 1,
      method: 'tools/call',
      params: {
        name: 'ucp_get_profile',
        arguments: {},
      },
    }),
  })
#4Unpinned dependency installationlowsupply chain90% confidence

The skill instructs the agent to install packages without version pinning (e.g., 'npm install zod jose uuid'), which exposes the project to supply chain attacks if a dependency is compromised.

npm install zod jose uuid
#5Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

#6Undeclared network usagelow60% confidence

Skill contains network access patterns (HTTP requests, socket connections) without declaring network capability in allowed-tools.

#7Unpinned mcp-handler Dependency Installlowsupply chain85% confidenceline 1487

The scaffold instructs installation of `mcp-handler` without a version pin (`npm install mcp-handler`), while the MCP SDK is pinned. The unpinned package resolves at install time and can deliver different code between runs if the package is compromised or updated maliciously.

npm install mcp-handler @modelcontextprotocol/sdk@1.25.2 zod

Hygiene

Info

targets Packaging & Manifest

2 findings
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.

#2Missing or insufficient descriptioninfo100% confidence

Skill description is empty or too short. A clear description helps users evaluate the skill's purpose.