hyperframes-audio
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/carve.mjsexecutes theffmpegbinary viaexecFileSyncto decode audio files. The input paths are extracted from thesrcattributes of media elements in the composition HTML file.\n- [DYNAMIC_EXECUTION]: The skill utilizes dynamicimport()inscripts/carve.mjsto load the@hyperframes/corelibrary. The module path is resolved at runtime from the local project'snode_modulesto access shared audio analysis functions.\n- [INDIRECT_PROMPT_INJECTION]: The scriptscripts/carve.mjsparses user-provided HTML files using regular expressions to extract media element IDs and source paths. This creates a surface where maliciously crafted attributes in an untrusted HTML file could influence the script's behavior or its output to the agent.\n - Ingestion points: Composition HTML files (e.g.,
index.html) processed byscripts/carve.mjs.\n - Boundary markers: The script uses specific JSON-encoded attributes (
data-fx-chain,data-automation) and thefromCarveflag to identify and isolate its data.\n - Capability inventory: Subprocess execution (
ffmpeg), file system read/write, and dynamic code loading.\n - Sanitization: Attributes are JSON-serialized and escaped using
escapeAttrbefore being written back to the HTML composition.
Audit Metadata