npm package report

Is braces safe?

2 known vulnerabilities, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    22 packages depend on it

    an advisory here reaches each of them

    • chokidar
    • karma
    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
    7.5
    high

    CVSS v3.1 base score out of 10

    epss
    1.5%
    medium

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

    xyz score
    4.4
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-grv7-fg5c-xmjg, the advisory selected below

    // 2 advisories

    GHSA-grv7-fg5c-xmjg

    HIGHGitHub ratingCVE-2024-4068

    The NPM package braces fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In lib/parse.js, if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.

    // cvss v3.1 vector

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

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

    Checked 2026-11-07 at 12:40 UTC. The most recent advisory here was published 2024-05-14. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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