Back to skill

Security audit

Pipeworx movies

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent movie and TV search MCP connector, but its setup runs a mutable remote npm package locally and routes requests through a third-party gateway.

Review this carefully before installing. Prefer a pinned, reviewed version of `mcp-remote`, run it with minimal filesystem and environment access, and avoid sending personal or confidential search content through the Pipeworx gateway unless you accept that third-party trust boundary.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:24
Finding

Unpinned Remote Package Download and Execution

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 24-25
Vulnerability Type: Unpinned dependency and mutable remote payload execution
Risk Level: High

json
{
  "mcpServers": {
    "pipeworx-movies": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/movies/mcp"]
    }
  }
}

Technical Analysis

The documented configuration invokes npx with the -y option and executes mcp-remote@latest. The latest tag is mutable, so the code downloaded and executed in the future may differ from the code available when this skill was reviewed. The -y option suppresses the normal installation confirmation.

This creates both a remote payload execution risk and a software supply-chain risk. If the package, its publication account, its dependencies, or the package registry is compromised, following the documented instructions can result in attacker-controlled JavaScript executing with the permissions of the user running the MCP client.

Attack Path

  1. An attacker compromises the mcp-remote package, its maintainer account, one of its transitive dependencies, or the package distribution channel.
  2. The attacker publishes a malicious release and causes the mutable latest tag to resolve to it.
  3. A user or agent follows the configuration in SKILL.md.
  4. npx -y downloads the current package without interactive approval and runs its lifecycle or application code.
  5. The malicious package executes locally with the invoking process's permissions.

Impact Assessment

Successful exploitation could provide arbitrary code execution under the account that launches the MCP server. Depending on that account's permissions and environment, the payload could read accessible files and environment variables, steal credentials, modify user-owned data, or make unauthorized network requests. The repository does not itself request elevated privileges, so the ...[truncated 77 chars]

Remediation
View remediation

Remediation Suggestions

  • Replace mcp-remote@latest with a specific, reviewed version.
  • Use a lockfile and package-manager integrity metadata to verify the exact package contents.
  • Avoid automatic confirmation through npx -y where practical, particularly for first-time installation.
  • Document the authoritative package publisher and expected package checksum.
  • Review the selected release and its transitive dependencies before deployment.
  • Run the MCP process in a sandbox or container with minimal filesystem, environment-variable, and network access.
  • Establish a controlled update process in which new versions are reviewed before the pinned version is changed.

other

Note
Location
SKILL.md:11
Finding

Undisclosed Routing of Requests Through a Third-Party MCP Gateway

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 11-27
Vulnerability Type: External data routing and third-party trust boundary
Risk Level: Low

markdown
Movies MCP — wraps iTunes Search API (movies, free, no auth) and TVmaze API (TV shows, free, no au. Free, no API key. Part of [Pipeworx](https://pipeworx.io).

## Tools

- `search_movies`
- `search_tv_shows`
- `get_tv_show`
- `get_tv_schedule`

## Connect

```json
{
  "mcpServers": {
    "pipeworx-movies": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/movies/mcp"]
    }
  }
}
text

### Technical Analysis

Although the skill describes itself as a wrapper for the iTunes Search and TVmaze APIs, the supplied configuration connects to the externally operated `gateway.pipeworx.io` MCP endpoint. Consequently, movie and television search terms, MCP protocol messages, and connection metadata are transmitted through Pipeworx rather than directly to the named upstream APIs.

The document does not explain this trust boundary or state how requests are logged, retained, correlated, or protected. Responses and exposed MCP behavior are also controlled by the remote gateway. This is primarily a privacy and remote-service trust issue; the reviewed file does not establish that the gateway is malicious or that sensitive information is intentionally collected.

### Attack Path

1. A user configures the MCP server using the documented Pipeworx gateway URL.
2. The user or agent submits movie or television queries through one of the listed tools.
3. The local MCP client forwards the requests and associated connection metadata to the third-party gateway.
4. The gateway can observe and process those requests before contacting any upstream service.
5. If the gateway is compromised or operated contrary to user expectations, it could retain query data or return manipulated MCP responses.

### Impact 
...[truncated 454 chars]
Remediation
View remediation

Remediation Suggestions

  • Explicitly disclose that all MCP requests are routed through a Pipeworx-operated gateway.
  • Link to a privacy policy describing data collection, retention, sharing, and deletion.
  • Warn users not to include personal, confidential, or credential-bearing information in search requests.
  • Provide an option to connect directly to the documented upstream APIs or to run an auditable local adapter.
  • Authenticate the remote service where appropriate and validate that only the documented MCP tools are exposed.
  • Apply strict response validation and limit the remote MCP process's local capabilities.
  • Document the gateway's security controls, incident-response process, and service ownership.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep