Critical Malicious Code Vulnerability in @trackstar/react-trackstar-link-upgrade Package
Summary
MAL-2025-191324: Malicious code in @trackstar/react-trackstar-link-upgrade (npm). Affects @trackstar/react-trackstar-link-upgrade versions 1.1.10. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @trackstar/react-trackstar-link-upgrade package is an npm library designed to facilitate the integration of Trackstar's link upgrade functionality within React applications. It provides developers with tools to enhance user experience by managing link upgrades seamlessly. However, this package has been compromised, exposing users to significant security risks.
Vulnerability Detail
The vulnerability stems from a malicious code injection within the @trackstar/react-trackstar-link-upgrade package, specifically version 1.1.10. This compromise is attributed to the Sha1-Hulud: The Second Coming NPM worm, which steals tokens and credentials, publishing them to GitHub. The worm can propagate itself to other NPM packages owned by the user and may also destroy the user's home directory, leading to severe data loss and unauthorized access.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @trackstar/react-trackstar-link-upgrade
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, the best workaround is to completely remove the affected package and avoid using it until a secure version is released. Ensure that all secrets and keys stored on the affected computer are rotated immediately from a different, secure machine.
Conclusion
The @trackstar/react-trackstar-link-upgrade package has been identified as containing malicious code, posing serious security risks to users. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring and using tools like Vulert can help in identifying such vulnerabilities in the future.
See every vulnerability recorded for @trackstar/react-trackstar-link-upgrade →
FAQ
You should uninstall the package immediately and rotate any secrets or keys stored on the affected machine.
The malicious code can steal sensitive information, potentially leading to unauthorized access and data breaches.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
The malicious code originated from a worm known as Sha1-Hulud: The Second Coming, which compromised the package and injected harmful payloads.
While removing the package is crucial, there is no guarantee that all malicious software will be removed, as full control of the computer may have been compromised.