You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hashlib_insecure_functions.py plugin is checkin for arguments that don't exist. For example, there is no kwarg for 'name'. The actual signature of the function is:
Describe the bug
The hashlib_insecure_functions.py plugin is checkin for arguments that don't exist. For example, there is no kwarg for 'name'. The actual signature of the function is:
The hashlib_new_insecure_functions example also includes a bunch of invalid examples.
Reproduction steps
See https://docs.python.org/3/library/hashlib.html
Expected behavior
The checking should be accurate to the function API.
Bandit version
1.7.4 (Default)
Python version
3.9
Additional context
No response
The text was updated successfully, but these errors were encountered: