hyperframes-media
Warn
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill automatically installs Python packages from PyPI at runtime, including
transformers,torch,soundfile,numpy,google-genai, andpython-dotenv. It also downloads pre-trained ML models for Whisper, Kokoro-82M, and MusicGen to local cache directories (~/.cache/hyperframes/). - [REMOTE_CODE_EXECUTION]: The
scripts/lib/bgm.mjsfile contains logic to programmatically runpip installfor required dependencies and immediately execute the resulting libraries via spawned Python processes. This creates a dependency on external package registries at execution time. - [COMMAND_EXECUTION]: The engine frequently spawns external processes using
node,python3,ffmpeg,ffprobe, andnpx. These commands are used to process audio files, transcode formats, and run thehyperframesCLI tools. Input parameters fromaudio_request.jsonare passed to these subprocesses. - [DYNAMIC_EXECUTION]: In
scripts/lib/bgm.mjs, the skill assembles a complete Python script as a string literal, interpolating user-provided prompts and configuration, and executes it using thepython3 -cflag. While it usesJSON.stringifyfor basic escaping, this remains a dynamic code generation pattern. - [INDIRECT_PROMPT_INJECTION]: The skill represents a significant attack surface for indirect injection by ingesting untrusted text and mood queries from
audio_request.jsonand external transcripts. This data is interpolated directly into prompts for media generation models and command-line arguments without explicit sanitization beyond standard JSON encoding. - [CREDENTIALS_UNSAFE]: The skill contains logic in
scripts/lib/heygen.mjsto search for and load sensitive API keys from environment variables, local.envfiles (searching up five parent directories), and a shared global credentials file at~/.heygen/credentials.
Audit Metadata