eval() call detected
High
- Category
- Dangerous Code Execution
- Content
file_path = file_entry.get() number = number_entry.get() number = eval(number)*1024*1024 # number = str(number) mode = var_mode.get()- Confidence
- 99% confidence
- Finding
- The GUI reads a user-controllable string from the chunk-size input and passes it directly to eval(). That enables arbitrary Python code execution in the context of the application, not just numeric parsing, so a crafted value could run commands, read files, or alter program behavior. In this skill context, the app is explicitly intended to be run locally on user files, which makes code execution especially dangerous because it executes with the user's filesystem access.
