---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
---
S307 Use of possibly insecure function; consider using `ast.literal_eval`
 --> S307.py:3:7
  |
1 | import os
2 |
3 | print(eval("1+1"))  # S307
  |       ^^^^^^^^^^^
4 | print(eval("os.getcwd()"))  # S307
  |

S307 Use of possibly insecure function; consider using `ast.literal_eval`
 --> S307.py:4:7
  |
3 | print(eval("1+1"))  # S307
4 | print(eval("os.getcwd()"))  # S307
  |       ^^^^^^^^^^^^^^^^^^^
  |
