exec() call detected
High
- Category
- Dangerous Code Execution
- Content
import pandas as pd scope = {"df": df, "pd": pd} exec(code, scope) result = scope.get("result") return TableQAStep(- Confidence
- 99% confidence
- Finding
- The engine executes LLM-generated Python with exec(code, scope) and does not restrict builtins, imports, filesystem access, or process/network capabilities. Because the generated code is influenced by user queries, schema content, and model output, an attacker can induce arbitrary code execution, data exfiltration, file access, or system compromise.
