npm package report

Is @tanstack/router-core safe?

Versions 1.169.8 and 1.169.5 of @tanstack/router-core were compromised; other versions are not flagged as malicious. CyberXYZ Proxy blocks the affected versions. It also has 1 known vulnerability, the worst rated CRITICAL.

Do not install @tanstack/router-core 1.169.8 or 1.169.5

CRITICAL

Compromised releases. Added to CyberXYZ 2026-05-11, OSV malicious-package feed (Google / OpenSSF).

// what we observed

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it. This package was compromised as part of the "Mini Shai-Hulud is back" worm by the TeamPCP threat actor. The package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.

Reported by GitHub Advisory Database and Google Open Source Security via OSV.

// versions and what to do
Malicious
1.169.8, 1.169.5
Move to
1.171.39 newest 1.x release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

npm install @tanstack/router-core@1.171.39

OSV recordadvisoryreferencereferencereferencereferencereference

// reach

0 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
    9.6
    critical

    CVSS v3.1 base score out of 10

    epss
    3.3%
    medium

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

    xyz score
    4.2
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-g7cv-rxg3-hmpx, the advisory selected below

    // 1 advisories

    GHSA-g7cv-rxg3-hmpx

    CRITICALGitHub ratingexploited in the wildCVE-2026-45321

    On 2026-05-11, between approximately 19:20 and 19:26 UTC, 84 malicious versions across 42 @tanstack/ packages were published to the npm registry.

    Full advisory text at GitHub advisory or NVD.

    // cvss v3.1 vector

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

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    Required
    Scope
    Changed
    Confidentiality
    High
    Integrity
    High
    Availability
    High
    // questions
    Is @tanstack/router-core safe to install?

    Versions 1.169.8 and 1.169.5 of @tanstack/router-core were compromised. Other versions are not flagged as malicious.

    Does @tanstack/router-core have known vulnerabilities?

    Yes. CyberXYZ records 1 known vulnerability for @tanstack/router-core (npm), the worst rated CRITICAL. They are GHSA-g7cv-rxg3-hmpx.

    Which version of @tanstack/router-core should I use?

    Use 1.171.39 or a later release that is not named as malicious. Versions named on this report as malicious must not be installed.

    How do I check @tanstack/router-core before installing?

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


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

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