drive-desktop-cdp

Pass

Audited by Gen Agent Trust Hub on Nov 15, 2026

Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DATA_EXFILTRATION]: The skill accesses the application's local state database at ~/.config/openwork/opencode-v2/state/opencode.db to read session messages and history. While intended for debugging and state reproduction, this constitutes access to sensitive user communication data.
  • [COMMAND_EXECUTION]: The skill utilizes several shell commands including pnpm, node, and sqlite3 to manage the application lifecycle, drive browser automation scripts, and query the local state database.
  • [DYNAMIC_EXECUTION]: The eval command in scripts/cdp.mjs uses Runtime.evaluate over CDP to execute arbitrary JavaScript within the target application. This provides powerful, unrestricted control over the browser environment and the app's runtime state.
  • [CREDENTIALS_UNSAFE]: The refreshProviders function in scripts/cdp.mjs programmatically retrieves a server token (openwork.server.token) from the browser's localStorage and uses it as an Authorization Bearer token for local API calls to the OpenWork server.
  • [INDIRECT_PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection.
  • Ingestion points: CLI arguments for the send and eval commands in scripts/cdp.mjs (the prompt and expression variables).
  • Boundary markers: Absent; instructions are directly interpolated into executable contexts.
  • Capability inventory: Runtime.evaluate (arbitrary JS execution), Page.captureScreenshot (file system write), and browser-side fetch (network operations).
  • Sanitization: JSON.stringify is used for model and prompt arguments in the send command, but the raw eval functionality lacks any sanitization, allowing for potential exploitation if the agent processes malicious input from external sources.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 15, 2026, 12:38 PM