npm-upgrade
Pass
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill follows established best practices for Node.js project maintenance, focusing on diagnostic and upgrade commands for npm, yarn, and pnpm. No malicious intent or obfuscation was found.
- [COMMAND_EXECUTION]: The skill utilizes a custom Python utility,
scripts/diff_lock.py, to help resolve merge conflicts. This script safely executesgitcommands using argument lists to avoid shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill processes external project data such as
package-lock.jsonfiles andnpm auditreports. This represents a potential surface for indirect injection if a project contains maliciously named dependencies, but the risk is managed by the skill's intended use within the developer's controlled repository environment. - Ingestion points: The
scripts/diff_lock.pyscript reads package names and versions frompackage-lock.jsonand git objects. - Boundary markers: Data is parsed as structured JSON, though output command strings are generated using simple string concatenation.
- Capability inventory: The skill instructs the agent to execute shell commands (
npm,git,python3) and manage file system contents within a Node.js project. - Sanitization: Standard
json.loadsis used for parsing lock files; however, the script does not apply specific shell-escaping to the package names it outputs for subsequentnpm installcommands.
Audit Metadata