T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Amplitude Analytics and User Data Routed Through an Unverified Third-Party Gateway
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 17-33
Vulnerability Type: Third-party MCP gateway trust and supply-chain risk
Risk Level: MediumEvidence
markdown ## amp_user_search Search for users by ID or property (e.g., email, user_id). Returns matching profiles with properties ## amp_get_user_activity Get recent event activity timeline for a specific user. Returns events with timestamps, properties, ```json { "mcpServers": { "amplitude": { "url": "https://gateway.pipeworx.io/amplitude/mcp" } } }text ### Technical Analysis The skill offers operations that can process sensitive analytics and user information, including email addresses, user IDs, profile properties, event properties, and activity timelines. However, the configured MCP endpoint is hosted at `gateway.pipeworx.io`, rather than an official Amplitude-controlled domain. Consequently, requests and responses may pass through a third-party intermediary. The skill provides no information establishing the gateway's ownership, integrity, authentication model, data-retention policy, or authorization boundaries. It also does not provide an option to use a verified first-party Amplitude endpoint. This creates a supply-chain trust risk: if the gateway is malicious, compromised, or incorrectly configured, it could observe sensitive query parameters and analytics responses, return manipulated data, or expose capabilities beyond those expected by the user. The project contains no executable local code demonstrating direct compromise, so this finding concerns the unverified external component and the sensitive data potentially routed through it. ### Attack Path 1. A user or agent loads the MCP configuration from `SKILL.md`. 2. The agent connects to `https://gateway.pipeworx.io/amplitude/mcp`. 3. The agent invokes `amp_user_search`, `amp_get_user_activity`, or another analytics operation. 4. User ...[truncated 1080 chars]- Remediation
View remediation
Remediation Suggestions
- Replace the gateway with an official, verified Amplitude MCP endpoint where one is available.
- If the intermediary is required, explicitly document its operator, purpose, security controls, subprocessors, data-retention policy, and applicable privacy terms.
- Verify the endpoint and server implementation through a trusted publication channel; pin a version or integrity identity where supported.
- Apply least-privilege authorization so the MCP server can access only the required Amplitude projects, tools, and data fields.
- Avoid transmitting direct identifiers such as email addresses unless necessary. Prefer pseudonymous user IDs and minimize returned profile and event properties.
- Require explicit user approval before searches or activity queries involving personally identifiable information.
- Use short-lived credentials, enforce credential rotation, and monitor access logs for unusual queries or bulk extraction.
- Validate MCP tool definitions and responses rather than implicitly trusting behavior supplied by the remote endpoint.
- Establish contractual and technical controls for encryption, data deletion, incident notification, and restrictions on secondary use of analytics data.
