artifacts-builder
Pass
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes shell scripts (
scripts/init-artifact.shandscripts/bundle-artifact.sh) to automate project scaffolding and asset bundling, executing commands such aspnpm,npm,sed, andtarto manage the project lifecycle. - [EXTERNAL_DOWNLOADS]: The scripts download and install standard frontend development packages (e.g., Vite, Tailwind CSS, Parcel, Radix UI components) from the official npm registry to fulfill the skill's primary purpose of artifact creation.
- [PROMPT_INJECTION]: The
scripts/init-artifact.shscript is vulnerable to indirect prompt injection (Category 8 surface) because it directly interpolates the project name argument into asedcommand to update the HTML title without sanitization. - Ingestion points: The
PROJECT_NAMEargument provided to thescripts/init-artifact.shcommand. - Boundary markers: No delimiters or boundary instructions are used to separate the variable from the surrounding code/content.
- Capability inventory: The script has the ability to execute shell commands, modify files, and bundle code into a single executable HTML artifact.
- Sanitization: No escaping or validation is performed on the project name, allowing a malicious project name (e.g., containing script tags) to inject code into the final artifact's
index.html.
Audit Metadata