video-voiceover
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill makes network requests to external TTS and ASR services including MiMo (xiaomimimo.com) and Fish Audio (api.fish.audio). It also supports user-configured endpoints for self-hosted IndexTTS services via the
INDEX_TTS_ENDPOINTenvironment variable. These requests are implemented using the Python standard library'surllib.requestmodule. - [COMMAND_EXECUTION]: The skill utilizes
subprocess.runto executeffmpegandffprobefor media processing tasks, such as extracting audio, checking file duration, and muxing audio with video. As seen inscripts/lib.pyandscripts/dub.py, commands are constructed as lists of arguments, which prevents shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted data which presents an attack surface for indirect prompt injection.
- Ingestion points: Untrusted data is ingested from
narration.jsoninscripts/voiceover.pyanddub_script.jsoninscripts/dub.py. - Boundary markers: The skill does not use explicit delimiters or boundary markers when interpolating narration text into the API messages for TTS providers.
- Capability inventory: The skill has the capability to execute subprocesses (
ffmpeg/ffprobe) and perform network operations viaurllib.requestacross several scripts. - Sanitization: The skill mitigates risks through sanitization functions.
_clean_narration_textinscripts/voiceover.pyremoves markdown formatting, stage directions, and emojis._strip_reasoning_residueinscripts/dub.pyremoves potential reasoning leakage from ASR responses before they are processed further. - [SAFE]: The implementation includes robust security controls.
scripts/lib.pycontains a_sanitize_api_errorfunction that redacts API keys (matchingsk-ortp-patterns) and large data URLs from logs and error messages. Additionally,scripts/providers/index_tts.pyimplements a custom HTTP handler to disable redirects, preventing the forwarding of sensitive narration text to unauthorized hosts.
Audit Metadata