T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Third-Party MCP Package Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:15-18andSKILL.md:64-69
Vulnerability Type: Unpinned npm dependency executed throughnpx
Risk Level: MediumVulnerable Code
yaml install: - kind: node package: "@bind-protocol/mcp-server" bins: []json { "mcpServers": { "bind": { "command": "npx", "args": ["@bind-protocol/mcp-server"], "env": { "BIND_API_KEY": "${BIND_API_KEY}" } } } }Technical Analysis
The Skill directs users to install and execute
@bind-protocol/mcp-serverwithout specifying an exact version or package integrity value. Consequently,npxmay retrieve and run a package release that differs from the version originally reviewed.The package implementation is not included in the audited project, so its behavior cannot be independently verified from this artifact. Because the process is explicitly given
BIND_API_KEY, a malicious or compromised future package release could read that credential. Code executed bynpxwould also inherit the operating-system privileges and environmental access of the user running the MCP client.This is an unsafe supply-chain configuration rather than evidence that the current upstream package is malicious.
Attack Path
- An attacker compromises the upstream npm package, its publisher account, or its release pipeline.
- The attacker publishes a malicious version of
@bind-protocol/mcp-server. - A user starts the MCP server using the documented unversioned
npxcommand. npxresolves, downloads, and executes the malicious release.- The package reads the supplied
BIND_API_KEYor accesses other resources available to the current user. - The payload may exfiltrate credentials, manipulate API requests, or execute additional commands under the user's account.
Impact Assessment
Successful exploitation could expose the Bind agent API key and allow operations authorized by that key, including acce ...[truncated 451 chars]
- Remediation
View remediation
Remediation Suggestions
-
Pin the dependency to an exact reviewed version in both the installation metadata and MCP configuration, for example:
yaml package: "@bind-protocol/mcp-server@2.0.0"json "args": ["@bind-protocol/mcp-server@2.0.0"] -
Use a committed lockfile and deterministic installation process where the hosting platform supports them.
-
Verify package integrity with npm integrity metadata or a trusted artifact digest.
-
Review package source and release provenance before each upgrade rather than automatically accepting new releases.
-
Run the MCP server in a sandbox with restricted filesystem and network access.
-
Scope
BIND_API_KEYto only the tools required for the intended workflow, apply low rate limits, and rotate the key if dependency compromise is suspected. -
Restrict
BIND_API_URLto an approved HTTPS endpoint to prevent sensitive API traffic from being redirected to an untrusted server.
-
