artifacts-builder
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The initialization script
scripts/init-artifact.shattempts to install thepnpmpackage manager globally usingnpm install -g pnpmif it is not detected in the environment. This represents a system-wide modification and typically requires elevated permissions. - [COMMAND_EXECUTION]: The script
scripts/init-artifact.shuses the user-provided project name to update project files viased. The interpolation pattern used ('s/.../'"$PROJECT_NAME"'.../') is vulnerable tosedinjection if the project name contains the delimiter character (/), which could lead to script failure or unexpected file corruption. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a vulnerability surface by interpolating untrusted user input (the project name) into shell commands and project configuration files.
- Ingestion points: Project name argument in
scripts/init-artifact.sh. - Boundary markers: None are present to sanitize the input against shell or tool-specific metacharacters.
- Capability inventory: File system modification, shell command execution, and package installation.
- Sanitization: No validation or escaping is performed on the project name before its use in scripts.
- [DYNAMIC_EXECUTION]: The setup process uses
node -eto dynamically execute JavaScript code strings for the purpose of parsing and modifyingtsconfig.jsonfiles. While functional, this represents a pattern of runtime code execution during the skill's setup phase.
Audit Metadata