T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Third-Party Package Is Downloaded and Executed Automatically
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 14
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: MediumVulnerable Code
bash claude mcp add botcall -- npx -y botcall-mcpTechnical Analysis
The installation instruction uses
npx -yto download and executebotcall-mcpwithout specifying an exact version, lockfile, checksum, or other integrity constraint. The-yoption also suppresses the normal installation confirmation.Consequently, the code executed by users is whatever package version the npm registry resolves at installation time. Its effective behavior can change after this Skill has been reviewed. The project contains only
SKILL.md; the dependency's implementation is not included and therefore could not be audited as part of this artifact.This is a supply-chain trust issue rather than evidence that the current npm package is malicious. Exploitation would require compromise or malicious control of the package, its maintainer account, or the relevant package-distribution path.
Attack Path
- An attacker compromises the
botcall-mcpnpm package, its publisher account, or its release process. - The attacker publishes a malicious version under the same package name.
- A user follows the documented setup command.
npx -yresolves, downloads, and executes the attacker-controlled release without an interactive confirmation or exact-version constraint.- The malicious package executes with the privileges of the user running Claude or the command.
- When configured as documented, the process can access
BOTCALL_API_KEYand could transmit it or other data available within the process's permissions.
Impact Assessment
Successful exploitation could result in arbitrary code execution under the invoking user's account. The resulting access may include the configured Botcall API key, files readable by that user, environment variables in ...[truncated 245 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Pin
botcall-mcpto a specific, reviewed version rather than allowing npm to resolve the latest release. - Maintain a lockfile with npm integrity metadata and deploy from a controlled installation workflow.
- Verify the package's provenance, signatures, publisher identity, and integrity before execution.
- Avoid
npx -yfor security-sensitive installation instructions so users can review the resolved package and version before it runs. - Include or vendor the reviewed MCP server source in the auditable project where practical.
- Run the server in a sandbox with minimal filesystem, environment, and network access.
- Expose only the required API credential to the process, use a narrowly scoped key where supported, and establish key rotation and revocation procedures.
- Pin
