bm25
Warn
Audited by Socket on Jul 30, 2026
1 alert found:
SecuritySecurityscripts/bm25.py
MEDIUMSecurityMEDIUM
scripts/bm25.py
No clear evidence of intentional malware (no subprocess execution, no covert exfiltration, no credential theft). The dominant security risk is high-impact unsafe handling of untrusted inputs: tar.extractall() on a network-downloaded archive without path validation and pickle.load() of a local on-disk cache that could be attacker-controlled if filesystem integrity/permissions are not assured. In hostile or multi-tenant environments, these issues can lead to severe compromise (file overwrite and potential arbitrary code execution).
Confidence: 68%Severity: 70%
Audit Metadata