The package otp-generator before 3.0.0 are vulnerable to Insecure Randomness due to insecure generation of random one-time passwords, which may allow a brute-force attack.
{
"cwe_ids": [
"CWE-330"
],
"github_reviewed": true,
"github_reviewed_at": "2022-08-06T09:35:03Z",
"nvd_published_at": "2022-07-25T14:15:00Z",
"severity": "CRITICAL"
}