T08 · Insecure Dependencies
- Location
- references/helius-onboarding.md:188
- Finding
- Mutable MCP Dependency Is Downloaded and Executed Without Version Pinning<![CDATA[ ## Vulnerability Details **File Location**: `references/helius-onboarding.md:188-190` **Additional Locations**: `SKILL.md:24-25`, `SKILL.md:335`, `install.sh:68-69` **Vulnerability Type**: Unpinned third-party executable dependency **Risk Level**: Medium ### Vulnerable Code ```bash ### Installing the MCP ```bash claude mcp add helius npx helius-mcp@latest ``` ``` The installer repeats the same instruction: ```bash echo " 1. Install the Helius MCP server (if not already):" echo " claude mcp add helius npx helius-mcp@latest" ``` ### Technical Analysis The command invokes `npx` with the mutable `latest` package tag. This downloads and executes whichever `helius-mcp` release the registry currently associates with that tag. Consequently, the code executed by users may differ from the version that existed when this Skill was reviewed. No exact package version, lockfile, package integrity hash, or other reproducibility control is specified. Because the MCP server is expected to handle API keys, persisted authentication state, keypairs, and blockchain transactions, compromise of its package or publisher account would expose security-sensitive capabilities. This is a supply-chain risk rather than evidence that the current package is malicious. ### Attack Path 1. An attacker compromises the `helius-mcp` publisher account, package registry entry, or release process. 2. The attacker publishes a malicious version and assigns it the `latest` tag. 3. A user follows the Skill's setup instructions. 4. `npx helius-mcp@latest` retrieves and executes the attacker's mutable package. 5. The package runs with the user's permissions and can access resources available to the MCP process. ### Impact Assessment A compromised dependency could potentially access Helius API credentials, persisted JWTs, Solana signup keypairs, project data, and other files readable by the user. It could also falsify MCP tool responses or initiate unauthorized network activity. Th ...[truncated 87 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Replace `@latest` with an exact, reviewed version: ```bash claude mcp add helius npx helius-mcp@1.2.3 ``` 2. Use a lockfile and verify package integrity where the installation mechanism supports it. 3. Document the expected package publisher, version, and release checksum. 4. Review upgrades before changing the pinned version. 5. Run the MCP server with the minimum filesystem and network permissions required. 6. Keep payment, key-generation, and account-upgrade operations behind explicit user confirmation. ]]>
