otp-generator@2.0.1 vulnerabilities

One time password generator

Direct Vulnerabilities

Known vulnerabilities in the otp-generator package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Insecure Randomness

otp-generator is an One time password generator

Affected versions of this package are vulnerable to Insecure Randomness due to insecure generation of random one-time passwords, which may allow a brute-force attack.

How to fix Insecure Randomness?

Upgrade otp-generator to version 3.0.0 or higher.

<3.0.0