dubbing
Audited by Socket on Aug 3, 2026
2 alerts found:
Anomalyx2No direct evidence of intentional malware/backdoor behavior is present in this module. The main security concerns are robustness issues at the trust boundaries: (1) it fetches remote download URLs derived from upstream responses without host/protocol allowlisting, and (2) it streams downloaded content into createWriteStream(outPath) without destination sanitization in this module. If either the server responses or outPath/outPathFor inputs can be influenced by an attacker, the code could be abused for SSRF/internal access and/or arbitrary file overwrite. In a tightly controlled integration where download URLs and outPath are trusted and validated, the risk is substantially lower.
This module is primarily an input normalizer/downloader and does not show explicit backdoor or data-theft patterns. The main security risk is untrusted server-side fetching for arbitrary http(s) URLs not matching PLATFORM_HOSTS, followed by streaming the response body directly to a temporary file with no explicit size/time/content validation in this snippet. Additionally, optional recursive directory traversal can amplify resource usage. These are significant operational risks that should be mitigated at the application/network layer (URL allowlisting/denylisting, SSRF protections, download limits, and timeout/size caps), but there is no direct evidence of malware execution within this code.