ad-creative-video
Warn
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill implements a video production pipeline using Node.js and shell scripts to automate rendering. The pipeline uses the
npx remotioncommand to render video variants. A security issue is present inrender-all.sh(referenced inreferences/batch-ad-pipeline.md), where user-controlled identifiers from a CSV file are used to construct shell commands without sanitization, creating a risk of command injection. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by processing untrusted data from an external CSV file.
- Ingestion points: Data enters the system via
variants.csv, specifically through fields such asid,hook, andctawhich are processed bycsv-to-props.js. - Boundary markers: No explicit sanitization or boundary markers are used to isolate the data within the processing logic or the generated JSON property files.
- Capability inventory: The skill possesses the ability to write files to the local filesystem (
fs.writeFileSyncincsv-to-props.js) and execute shell commands (npx remotioninrender-all.sh). - Sanitization: The
csv-to-props.jsscript performs basic validation on color hex codes but lacks sanitization for theidfield. This unsanitized input is used directly in file paths and shell command arguments, creating a vulnerability. - [COMMAND_EXECUTION]: The
csv-to-props.jsscript uses theidfield from the CSV to determine the output path for property files viapath.join(outDir, "${row.id}.json"). Without proper path sanitization, this allows for directory traversal attacks, potentially allowing the skill to write files outside the intended directory.
Audit Metadata