hiapi-seedance-2-0-video
Audited by Socket on Aug 25, 2026
1 alert found:
AnomalyNo direct malware/backdoor behavior is evident in the provided fragment. The main security concern is saveVideoOutput(): it can download arbitrary http/https content from a weakly validated videoUrl and write the full response bytes to disk with no host allowlist and no download size/time limits. If videoUrl/outputDir can be influenced by an attacker (directly or indirectly via earlier logic), this creates SSRF-like network probing and disk/memory exhaustion risks. The skill-update check performs outbound fetches for a manifest and constructs an npx-based update command, but it does not execute it in this module. Overall: moderate security risk concentrated in unbounded fetch-to-filesystem behavior.