npm package report

Is zx safe?

2 known vulnerabilities, worst severity MODERATE.

// reach

0 direct dependencies

none carry a known advisory

    13 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
    5.6
    medium

    CVSS v4.0 base score out of 10

    epss
    0.09%
    low

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

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-w87r-vg9q-crqm, the advisory selected below

    // 2 advisories

    GHSA-w87r-vg9q-crqm

    MODERATEGitHub ratingCVE-2025-13437

    When zx is invoked with --prefer-local=<path>, the CLI creates a symlink named ./node_modules pointing to <path>/node_modules. Due to a logic error in src/cli.ts (linkNodeModules / cleanup), the function returns the target path instead of the alias (symlink path). The later cleanup routine removes what it received, which deletes the target directory itself. Result: zx can delete an external <path>/node_modules outside the current working directory.

    // cvss v4.0 vector

    CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:U

    Attack vector
    Local
    Attack complexity
    Low
    Attack requirements
    None
    Privileges required
    None
    User interaction
    Active
    Confidentiality (vulnerable system)
    None
    Integrity (vulnerable system)
    High
    Availability (vulnerable system)
    High
    Confidentiality (subsequent systems)
    None
    Integrity (subsequent systems)
    High
    Availability (subsequent systems)
    High
    Exploit maturity
    Unreported

    Checked 2026-11-06 at 21:39 UTC. The most recent advisory here was published 2025-11-20. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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