Issue: [B307:blacklist] Use of possibly insecure function - consider using safer ast.literal_eval.
More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b307-eval
Severity: Medium Confidence: High
Locations:
|
low = eval(range_object._low) |
|
high = eval(range_object._high) |
|
self.low = eval(handler._low) |
|
self.high = eval(handler._high) |
|
low = eval(str(self._label_lo.text()).strip()) |
|
high = eval(str(self._label_hi.GetValue()).strip()) |
Issue: [B307:blacklist] Use of possibly insecure function - consider using safer ast.literal_eval.
More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b307-eval
Severity: Medium Confidence: High
Locations:
traitsui/traitsui/editors/csv_list_editor.py
Line 128 in 87dceb2
traitsui/traitsui/editors/csv_list_editor.py
Line 129 in 87dceb2
traitsui/traitsui/editors/range_editor.py
Line 124 in 87dceb2
traitsui/traitsui/editors/range_editor.py
Line 130 in 87dceb2
traitsui/traitsui/qt4/check_list_editor.py
Line 263 in 87dceb2
traitsui/traitsui/qt4/color_trait.py
Line 36 in 87dceb2
traitsui/traitsui/qt4/extra/bounds_editor.py
Line 93 in 87dceb2
traitsui/traitsui/wx/check_list_editor.py
Line 243 in 87dceb2
traitsui/traitsui/wx/color_trait.py
Line 134 in 87dceb2
traitsui/traitsui/wx/extra/bounds_editor.py
Line 158 in 87dceb2