demo-evidence
Audited by Socket on Sep 4, 2026
1 alert found:
AnomalyThis module is primarily a legitimate Playwright-based capture utility (screenshot/video/tracing) that outputs a JSON manifest. The dominant security concern is an intentional dynamic execution feature: providing --steps causes the tool to import and execute arbitrary local JavaScript (mod.default(page)) with the live Playwright page object. If an attacker can influence --steps, this becomes a strong arbitrary-code-execution risk. The other notable risk is that it will visit and record content from an attacker-controlled --url, producing artifacts that may contain sensitive data (though this module does not itself perform network exfiltration). No clear indicators of hidden malware, obfuscated payloads, persistence, or credential theft are present in the provided snippet.