douyin-batch-download

Pass

Audited by Gen Agent Trust Hub on Mar 2, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: Fetches video files, images, and user metadata from Douyin official domains (*.douyin.com).
  • [EXTERNAL_DOWNLOADS]: Requires downloading and installing external software, including Playwright browsers (Chromium), FFmpeg for video processing, and Python libraries such as f2 and httpx.
  • [COMMAND_EXECUTION]: Uses the subprocess module extensively to execute ffmpeg and ffprobe for video compression and info extraction, and to manage internal Python scripts for task orchestration and data synchronization.
  • [COMMAND_EXECUTION]: Uses Playwright browser automation to navigate to Douyin for manual user login (cookie extraction) and automated metadata scraping.
  • [PROMPT_INJECTION]: The skill ingests untrusted video descriptions and titles from Douyin (found in scripts/download-v2.py and scripts/extract-metadata.py). These are stored in douyin_users.db and written to downloads/data.js without sanitization or boundary markers. This creates an indirect prompt injection surface if the collected data is later processed by an LLM without proper isolation.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 2, 2026, 11:41 AM