media-use
Fail
Audited by Gen Agent Trust Hub on Sep 12, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill's documentation provides instructions to install the
heygenCLI utility via acurl | bashcommand fromhttps://static.heygen.ai/cli/install.sh. This URL represents the official distribution point for the well-known HeyGen AI platform.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted natural language via the--intentparameter and reads project-level design specification files (e.g.,frame.md). These inputs influence search queries sent to external media providers. The skill has capabilities to perform network requests and write to the file system. - Ingestion points:
--intentparameter inscripts/resolve.mjs;frame.md,design.md, andDESIGN.mdinscripts/lib/brand-provider.mjs. - Boundary markers: None present in the data interpolation flow.
- Capability inventory: Subprocess execution via
execFileSync(heygen,ffprobe), network operations viafetch, and file writes viawriteFileSyncandcopyFileSync. - Sanitization: Command execution uses argument arrays to prevent shell injection, and a
MAX_FREEZE_BYTESlimit of 256MB is enforced on downloads to prevent resource exhaustion.- [COMMAND_EXECUTION]: The skill uses theheygenandffprobebinaries to search catalogs and extract media metadata. The implementation utilizesexecFileSyncwith literal argument arrays rather than shell strings, which effectively mitigates command injection risks from user-supplied inputs or file paths.
Recommendations
- HIGH: Downloads and executes remote code from: https://static.heygen.ai/cli/install.sh - DO NOT USE without thorough review
Audit Metadata