T08 · Insecure Dependencies
- Location
SKILL.md:35- Finding
Unpinned Third-Party MCP Package Is Loaded Outside the Channel Allowlist
- Content
View full analysis
claude --dangerously-load-development-channels server:wechat ``` ### Technical Analysis The documented configuration executes `claude-wechat-channel` through `npx` without specifying an exact package version. Depending on the local npm cache and `npx` behavior, a future package release may be downloaded and executed even though that release was not reviewed with this Skill. The package is then enabled using `--dangerously-load-development-channels`, which deliberately loads a third-party channel that is not in Claude Code's normal channel allowlist. The bridge necessarily requires some form of channel integration, but combining an unpinned package with an explicit allowlist bypass exceeds the minimum safe configuration needed for that integration. Although `SKILL.md` later recommends pinning version `0.1.2`, the primary installation example remains unpinned and is likely to be copied directly by users. ### Attack Path 1. The npm package account, publication process, or an upstream dependency is compromised. 2. An attacker publishes a malicious future version of `claude-wechat-channel`. 3. A user starts the configured MCP server with `npx`. 4. `npx` retrieves or selects the malicious version because no exact version is specified. 5. The user launches Claude Code with `--dangerously-load-development-channels`. 6. The malicious package executes with the privileges of the local user and participates in a channel that handles WeChat messages and Agent notifications. ### Impact Assessment A compromised package could execute arbitrary code with the invoking user's OS permissions. It could potentially access files re ...[truncated 408 chars]- Remediation
View remediation
