atai-rare-event-detection-agent
Warn
Audited by Socket on Aug 25, 2026
1 alert found:
AnomalyAnomalyreferences/run_red_agent.py
LOWAnomalyLOW
references/run_red_agent.py
No direct evidence of intentional malware (no eval/exec, no subprocess/persistence, no credential harvesting beyond using an intended API key). However, this module has meaningful security risks: it will fetch a remote-provided HTTP URL without host allowlisting (SSRF-like behavior) and then write the fetched bytes to an arbitrary user-controlled local path (--output) without validation. In threat models where the remote ref can be influenced (compromised service/MITM/abuse of upstream), these behaviors could enable SSRF and arbitrary file overwrite. Use only with trusted endpoints/responses and constrain --output in operational environments.
Confidence: 66%Severity: 58%
Audit Metadata