hyperframes-creative
Warn
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/package-loader.mjsimplements a custom dependency bootstrapper that downloads and installs NPM packages at runtime to a temporary directory. - It uses
spawnSyncto executenpm installfor packages like@hyperframes/producer,@hyperframes/core, andsharp. - It utilizes dynamic
import()to load code from these computed installation paths. - It re-executes the current process using
spawnSync(process.execPath, ...)to inject the temporarynode_modulespath into the environment. - While the script includes hardening measures such as
--ignore-scriptsand interactive confirmation, the pattern of self-modifying execution environments remains a security risk. - [COMMAND_EXECUTION]: The script
scripts/extract-audio-data.pyexecutes shell commands usingsubprocess.run(). - Specifically, it spawns
ffmpegto decode audio and video files provided as command-line arguments. - The implementation uses argument lists rather than raw shell strings, which mitigates simple injection, but still relies on an external binary for processing untrusted media files.
- [INDIRECT_PROMPT_INJECTION]: The design picker workflow described in
references/design-picker.mdand implemented intemplates/design-picker.htmlcreates a vulnerability surface for cross-site scripting (XSS). - Ingestion points: User-supplied headlines and sublines are ingested from the agent context.
- Boundary markers: Missing; the content is directly interpolated into HTML template strings (
{{prompt_headline}},{{prompt_sub}}). - Capability inventory: The interpolated content is rendered in a browser context using
innerHTMLwithintemplates/design-picker.html. - Sanitization: The documentation claims architecture
preview_htmlmust not contain scripts, but there is no programmatic enforcement; sanitization relies entirely on the LLM's adherence to instructions.
Audit Metadata