dependencies-audit
Fail
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Several helper scripts within the skill interpolate package names directly into shell strings for execution. Specifically,
execSync('npm view ' + name + ' --json ...')in Step 2 and Step 5, and similar logic in Step 6. If apackage.jsonfile contains a malicious package name (e.g., using shell metacharacters like;or&), it could lead to arbitrary command execution when the agent runs these audit steps. - [EXTERNAL_DOWNLOADS]: The skill fetches package metadata and download statistics from
api.npmjs.organd the NPM registry. While these are well-known services, the skill uses a pattern of piping the output ofcurldirectly intonode -eto parse the resulting JSON. - [DYNAMIC_EXECUTION]: The skill extensively uses
node -eto execute inline JavaScript snippets. These snippets are used to parse local files, handle JSON data from tool outputs, and spawn further subprocesses viaexecSyncusing dynamically constructed command strings. - [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection because it ingests untrusted data from
package.json(Step 1) and tool outputs (Step 3). This data is then used to drive high-privilege actions includingShell(to run updates and builds) andWrite(to modify the project files) without explicit boundary markers or sanitization of the interpolated content.
Recommendations
- HIGH: Downloads and executes remote code from: https://api.npmjs.org/downloads/point/last-week/ - DO NOT USE without thorough review
Audit Metadata