Malicious Code Injection in tusya-fd-rseaf Package
Summary
MAL-2025-169414: Malicious code in tusya-fd-rseaf (npm). Affected versions are not published. 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 tusya-fd-rseaf package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. The malicious nature of this package poses significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in the tusya-fd-rseaf package originates from its association with the tea.xyz token reward campaign. It includes scripts that automatically modify the package.json file to remove private flags, alter version numbers, and create random package names. This behavior leads to the continuous republishing of variants, which can pollute the npm registry and compromise the integrity of the ecosystem. The ramifications include potential security risks for applications relying on this package, as well as reputational damage for developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tusya-fd-rseaf
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
As a temporary workaround, you can avoid using the tusya-fd-rseaf package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The tusya-fd-rseaf package poses a significant security risk due to its malicious code and association with a harmful campaign. It is crucial for developers to remove this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts.
See every vulnerability recorded for tusya-fd-rseaf →
FAQ
The tusya-fd-rseaf package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the tusya-fd-rseaf package immediately and monitor your application for any unusual behavior.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights into potential risks.