media-use
Warn
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill automatically triggers the installation of several Python packages at runtime if they are not detected in the environment. This occurs in
audio/scripts/lib/bgm.mjsandaudio/scripts/lib/tts.mjsusingpython -m pip install -qfor packages such astransformers,torch,google-genai,google-auth, andrequests. While these are well-known libraries, automatic runtime installation without user confirmation is a security risk. - [DYNAMIC_EXECUTION]: The skill assembles and executes Python code at runtime. In
audio/scripts/lib/bgm.mjs, a script for generating music (MusicGen) is constructed as a string literal and then executed viapython -c. This script incorporates user-supplied intent or prompts through string interpolation. AlthoughJSON.stringifyis applied to the variables, dynamic code generation and execution remain significant attack vectors. - [CREDENTIALS_UNSAFE]: The skill reads several sensitive local files to manage authentication and configuration. These include
~/.heygen/credentials(for HeyGen API access),~/.hyperframes/config.json(for project configuration), and various.envfiles that may contain API keys for ElevenLabs or Google services. While this access is required for the skill's primary functionality, it exposes user credentials to the execution context. - [INDIRECT_PROMPT_INJECTION]: The skill ingests a variety of untrusted external data, including natural language 'intent' descriptions, media files for transcription or grading, and
.cubeLUT files. These inputs are used to drive decision-making and are interpolated into commands. For example,scripts/audio-duck.mjsparses user-supplied composition HTML using regular expressions, andscripts/eval.mjsexecutes operations based on manifest data, creating a surface for potential indirect prompt injection attacks.
Audit Metadata