hyperframes-animation
Warn
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The diagnostic utility
scripts/package-loader.mjsemploys dynamicimport()to load Node.js modules from file paths resolved at runtime. Additionally,scripts/animation-map-sampling.mjsutilizespage.evaluate()to execute JavaScript logic within a browser environment for DOM measurement and animation state sampling. - [EXTERNAL_DOWNLOADS]: The
scripts/package-loader.mjsscript contains logic to triggernpm installfor missing dependencies, such as@hyperframes/producerand@hyperframes/core. The script implements several defensive measures, including the--ignore-scriptsflag, installation into a temporary directory, and mandatory user confirmation in interactive sessions, but it remains a channel for external code acquisition. - [INDIRECT_PROMPT_INJECTION]: The
scripts/animation-map.mjsscript audits user-provided composition directories by reading their contents and evaluating them in a browser session. This represents an attack surface where a specially crafted malicious composition could attempt to compromise the sampling environment. - Ingestion points:
scripts/animation-map.mjs(accepts an unvalidated<composition-dir>path from the user). - Boundary markers: Not present for the content ingested from the composition directory.
- Capability inventory: File system access via
node:fs, subprocess spawning vianode:child_process, and browser-based JavaScript evaluation viapage.evaluateinanimation-map-sampling.mjs. - Sanitization: No evidence was found of sanitization or sandboxing of the input composition's code or structure prior to evaluation in the capture session.
Audit Metadata