video-understand
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runinprep_video.pyand shell scripts likeenumerate_tools.shto invoke media processing tools such asffmpeg,whisper, andswift. These tools are necessary for frame extraction, transcription, and OCR processing.\n- [INDIRECT_PROMPT_INJECTION]: The skill creates an attack surface for indirect prompt injection by processing untrusted data sources including video files, audio transcripts, and OCR text. This data is fed into LLM agents for analysis. Evidence chain: (1) Ingestion points: Video files, URLs, Whisper transcripts, and OCR text processed inprep_video.pyandocr.swift. (2) Boundary markers: Prompts inlapian.starandvideo_understand.staruse string interpolation and labels (e.g., {aligned}), but do not provide robust isolation from malicious content. (3) Capability inventory: The skill can execute shell commands viasubprocess, perform network downloads, and write to the file system. (4) Sanitization: No sanitization or escaping is performed on the extracted text before it is passed to the AI agents.\n- [EXTERNAL_DOWNLOADS]: The skill facilitates downloading videos from external platforms like Rednote (小红书) and references the author's GitHub repository for the harness workflow tool. These external interactions are essential for the skill's functionality but involve interaction with external infrastructure and untrusted content.\n- [DYNAMIC_EXECUTION]: The skill executesocr.swiftat runtime using theswiftcommand interpreter to perform on-demand OCR processing of extracted video frames.
Audit Metadata