playwright-browser-automation
Audited by Socket on Jul 20, 2026
1 alert found:
SecurityNo clear evidence of covert exfiltration, persistence, or explicit malware behavior is demonstrated in the provided fragment. However, the package’s design is materially risky: it can execute dynamically supplied local JavaScript (require(tempFile)) and can automatically install/run dependencies via synchronous npm/npx commands (execSync), both under the user’s privileges. Combined with weakened Chromium sandboxing and generation of screenshot artifacts, this makes the tool dangerous in automated/agent-driven or untrusted-input scenarios. Treat as high supply-chain/execution risk and require strict user approval and input control (especially around generated scripts and any dependency installation).