eval() call detected
High
- Category
- Dangerous Code Execution
- Content
return try: # Evaluate in context result = eval(line, globals(), self.ctx) if result is not None: print(repr(result)) except Exception as e:- Confidence
- 99% confidence
- Finding
- The console evaluates arbitrary Python entered by the user with access to module globals and the live analysis context. That enables arbitrary code execution, filesystem and environment access, and extraction or mutation of in-memory data if an attacker can access the debug console or influence its input.
