yichen-jianying-edit
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFE
Full Analysis
- [DYNAMIC_EXECUTION]: The entry script
scripts/headless_draft.pyusesrunpy.run_pathto execute logic from an external core repository. To prevent the execution of untrusted or modified code, the skill utilizes a hardcoded dictionary of SHA-256 hashes to verify every backend component before loading it. This integrity check ensures that only audited versions of the engine can be executed. - [COMMAND_EXECUTION]: The skill performs shell calls via
subprocessto utilizeffmpegandffprobefor media processing, which is the primary intended function of the tool. These calls use specific file paths and validated parameters, minimizing the risk of command injection through user-controlled filenames. - [EXTERNAL_DOWNLOADS]: Sound effects are retrieved from Openverse and Freesound. The network client in
scripts/openverse_sfx.pyenforces strict hostname allowlists for both initial requests and redirects, prevents non-HTTPS connections, and validates the size and content type of downloaded files before they are processed. - [CREDENTIALS_UNSAFE]: The skill manages service tokens for ASR (Automatic Speech Recognition) by explicitly redacting them from diagnostic logs in
scripts/asr_once.pyand using restrictive file system permissions (0o600) to protect intermediate result files and logs on the local disk. - [INDIRECT_PROMPT_INJECTION]: Input plan files are processed using structured JSON formats with extensive schema validation in
scripts/edit_plan.py. This ensures that parameters such as audio volume, frame rates, and search queries are constrained to safe ranges and normalized formats, reducing the surface for injection via malicious source metadata.
Audit Metadata