rmagent-dfir
Audited by Socket on Oct 24, 2026
1 alert found:
AnomalyThis utility extracts values from input text through the installed needle library. Its primary security issue is unsanitized command-line field names embedded in generated Python code, which can enable code execution when arguments are attacker-controlled; its predictable temporary script path also creates a file-overwrite risk in unsafe TMPDIR environments. The code contains no explicit credential theft or direct network exfiltration, and the fragment does not establish the external library's behavior. Severity is medium, conditional on attacker control of arguments or the temporary directory; relevant path and environment indicators are TMPDIR, /tmp/needle-extract-child.py, and NEEDLE_PYTHON.