Skip to content

Docs request: B311 random suggesting fixes #1023

Closed
@jamesbraza

Description

Is your feature request related to a problem? Please describe.

https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b311-random documents not to use pseudo-random generators. However, it doesn't document what to use instead.

As someone with limited security experience, I am not sure what to use instead of random.random().

Describe the solution you'd like

Provide 1+ suggestions for what to use instead of functions from the random library.

Describe alternatives you've considered

n/a

Additional context

n/a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions