gemini-tts
Fail
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate-tts.mjsis vulnerable to command injection through unvalidated user input. It usesexecSyncto invokeffmpegandffprobewhile interpolating variables inside double-quoted strings. The--output-dirargument and segmentidfields from the input JSON are used to construct file paths that are then passed to shell commands. An attacker providing a malicious ID such as '; touch /tmp/pwned; ' can execute arbitrary commands on the host system. - [EXTERNAL_DOWNLOADS]: The script
scripts/generate-tts.mjsautomatically installs the@google/genainpm package if it is missing. While the package is from a well-known service, performing automated installations without user verification is a security concern. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. It accepts user-controlled content and interpolates it directly into the prompt sent to the AI model without sanitization. Ingestion points include the
--text,--director-notes, and--segmentsinputs. The skill lacks explicit boundary markers or instructions to ignore embedded commands, and it possesses significant capabilities including shell execution.
Recommendations
- AI detected serious security threats
Audit Metadata