short-drama-produce
Pass
Audited by Gen Agent Trust Hub on Oct 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
production_tool.pyscript executes external media adapters using thesubprocess.runfunction. The commands are sourced from a user-provided configuration file located outside the project directory and are executed without a shell to mitigate injection risks. Crucially, execution only proceeds after the user provides an explicit, fingerprint-bound confirmation phrase following a detailed preview. - [EXTERNAL_DOWNLOADS]: The
provider_adapters.pyscript makes network requests to the official APIs of OpenAI, MiniMax, and Volcengine/Seedance. These are well-known technology services used for the skill's primary purpose of media generation. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from Markdown files which could potentially contain malicious instructions.
- Ingestion points:
scripts/production_tool.pyreads content from图片提示词.md,视频提示词.md, and分镜.md. - Boundary markers: The tool uses specific structural markers such as H2/H3 headers and Markdown blockquote
>symbols to isolate prompt content. - Capability inventory: The skill performs file reads/writes, executes subprocesses via adapters, and makes network requests via
urllib. - Sanitization: Strict structural parsing is used to extract specific prompt sections, and reference bindings are validated against existing project files to prevent arbitrary file access.
- Mitigation: A mandatory 'Explicit Confirmation Gate' requires human verification and the entry of a job-specific code before any task is executed.
- [SAFE]: The codebase demonstrates defensive programming, including the use of directory file descriptors and the
O_NOFOLLOWflag on POSIX systems to prevent symlink attacks, atomic metadata updates, and the secure handling of credentials via environment variables rather than project files.
Audit Metadata