agent-browser
Audited by Socket on Oct 8, 2026
2 alerts found:
Anomalyx2The code is documentation for browser automation and does not itself contain malware. However, the Node.js and Python examples demonstrate unsafe shell-command construction, enabling command injection if command or page-derived values are attacker-controlled. The password-in-command example also creates credential exposure risk. Use argument arrays with execFile/spawn or subprocess.run(shell=False), validate refs and URLs, and avoid passing secrets on command lines.
The content is a browser-automation workflow template, not apparent malware. It presents a command-injection risk in the Python example because untrusted command text is executed with shell=True, and it demonstrates insecure plaintext credential handling through command-line arguments. Use subprocess.run with an argument list and shell=False, and obtain credentials from a secure secret store or protected input mechanism.