npm package report

Is bcrypt safe?

1 known vulnerability, worst severity MODERATE.

// reach

7 direct dependencies

none carry a known advisory

    101 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    0.0
    medium

    severity out of 10

    epss
    0.00%
    medium

    chance of exploitation in 30 days, 55th percentile of all CVEs

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-5wg4-74h6-q47v, the advisory selected below

    // 1 advisories

    GHSA-5wg4-74h6-q47v

    MODERATECVE-2020-7689

    In bcrypt (npm package) before version 5.0.0, data is truncated wrong when its length is greater than 255 bytes.

    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

    Attack vector
    Network
    Attack complexity
    High
    Privileges required
    None
    User interaction
    None
    Scope
    Unchanged
    Confidentiality
    None
    Integrity
    High
    Availability
    None

    Checked 2026-10-04 at 01:07 UTC. The most recent advisory here was published 2020-08-20. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.