T08 · Insecure Dependencies
- Location
SKILL.md:58- Finding
Unreviewed Third-Party Package Download and Execution
- Content
View full analysis
" --provider --json ``` Additional affected instructions: ```bash npx moltblock@0.11.8 "your task" --json ``` ```bash npm install -g moltblock@0.11.8 ``` ### Technical Analysis The Skill directs the agent or user to retrieve and execute `moltblock@0.11.8` from the npm registry. The project contains only `SKILL.md`; it does not include the package implementation, a lockfile with verified integrity hashes, or vendored source that would allow the executed code to be audited as part of this artifact. Pinning the package version reduces unintended version drift but does not eliminate risks arising from a compromised npm account, registry compromise, malicious package contents, lifecycle scripts, or republished package artifacts. The command also conflicts with the broad documentation claim that “no code execution occurs.” Although generated artifacts may not be executed, `npx` necessarily executes third-party package code. The package process runs with the permissions of the invoking user. The Skill metadata also makes API-key environment variables available to the runtime, including `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GOOGLE_API_KEY`, and `ZAI_API_KEY`. The provided artifact contains no implementation with which to verify that these credentials and submitted task descriptions are transmitted only to authorized endpoints. The references to `.ssh/` and `id_rsa` at `SKILL.md:45` are detection examples rather than SSH read or write commands. No SSH key modification was found in the audited file. ### Attack Path 1. An agent follows the documented `npx moltblock@0.11.8 ...` instruction. 2. npm retrieves the external package and ma ...[truncated 1418 chars]- Remediation
View remediation
