motion-doctrine
Warn
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/seam-gate.mjsuseschild_process.spawnwith a shell to launch a preview server. The specific command is configurable via command-line flags, which allows execution of arbitrary system commands. - [REMOTE_CODE_EXECUTION]: The default server command in
scripts/seam-gate.mjsinvokespnpm dlx hyperframes preview, which downloads and executes thehyperframespackage from the registry at runtime. - [DYNAMIC_EXECUTION]: The script
scripts/seam-gate.mjsdrives a headless Chrome browser via the Chrome DevTools Protocol (CDP) and usesRuntime.evaluateto inject and execute a JavaScript measurement harness within the browser context. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an injection surface through the processing of
ledger.jsondata. - Ingestion points: Data is read from
ledger.jsonat the project root byscripts/seam-stamp.mjsandscripts/seam-gate.mjs. - Boundary markers: None are present to distinguish data from instructions in the ledger file.
- Capability inventory: The scripts can write to local files (
index.html), spawn shell processes, and execute code in a browser environment. - Sanitization:
scripts/seam-stamp.mjslacks sanitization when interpolating element selectors and IDs from the ledger directly into generated JavaScript code, creating a code injection vulnerability if the ledger content is malicious.
Audit Metadata