sglang-prod-incident-triage
Audited by Socket on Sep 17, 2026
2 alerts found:
AnomalySecurityNo clear malicious behavior or embedded malware is present. The code is a diagnostic and incident-bundle utility. Security review is required before using summarize-dump on untrusted pickle files because pickle.load() permits arbitrary code execution. The collector also trusts the user-provided base URL and sends the bearer token to that destination, creating a credential-disclosure risk if the URL is incorrect or attacker-controlled. Use trusted inputs, validate allowed destinations, and replace pickle with a safe serialization format or a restricted authenticated loader.
This module is not overtly malicious by design (no explicit backdoor/exfiltration logic beyond HTTP replay), but it is high-risk due to unsafe pickle.load() on local .pkl inputs and because it can send deserialized request content to a user-specified host/port. If untrusted .pkl files can be provided, arbitrary code execution is the dominant threat; otherwise, the primary risks are network interaction to an arbitrary endpoint and potential DoS amplification through concurrency and large replay defaults.