whisper-corruption-recovery
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
fix_hallucinations.pyandenrich_uncertain_with_vision.pyinvokeffmpegandwhisper-cliviasubprocess.runto perform media processing. The implementation utilizes list-based arguments, which prevents shell injection by separating command parameters from the shell environment. Thewhisper-clibinary path is constructed using the user's home directory (~/whisper.cpp/build/bin/whisper-cli), assuming the existence of the binary in that specific local folder. - [DYNAMIC_EXECUTION]: The test suite
scripts/test_fix.pyuses dynamic module loading to import the core logic for validation. The script usesimportlib.utilto load and execute the localfix_hallucinations.pyfile. This pattern is typical for unit testing and does not involve remote code execution or untrusted data. - [INDIRECT_PROMPT_INJECTION]: The skill processes transcription JSON data and video frames to generate markdown inspection reports, creating an attack surface for indirect prompt injection. Ingestion points: Reads Whisper JSON transcripts and video files (e.g.,
scripts/fix_hallucinations.py). Boundary markers: The generatedREADME.mdreport lacks explicit delimiters or instructions for subsequent LLM processing to ignore content embedded in the transcript text. Capability inventory: The skill has the ability to write files and execute system commands (subprocess.run). Sanitization: The skill performs minimal sanitization, specifically escaping markdown pipe characters (|) within transcript content. - [PROMPT_INJECTION]: The skill's documentation instructs the agent to use tool flags that bypass security permissions. Found in
SKILL.mdin theVisual Context Frame Extractorworkflow example:agy --dangerously-skip-permissions. This instruction encourages the agent to operate without permission prompts, potentially reducing user oversight during tool execution.
Audit Metadata