short-drama-edit
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The core logic in
scripts/edit_tool.pyinvokes system binaries includingffmpeg,ffprobe, andnpx remotionto perform video assembly, audio mixing, and subtitle burning. All calls utilize the list-basedsubprocess.runmethod, which effectively prevents shell command injection by avoiding shell interpolation. - [EXTERNAL_DOWNLOADS]: To support advanced subtitle rendering, the skill leverages the Remotion framework. The script manages a workspace and provides instructions for installing necessary Node.js dependencies via
npm install. These dependencies are sourced from the official and well-known NPM registry, and their use is consistent with the skill's primary function. - [PERSISTENCE]: The skill creates and maintains a workspace directory at
~/.cache/short-drama-edit/remotion. This directory is used to synchronize the skill's internal assets and install dependencies, acting as a standard build environment for video overlays. It does not exhibit malicious persistence characteristics. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process user-provided or agent-generated data files (e.g.,
剪辑单.md,剧本.md) to determine editing parameters. - Ingestion points: Data is ingested from
剪辑单.md,剧本.md,视频提示词.md,分镜.md, and图片提示词.md. - Boundary markers: The script employs a robust parsing architecture using regular expressions and strict type enforcement to validate data segments.
- Capability inventory: The skill possesses the ability to execute media processing tools and write rendered video files to the project directory.
- Sanitization: Input values are sanitized through type casting (e.g., converting time values to floats) and specialized escaping logic, such as the
_ass_textfunction which escapes backslashes and braces for ASS subtitles.
Audit Metadata