web-artifacts-builder
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The initialization script
scripts/init-artifact.shutilizes a user-provided project name argument ($1) directly in shell commands andsedtext replacements. While the variable is quoted in most shell contexts, its use in thesedcommand string is susceptible to injection or command failure if the project name contains certain characters like forward slashes. - Evidence:
PROJECT_NAME="$1",pnpm create vite "$PROJECT_NAME", and$SED_INPLACE 's/<title>.*<\/title>/<title>'"$PROJECT_NAME"'<\/title>/' index.htmlinscripts/init-artifact.sh. - [EXTERNAL_DOWNLOADS]: The skill performs global installation of the
pnpmpackage manager (if missing) and installs a large number of development dependencies from the standard NPM registry to set up the development environment. - Evidence:
npm install -g pnpmand multiplepnpm installcalls acrossscripts/init-artifact.shandscripts/bundle-artifact.sh. - [DYNAMIC_EXECUTION]: The skill uses
node -eto execute small JavaScript snippets for programmatically modifying JSON configuration files liketsconfig.json. These scripts are hardcoded and do not process external input, making them relatively safe in this context.
Audit Metadata