ad-abtest
Pass
Audited by Gen Agent Trust Hub on Mar 25, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_variants.pyexecutesffmpegusingsubprocess.runto apply video effects. The command arguments, including video filters and speed settings, are retrieved from hardcoded configuration maps within the script, which mitigates the risk of arbitrary command injection. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it reads content from a user-provided JSON file and interpolates it directly into an LLM prompt.
- Ingestion points: The
scripts/generate_variants.pyscript reads the content of a local file specified by the--base-copyargument. - Boundary markers: Absent. The JSON content is dumped directly into the prompt string without delimiters or instructions to ignore embedded commands.
- Capability inventory: The skill has the ability to execute
ffmpegcommands viasubprocessand perform network requests to an external API (Volcengine Ark). - Sanitization: None. The script uses
json.dumpsbut does not sanitize or validate the content for instructions that might subvert the LLM's behavior.
Audit Metadata