T08 · Insecure Dependencies
- Location
SKILL.md:54- Finding
Unpinned npm Package Is Automatically Downloaded and Executed
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 54–55
Vulnerability Type: Supply-chain risk caused by automatic execution of a mutable dependency
Risk Level: Mediumjson "command": "npx", "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/disify/mcp"]Technical Analysis
The recommended MCP configuration invokes
npxwith the-yoption and the mutable package specificationmcp-remote@latest. This causes npm to download and execute whichever package version thelatesttag references at invocation time, without an interactive confirmation prompt.Because the resolved implementation can change after this skill has been reviewed, the code that ultimately executes is neither reproducible nor bounded to the audited project content. Compromise of the npm package, its publisher account, the package registry, or a future malicious release could introduce arbitrary executable behavior without requiring any modification to
SKILL.md.The finding is classified as
T08: Insecure Dependenciesbecause the direct weakness is unsafe acquisition and execution of an unpinned third-party dependency.Attack Path
- An attacker compromises the
mcp-remotenpm publisher account or otherwise causes a malicious release to become associated with thelatesttag. - A user installs or starts the skill using the documented MCP configuration.
npx -yresolvesmcp-remote@latest, automatically downloads the attacker-controlled release, and runs it without confirmation.- The malicious package executes under the identity and environment of the user or agent process.
- It can access resources available to that process and perform actions allowed by its operating-system permissions.
Impact Assessment
Successful exploitation can result in arbitrary code execution with the privileges of the user running the MCP configuration. The attainable scope depends on that user's permissions and may include reading or modifyin ...[truncated 381 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
mcp-remote@latestwith an exact, reviewed version, such asmcp-remote@x.y.z. - Use a lockfile and npm integrity metadata so installation fails if the retrieved package does not match the approved artifact.
- Prefer installing dependencies during a controlled build or deployment phase rather than downloading and executing them automatically at skill startup.
- Maintain an approved internal mirror or vendor the reviewed dependency where stronger supply-chain control is required.
- Run the MCP process in a sandbox or restricted service account with minimal filesystem, environment-variable, credential, and network access.
- Establish a dependency-update process that reviews package provenance and release changes before updating the pinned version.
- Replace
