openai-whisper-api
Warn
Audited by Gen Agent Trust Hub on Aug 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/transcribe.shsuffers from a shell argument injection vulnerability. The command uses unquoted expansions for optional parameters:${language:+-F "language=${language}"}and${prompt:+-F "prompt=${prompt}"}. Because these are not quoted, the shell performs word-splitting on the result of the expansion, allowing an attacker to inject additional flags (such as-oto overwrite files or-Fto exfiltrate arbitrary files) into thecurlexecution. Remediation: Use shell arrays to build command arguments or ensure expansions are fully quoted. - [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection as it processes untrusted audio files and user-provided transcription hints. 1. Ingestion points: Raw audio file content and the
--promptCLI argument inscripts/transcribe.sh. 2. Boundary markers: None present to isolate untrusted input from instructions. 3. Capability inventory: Network exfiltration capability viacurland filesystem write capability via shell redirection. 4. Sanitization: No validation or sanitization is performed on the input before it is passed to the shell command or the external API. Remediation: Sanitize inputs and implement explicit delimiters for untrusted data.
Audit Metadata