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.dbto 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, andsqlite3to manage the application lifecycle, drive browser automation scripts, and query the local state database. - [DYNAMIC_EXECUTION]: The
evalcommand inscripts/cdp.mjsusesRuntime.evaluateover 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
refreshProvidersfunction inscripts/cdp.mjsprogrammatically retrieves a server token (openwork.server.token) from the browser'slocalStorageand 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
sendandevalcommands inscripts/cdp.mjs(thepromptandexpressionvariables). - Boundary markers: Absent; instructions are directly interpolated into executable contexts.
- Capability inventory:
Runtime.evaluate(arbitrary JS execution),Page.captureScreenshot(file system write), and browser-sidefetch(network operations). - Sanitization:
JSON.stringifyis used formodelandpromptarguments in thesendcommand, but the rawevalfunctionality lacks any sanitization, allowing for potential exploitation if the agent processes malicious input from external sources.
Audit Metadata