Skip to content

← Public intelligence

npm package

otp-generator

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8npmAmendedPublished

    otp-generator before v3.0.0 insecurely generates random one-time passwords

    CVE-2021-23451 · GHSA-6x93-h9g3-9phr

    Affected
    • npm otp-generator < 3.0.0
    Fixed in
    3.0.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 3.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →