SuperAGI Output Handler eval() RCE (CVE-2024-21552) - ATR-2026-00432 (cc1b6b50-ef22-5828-9b8c-edf7e6f7d3ee)
Detects exploitation of CVE-2024-21552 (CVSS 9.8), arbitrary code execution in all versions of SuperAGI. The vulnerable sink is eval() in superagi/agent/output_handler.py (lines 149 and 180); attacker induces the LLM to emit Python code in a position where output_handler subsequently passes it to eval(), gaining unauthenticated RCE on the SuperAGI host. This rule detects the LLM-output payload patterns that reach that sink: Python interpreter calls combined with process-spawning or filesystem APIs inside content fields a SuperAGI agent is likely to evaluate. CWE-94.