clone-page
Audited by Socket on Jul 3, 2026
2 alerts found:
AnomalySecurityOverall, this module is best characterized as an asset downloader/collector with moderate-to-high *tooling* risk drivers rather than clear malware. The primary concerns are (1) dynamic code execution via new Function(script)() within page.evaluate (critical if the injected function body can be influenced/compromised), (2) unrestricted http/https downloading of attacker-controlled URLs with recursive redirect following (SSRF-like reach in the environment running this tool), and (3) persisting raw SVG markup without sanitization (potential scriptable SVG issues depending on later usage). No explicit credential theft, reverse shell, or direct exfiltration mechanism is present in the shown code fragment.