Malicious Package Affecting typescript-react-query package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-TYPESCRIPTREACTQUERY-15477133
  • published12 Mar 2026
  • disclosed12 Mar 2026
  • creditKiran Raj, Rachana Misal

Introduced: 12 Mar 2026

New Malicious CVE NOT AVAILABLE CWE-506  (opens in a new tab)

How to fix?

Avoid using all malicious instances of the typescript-react-query package.

Overview

typescript-react-query is a malicious package. This package was recognized as part of the 'PhantomRaven' supply chain campaign, which involves credential-stealing malware. The package impersonates well-known ecosystem plugins to deceive developers into installing it.

Malicious Behavior

The package uses Remote Dynamic Dependencies (RDD) to avoid detection. Instead of embedding malicious code directly into the npm registry, its package.json lists an external URL as a dependency. During a regular npm install, npm quietly downloads and runs a secondary payload from an attacker-controlled server. After execution, the malware collects and sends sensitive data, including developer email addresses from .gitconfig and .npmrc files, system fingerprints, and CI/CD tokens.

References

CVSS Base Scores

version 4.0
version 3.1