hyperframes-media
Warn
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill accesses sensitive credential files to authenticate with the HeyGen API.
- Evidence:
scripts/lib/heygen.mjscontainsheygenCredential()which reads from~/.heygen/credentialsandprocess.env.HEYGEN_API_KEY. - Evidence:
scripts/lib/heygen.mjsimplementsloadEnvFromDir()which recursively searches for and loads.envfiles up to five directories above the project root. - [EXTERNAL_DOWNLOADS]: The skill automatically installs missing Python dependencies at runtime using the system package manager.
- Evidence:
scripts/lib/bgm.mjsusesspawnSync('pip', ['install', ...])to installtransformers,torch,soundfile,numpy, andgoogle-genaiif they are not detected on the system. - [DYNAMIC_EXECUTION]: The skill generates and executes Python code at runtime to handle background music (BGM) generation.
- Evidence:
scripts/lib/bgm.mjsdefinesmusicgenScript(), which returns a multi-line Python string that is executed viaspawn('python3', ['-c', script], ...). - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user data which is used to influence the behavior of media generation engines.
- Ingestion points:
audio_request.json(specificallylines[].textfor TTS andbgm.prompt/bgm.queryfor music generation). - Boundary markers: Absent. User prompts are interpolated directly into service requests or local scripts.
- Capability inventory: The skill possesses capabilities for network operations (
fetchto HeyGen/external URLs), file system writes (fs.writeFileSyncfor audio/meta files), and subprocess execution (spawnfor Python, FFmpeg, andnpx). - Sanitization: The skill uses
JSON.stringify()when injecting user-provided prompts into its dynamically generated Python scripts, providing some protection against command injection, but does not sanitize against indirect prompt injection targeting the AI model logic.
Audit Metadata