npm-upgrade
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/bin/npm-upgrade.mjsusesspawnSyncto execute shell commands includinggit,npm,pnpm,yarn, andghfor repository management, package installation, and build verification.- [EXTERNAL_DOWNLOADS]: The skill invokesnpx,pnpm dlx, oryarn dlxto download and execute thenpm-check-updatesutility from the public npm registry. It also performs standard package installations which download dependencies from the registry.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata from the npm registry which could contain malicious instructions designed to influence the agent's PR generation. - Ingestion points: The
fetchPackageMetadatafunction inscripts/bin/npm-upgrade.mjsretrieves package descriptions and URLs fromhttps://registry.npmjs.org/and stores them in.npm_upgrade/changelog_diffs.json. - Boundary markers: The instructions in
SKILL.mdlack explicit delimiters or instructions to ignore embedded commands within the fetched metadata when generating summaries. - Capability inventory: The agent has the capability to execute shell commands (via the helper script) and create GitHub Pull Requests using the
ghCLI. - Sanitization: There is no evidence of sanitization for the metadata fetched from the npm registry before it is presented to the AI for summarization.
Audit Metadata