video-script
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data such as video analysis (
vlm_analysis.json) and ASR results (asr_result.json). This content is interpolated into prompts for an LLM-based reviewer inscripts/review_response.py. The skill mitigates risks by using structured Markdown headers as boundary markers and truncating input strings using a_clip_textutility. - Ingestion points:
vlm_analysis.json,asr_result.json,background_research.json(handled inscripts/review_runner.py). - Boundary markers: The prompt uses specific headers (e.g.,
## Timeline evidence,## 解说草稿) to separate external data from system instructions. - Capability inventory: The skill performs network calls to a specific API and writes process reports to local JSON/Markdown files.
- Sanitization: Truncation logic is implemented to prevent prompt overflow or injection via excessively long strings.
- [EXTERNAL_DOWNLOADS]: The skill communicates with the Xiaomi MiMo API (
api.xiaomimimo.com) for its core AI-driven video understanding and text evaluation features. This is a legitimate dependency on a well-known service provider, and communications are performed securely via HTTPS. - [COMMAND_EXECUTION]: The skill executes local Python scripts (
scripts/review.py,scripts/validate.py) for data validation and reporting tasks. These executions are internal to the skill's logic and are not exposed to untrusted user input. - [SAFE]: Credentials (
MIMO_API_KEY) are managed via environment variables rather than hardcoded secrets. Furthermore, the skill implements specific redaction logic inscripts/lib.py(_sanitize_api_error) to ensure that API keys and large binary data blobs are not leaked into error logs or diagnostic output.
Audit Metadata