agent-first-screenshots

Warn

Audited by Socket on Aug 14, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/capture-verify.mjs

This module is primarily an automation tool for screenshot capture and image-based verification, but it contains multiple high-risk misuse primitives. The most significant is unvalidated spec.preCapture being executed via Runtime.evaluate in the remote browser/runtime over a WebSocket connection. Additionally, it accepts wsUrl and outPath directly from CLI without validation, enabling arbitrary remote endpoint interaction and potential arbitrary filesystem writes/overwrites. There is no clear evidence of classic embedded malware (e.g., mining/backdoor/exfiltration) within this snippet, but the exposed execution and write capabilities substantially increase security risk when attacker-controlled inputs are possible.

Confidence: 70%Severity: 75%
Audit Metadata
Analyzed At
Aug 14, 2026, 03:33 AM
Package URL
pkg:socket/skills-sh/devin-axis%2Fipollowork%2Fagent-first-screenshots%2F@ec61ea822e6bff0123f0cfc4d5ad28d3d46a41fcebe31bdbc2d7d960736f89bb