cli-creator
Warn
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/init_cli.tsinvokespnpm installusingexecSyncto set up new projects. Similarly,scripts/validate_cli.tsruns shell commands likepnpm testandpnpm run lintduring the validation process. - [REMOTE_CODE_EXECUTION]: The
scripts/validate_cli.tsscript identifies the binary entry point from a project'spackage.jsonand executes it usingexecSyncto verify its version and help output. This mechanism creates a risk of arbitrary code execution if the script is directed to a malicious project directory where the binary path field contains malicious commands or shell metacharacters. - [EXTERNAL_DOWNLOADS]: The skill templates and scripts perform network requests to the official NPM registry (
registry.npmjs.org) to check for package updates and install necessary dependencies. These operations use well-known, trusted infrastructure and are documented neutrally. - [PROMPT_INJECTION]: The validation script
scripts/validate_cli.tsis vulnerable to indirect prompt injection. It ingests data from untrustedpackage.jsonfiles (ingestion point) without sanitization or boundary markers. This data is then used in shell commands viaexecSync, allowing a malicious project to execute arbitrary code. The capability inventory for this skill includes full subprocess execution throughexecSyncacross multiple scripts, creating a substantial attack surface.
Audit Metadata