skills/144126/skills/motion-doctrine/Gen Agent Trust Hub

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.mjs uses child_process.spawn with 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.mjs invokes pnpm dlx hyperframes preview, which downloads and executes the hyperframes package from the registry at runtime.
  • [DYNAMIC_EXECUTION]: The script scripts/seam-gate.mjs drives a headless Chrome browser via the Chrome DevTools Protocol (CDP) and uses Runtime.evaluate to 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.json data.
  • Ingestion points: Data is read from ledger.json at the project root by scripts/seam-stamp.mjs and scripts/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.mjs lacks 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
Risk Level
MEDIUM
Analyzed
Oct 1, 2026, 07:33 PM