In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade generate-pincode
to version 5.0.2 or higher.
generate-pincode
is a module for generating random pincodes.
Affected versions of the package are vulnerable to Insecure Randomness. It used the cryptographically insecure Math.random()
in order to shuffle the pin code array, which can produce predictable values and should not be used in security-sensitive context.
Typically, Math.random()
is sufficient for most uses but should be avoided for cryptographic use, where the ability to predict the outcome gives the attacker a significant advantage.