lang:

Python

regex:

random.random\s?\(\s?\)

description:

This function is a pseudo-random number generation that is not cryptographically secure. Ensure it is not being used with sensitive operations (e.g. cryptography).
tags:
insecure weak random entropy
results