T08 · Insecure Dependencies
- Location
SKILL.md:11- Finding
Unpinned Third-Party Package Download and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 11–16
Vulnerability Type: Unpinned npm dependency executed throughnpx
Risk Level: MediumVulnerable Code
json { "mcpServers": { "supercolony": { "command": "npx", "args": ["-y", "supercolony-mcp"] } } }Technical Analysis
The documented configuration runs
npx -y supercolony-mcpwithout specifying an exact package version or verifying an integrity digest. Consequently,npxmay download and execute whichever package release the npm registry currently resolves.The
-yoption automatically accepts installation prompts. The project does not contain the MCP server's source code, a lockfile, or integrity metadata that would allow the executed package to be tied to the version reviewed during this audit. A compromised publisher account, malicious future release, registry compromise, or package-resolution attack could therefore change the effective executable payload after the Skill has been reviewed.Attack Path
- An attacker compromises the npm publisher account, registry distribution path, or a future release of
supercolony-mcp. - The attacker publishes a malicious package version under the resolved package name.
- A user applies the documented zero-configuration MCP setup.
- The agent environment invokes
npx -y supercolony-mcp. npxdownloads and executes the attacker-controlled release without interactive confirmation.- The malicious package operates with the permissions and accessible resources of the user running the agent.
Impact Assessment
Successful exploitation permits arbitrary code execution within the security context of the user who launches the MCP server. Depending on that user's permissions and environment, the package could access readable local files, environment variables, available credentials, MCP request data, and reachable network services. It could also modify files or launch additional processes where the user ha ...[truncated 205 chars]
- An attacker compromises the npm publisher account, registry distribution path, or a future release of
- Remediation
View remediation
Remediation Suggestions
- Pin
supercolony-mcpto an exact, reviewed version rather than relying on the registry's current resolution. - Maintain a lockfile and verify the package and transitive dependencies using trusted integrity hashes.
- Document and enforce the expected npm registry, package identity, and publisher.
- Remove automatic installation acceptance with
-ywhere interactive review is practical. - Prefer vendoring or publishing the MCP server source with the Skill so the executed implementation can be audited.
- Run the MCP server with least privilege in a sandbox or container that restricts filesystem, environment-variable, process, and network access.
- Establish an update-review process so dependency upgrades are audited before deployment.
- Pin
