npm package report

Is @vitest/mocker safe?

@vitest/mocker (npm) has 3 known vulnerabilities, the worst rated MODERATE. Upgrade to 5.0.3 or later to clear all of them. No malicious-package signal is recorded.

// reach

4 direct dependencies

none carry a known advisory

    5 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.9
    medium

    CVSS v3.1 base score out of 10

    epss
    0.54%
    medium

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

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-xp26-3454-mjgp, the advisory selected below

    // 3 advisories

    The path traversal fix released for GHSA-82fw-gwwq-j7x9 can be bypassed on Windows by using a backslash in the redirect URL pathname.

    Full advisory text at GitHub advisory or NVD.

    // cvss v3.1 vector

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

    Attack vector
    Network
    Attack complexity
    High
    Privileges required
    None
    User interaction
    None
    Scope
    Unchanged
    Confidentiality
    High
    Integrity
    None
    Availability
    None
    // questions
    Is @vitest/mocker safe to install?

    CyberXYZ does not call a package safe in absolute terms. It records 3 known vulnerabilities for @vitest/mocker (npm), the worst rated MODERATE, and no malicious-package signal. Whether it is acceptable depends on the version you run.

    Does @vitest/mocker have known vulnerabilities?

    Yes. CyberXYZ records 3 known vulnerabilities for @vitest/mocker (npm), the worst rated MODERATE. They are GHSA-xp26-3454-mjgp, GHSA-qxg6-89mg-rqv8, GHSA-82fw-gwwq-j7x9.

    Which version of @vitest/mocker should I use?

    5.0.3 or later clears every advisory recorded for @vitest/mocker (npm). Check the release you pick before installing it.

    How do I check @vitest/mocker before installing?

    Search @vitest/mocker in CyberXYZ Check at https://cyberxyz.io/check?q=%40vitest%2Fmocker. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


    Checked 2026-11-14 at 07:25 UTC. The most recent advisory here was published 2026-10-21. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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