eval() call detected
High
- Category
- Dangerous Code Execution
- Content
} try: return bool(eval(resolved_str, {"__builtins__": safe_builtins}, namespace)) except Exception: return False- Confidence
- 99% confidence
- Finding
- `eval_condition()` executes attacker-controlled expressions with Python `eval` after template resolution. Even with restricted builtins, exposing Python objects through globals, scopes, or step outputs can enable capability escalation, data access, denial of service, or sandbox bypass via object traversal and introspection tricks; in a workflow engine, conditions are often user/script supplied, which makes this especially dangerous.
