The skill facilitates remote code execution and internal network scanning by insecurely handling secrets, executing arbitrary JavaScript, and lacking necessary tool constraints or input validation.
Findings (5)
Behavioural Control
Hightargets Action
The skill instructs users to pass a 'CDP_SECRET' via environment variables and embed it directly into a WebSocket URL, which is highly susceptible to logging, process inspection, and accidental exposure in shell history.
const WS_URL = `wss://your-worker.workers.dev/cdp?secret=${encodeURIComponent(CDP_SECRET)}`;The skill explicitly encourages the use of 'Runtime.evaluate' to execute arbitrary JavaScript in the context of a remote browser, which, when combined with the SSRF-prone URL construction, allows for remote code execution on the target site.
await send('Runtime.evaluate', { expression: 'window.scrollBy(0, 300)' });The skill accepts arbitrary URLs for navigation and screenshotting without validation, enabling the agent to be used as a proxy to scan internal networks or access sensitive cloud metadata services.
await send('Page.navigate', { url: 'https://example.com' });Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.