PyCQA / bandit

Bandit is a tool designed to find common security issues in Python code.
https://bandit.readthedocs.io
Apache License 2.0
6.52k stars 612 forks source link

Add `random.Random` to B311 checks #940

Closed shiftinv closed 1 year ago

shiftinv commented 2 years ago

The lowercase random.random already matches random.Random on Windows as well (due to being case-insensitive), but not on other platforms.

Resolves #926.

daavoo commented 1 year ago

Hi! Friendly ping. What's the status of this?

The inconsistency across platforms is inconvenient when running automated checks against multiple platforms.