cdp
Warn
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONOBFUSCATION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a local HTTP REPL server (
repl.ts) that accepts and executes arbitrary JavaScript code received on the loopback interface using theeval()function. - [DYNAMIC_EXECUTION]: Multiple components use CDP commands such as
Runtime.evaluateandPage.createIsolatedWorldto execute arbitrary JavaScript within the context of monitored browser pages. - [EXTERNAL_DOWNLOADS]: The skill downloads the
rrwebsession recording library fromcdn.jsdelivr.net. This download is verified with a hardcoded SHA-256 checksum. - [PERSISTENCE]: The
scripts/setupscript automatically modifies the user's shell configuration files (.zshrc,.bashrc, or.profile) to add the skill's binary directory to the system PATH. - [INDIRECT_PROMPT_INJECTION]: The skill interacts with untrusted web content and possesses high-privilege capabilities including JavaScript execution and local file access. Evidence Chain: (1) Ingestion: Page content is read via
page.snapshot()inpage.ts. (2) Boundary markers: Absent in the rendered text tree. (3) Capabilities: Arbitrary JavaScript execution, network requests, and local file access via the Node daemon. (4) Sanitization: Redaction logic is present insnapshot.tsfor identified sensitive fields. - [COMMAND_EXECUTION]: Shell scripts are used for environment configuration and for launching the Node.js daemon and browser processes.
- [OBFUSCATION]: The
sdk/pnpm-lock.yamlfile contains non-existent version numbers for dependencies (@types/node@26.0.0andtypescript@5.9.3) while keeping integrity hashes for older, real versions. This irregular practice pins dependencies to specific versions and prevents standard updates.
Audit Metadata