Malicious Code Injection in tusaya-s-rfe Package
Summary
MAL-2025-169408: Malicious code in tusaya-s-rfe (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 tusaya-s-rfe package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate its own metadata and publish variants that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the tusaya-s-rfe package originates from its involvement in the tea.xyz token reward campaign. This campaign utilizes autopublish scripts to generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. The malicious payload alters the package.json file by removing private flags, changing version numbers, and continuously republishing variants, which can lead to pollution of the npm registry and potential exploitation of users who install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tusaya-s-rfe
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 measure, avoid using the tusaya-s-rfe package and consider replacing it with a trusted alternative. Ensure that your project dependencies are regularly audited for vulnerabilities.
Conclusion
The tusaya-s-rfe package poses a significant risk due to its malicious code designed to manipulate npm registry data. It is essential to remove this package from your project and stay vigilant about the security of your dependencies.
See every vulnerability recorded for tusaya-s-rfe →
FAQ
The tusaya-s-rfe package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the installation of malicious packages that compromise your project's integrity and security.
You should uninstall the tusaya-s-rfe package immediately and monitor your project for any unusual activity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, use trusted packages, and stay informed about vulnerabilities in the open-source ecosystem.