eval() call detected
High
- Category
- Dangerous Code Execution
- Content
f"steps[{step_id}].outputs", json.dumps(result.outputs) ) return eval(eval_str) except Exception as e: self.logger.warning(f"Failed to evaluate condition: {e}") return False- Confidence
- 99% confidence
- Finding
- The orchestrator evaluates workflow-supplied condition strings with Python's eval(), which enables arbitrary code execution if an attacker can influence workflow configuration. In this context, workflow definitions are effectively untrusted input, so a crafted condition could execute OS commands, access files, or tamper with process state rather than merely perform branching logic.
