deepstream-sop
Audited by Socket on Jul 1, 2026
1 alert found:
AnomalyThe provided Triton Python backend fragment for DDM serving does not show overt malware behaviors (no networking/exfiltration, credential theft, or suspicious persistence) and the inference logic is typical for sliding-window model execution. However, it contains two high-impact supply-chain/security weaknesses: (1) loading checkpoints via torch.load(checkpoint) from an environment-configured path without integrity verification (potential deserialization-time arbitrary code execution if the checkpoint is attacker-controlled), and (2) dynamically importing model code using sys.path manipulation based on an environment-configured DDM_BASE_PATH (potential arbitrary code execution if the filesystem contents are tampered with). Overall, while direct malware is not evident, security risk is elevated primarily due to unverified deserialization and import-path trust assumptions.