klingai-storage-integration
Audited by Socket on Sep 9, 2026
2 alerts found:
Anomalyx2The fragment implements ordinary Azure video storage functionality and contains no clear malware or intentional supply-chain backdoor. The main security concern is SSRF through the unrestricted video_url, compounded by missing request timeouts and response-size limits. Unvalidated job_id and overwrite=True can enable blob collisions or replacement when inputs are attacker-controlled. SAS URLs and the storage connection string require normal credential protection. The missing os import causes the sample usage to fail unless os is imported elsewhere.
The code implements a plausible video-to-GCS integration and contains no clear malware indicators. The principal security concerns are SSRF through the unrestricted video_url, denial-of-service risk from downloading an unbounded response into memory, and object-name manipulation or unintended overwrites through an unvalidated job_id. Signed URL generation and public URL construction require appropriate application authorization and bucket access controls.