media-use
Fail
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill's documentation in
SKILL.mdprovides instructions for users to install theheygenCLI by downloading a shell script and piping it directly intobash(curl -fsSL https://static.heygen.ai/cli/install.sh | bash). This is an insecure installation pattern, although the source is a recognized technology service. - [COMMAND_EXECUTION]: The skill performs shell-less execution of the
heygenandffprobebinaries to search for media and analyze file metadata. The implementation follows security best practices by usingexecFileSyncwith literal argument arrays to prevent command injection. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it incorporates untrusted data into its execution flow.
- Ingestion points: Untrusted data enters the context via the
--intentcommand-line argument inscripts/resolve.mjsand through the parsing of project-level design files (e.g.,frame.md,design.md) inscripts/lib/brand-provider.mjs. - Boundary markers: The skill does not use specific delimiters or instructions to prevent the agent from following directions embedded within the media descriptions or design specs.
- Capability inventory: Across its scripts (notably
scripts/lib/heygen-search.mjsandscripts/lib/freeze.mjs), the skill has the ability to execute subprocesses, perform network requests to download files, and write those files to the local filesystem. - Sanitization: The skill effectively sanitizes input against command injection by avoiding shell interpolation, but it does not sanitize the natural language intent before passing it to search providers.
- [EXTERNAL_DOWNLOADS]: The skill downloads media files (images, audio) from URLs provided by the HeyGen asset catalog.
- Evidence:
fetch()operations inscripts/lib/freeze.mjsare used to retrieve assets and save them locally.
Recommendations
- HIGH: Downloads and executes remote code from: https://static.heygen.ai/cli/install.sh - DO NOT USE without thorough review
Audit Metadata