clips-machine
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes video transcripts (untrusted data) and interpolates them into a prompt (
VIRAL_DETECTION_PROMPT) used for AI analysis without clear boundary markers or sanitization. - Ingestion points:
clips_machine.py transcribe_with_timestampsextracts text from video files or URLs using whisper-cpp.- Boundary markers: Absent. The transcript content is directly embedded into the instructions for the viral moment detection prompt.
- Capability inventory: Extensive use of
subprocess.runto callffmpeg,yt-dlp, andwhisper-cppbinaries (inclips_machine.py). - Sanitization: Absent. The transcript text is interpolated into the prompt without filtering or escaping designed to prevent instructions hidden in audio from being interpreted as commands by the AI.
- [COMMAND_EXECUTION]: The script makes extensive use of
subprocess.runto call system binaries to perform video processing tasks. - Evidence: Functions such as
get_video_duration,download_video,transcribe_with_timestamps,cut_video,crop_to_vertical, andcreate_styled_captionsall execute external shell commands via argument lists. While argument lists mitigate basic shell injection, the reliance on these tools represents a significant execution surface. - [EXTERNAL_DOWNLOADS]: The skill uses
yt-dlpto download video content from external URLs. - Evidence: The
download_videofunction inclips_machine.pyfetches data from user-provided URLs. The script implements anALLOWED_DOMAINSwhitelist to restrict downloads to known video hosting platforms, which is a positive security control.
Audit Metadata