go-rod-master
Audited by Socket on Sep 6, 2026
2 alerts found:
Anomalyx2The provided fragment describes a high-capability browser automation module that supports both stealth/fingerprinting evasion and network hijacking with the ability to modify HTTP response bodies and block requests, plus direct CDP commands that alter browser behavior. While the excerpt does not demonstrate explicit data theft or external exfiltration, the described combination is consistent with covert scraping/content manipulation workflows and should be treated as a security-sensitive dependency. Verification should focus on the complete interception handler logic (what is matched, what is modified, and whether any data is transmitted externally) and the surrounding code that performs stealth patches.
This is a network interception/injection demo that can (1) block resources, (2) inject/override Authorization headers on intercepted API requests, (3) tamper with delivered JavaScript by rewriting response bodies, and (4) log extensive network metadata to stdout. While the snippet shows no clear malware primitives like shell/process control or direct exfiltration, the combination of credential-handling smell (hardcoded bearer token), stealth usage, and JavaScript content modification creates a meaningful security risk if reused beyond a controlled test environment. Treat as security-relevant and restrict scope (remove hardcoded credentials, narrow interception patterns, disable response rewriting and verbose logging in production).