T08 · Insecure Dependencies
- Location
references/setup-guide.md:3- Finding
Unpinned npm Package Is Downloaded and Executed Through npx
- Content
View full analysis
Vulnerability Details
File Location:
references/setup-guide.md:3-7
Additional Locations:references/setup-guide.md:61-64,SKILL.md:167-169,SKILL.md:179-181
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: MediumVulnerable Code
markdown ## Installationnpx -y @rendermark/mcp-server@latest
text The same unsafe installation pattern is repeated in the troubleshooting instructions:
markdown ### MCP connection issues - Verify the server is running: check Claude Settings > Extensions - Try `npx -y @rendermark/mcp-server@latest` to ensure latest version - Check that Node.js 18+ and npx are availableSKILL.mdsimilarly instructs users to run:markdown Install via `npx -y @rendermark/mcp-server@latest`.Technical Analysis
The Skill directs users to download and execute
@rendermark/mcp-serverusing the mutablelatestnpm tag. Consequently, the code executed during installation can change after this Skill has been reviewed. The-yoption also suppresses the normal installation confirmation.Executing an npm package can run its command-line entry point and package lifecycle behavior with the permissions of the invoking user. If the package publication account, npm package, or a transitive dependency is compromised, a malicious future release selected by
@latestcould execute arbitrary code locally.The external MCP server is required for the declared RenderMark functionality, but selecting a mutable release is not required. Therefore, this behavior exceeds the minimum supply-chain risk necessary to provide the Skill's functionality. The artifact itself contains no evidence that the current package is malicious; the vulnerability is the absence of version and integrity controls.
Attack Path
- An attacker compromises the npm maintainer account, package publication pipeline, or a dependency incorporated in ...[truncated 1390 chars]
- Remediation
View remediation
Remediation Suggestions
-
Replace
@latestwith an exact version that has been reviewed and tested, for example:bash npx -y @rendermark/mcp-server@0.1.10 -
Keep the pinned version synchronized with the version declared in
SKILL.mdmetadata. Upgrade it only through an explicit review process. -
Prefer a package installation workflow that uses a committed lockfile and npm integrity metadata rather than retrieving a mutable release on every invocation.
-
Remove
-ywhere unattended installation is unnecessary so users can review the package and version before execution. -
Verify package provenance, published checksums, maintainer changes, lifecycle scripts, and transitive dependency changes before updating the pin.
-
Run the MCP server with least privilege. Restrict access to unrelated files, environment variables, and credentials where sandboxing or containerization is available.
-
Store credential files with restrictive filesystem permissions and avoid exposing unrelated secrets to the MCP server process.
-
