search-video-on-web-and-gen
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/download_video.shinterpolates the$QUERYvariable directly into a shell command foryt-dlp. Because it is placed within double quotes, the shell will evaluate any command substitutions (e.g.,$(command)) contained within the search query provided inscenes.json. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data via the
scenes.jsonconfiguration file, which serves as a vulnerability surface. - Ingestion points: The
scenes.jsonfile is read byscripts/generate_tts.sh,scripts/render_all.sh, andsrc/index.tsx. - Boundary markers: There are no explicit delimiters or instructions to the agent to ignore embedded commands within the data fields.
- Capability inventory: The skill has access to shell execution via
yt-dlp,ffmpeg,ffprobe, andnpx remotion. - Sanitization: No sanitization or escaping of the
searchQueryorttsTextfields is performed before they are passed to shell environments or subprocesses. - [DYNAMIC_EXECUTION]: The script
scripts/generate_tts.shutilizes a bash heredoc to execute an embedded Python block. Bash variables like$SCENES_FILEand$VOICEare interpolated directly into the Python source code. This pattern can lead to syntax breakage or code injection if the variable values contain single quotes or other Python-sensitive characters.
Audit Metadata