moda-video-demo
Fail
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: In
run.mjs, the runner script constructs a shell command string by interpolating therunNamevariable (sourced from the--namecommand-line argument) directly into a string executed viabash -c. This allows for arbitrary command execution on the host system if the name contains shell metacharacters such as backticks or subcommand substitution. - [INDIRECT_PROMPT_INJECTION]: The browsing logic in
src/discovery.jsandcapture.mjsuses an LLM to drive a web browser based on page element snapshots. A malicious webpage can include instructions in visible or hidden text to manipulate the LLM's context, potentially leading to unauthorized browser actions or data exfiltration. While secret redaction is implemented insrc/sensitive.js, it does not prevent logic-based instruction overrides. - Ingestion points:
src/discovery.js(DOM snapshots viasnapshotInteractables). - Boundary markers: Absent in the snapshot data passed to the LLM.
- Capability inventory: Full browser control (
click,fill,scroll,wait) and video/asset publication via themodaCLI. - Sanitization: Implements heuristic-based secret redaction for form fields in
src/sensitive.jsbut lacks general prompt protection for untrusted web content. - [DYNAMIC_EXECUTION]: The
compile.pyscript andauth.mjsdynamically determine library search paths (sys.path) and execution targets based on the contents of a local.studiofile or environment-specific directory scanning. This configuration allows for the loading of arbitrary modules or the execution of binaries from searched or user-defined paths. - [EXTERNAL_DOWNLOADS]: Fetches browser binaries via Playwright and static utility binaries (
ffmpeg-static,ffprobe-static) from the official NPM registry during installation and runtime setup.
Recommendations
- AI detected serious security threats
Audit Metadata