wan-video-clone
Fail
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script is vulnerable to command injection because it interpolates the unsanitized
--videoCLI argument directly into shell commands executed viaexecSync. - Evidence: In
wan-video-clone.js, theffprobeandffmpegcommands in functions likegetVideoDuration,splitVideo, andextractFrameuse template literals to insert thevideoInputor resulting paths into shell strings. - [EXTERNAL_DOWNLOADS]: The skill downloads content from arbitrary user-supplied URLs.
- Evidence: The
downloadFilefunction fetches the URL provided in the--videoflag without domain restriction or validation. - [CREDENTIALS_UNSAFE]: The skill explicitly disables TLS certificate validation, creating a high risk of credential theft through Man-in-the-Middle (MitM) attacks.
- Evidence:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"is set at the top ofwan-video-clone.js. This allows an attacker to intercept network traffic and steal theFAL_KEYorREPLICATE_API_TOKENwhich are sent in plaintext headers over the compromised connection.
Recommendations
- AI detected serious security threats
Audit Metadata