Malicious Code Injection in tusaaya-s-rfe Package - npm Vulnerability
Summary
MAL-2025-169382: Malicious code in tusaaya-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 tusaaya-s-rfe package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the tusaaya-s-rfe package involves malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tusaaya-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 workaround, you can avoid using the tusaaya-s-rfe package and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The tusaaya-s-rfe package presents a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and utilize monitoring tools like Vulert to safeguard against future vulnerabilities.
See every vulnerability recorded for tusaaya-s-rfe →
FAQ
The tusaaya-s-rfe package is an npm package associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores through automated package publishing.
The vulnerability can compromise your project's integrity by introducing malicious code that modifies your package.json file and floods the npm registry with unwanted packages.
If you have installed the tusaaya-s-rfe package, you should uninstall it immediately using 'npm uninstall tusaaya-s-rfe' and monitor your project for any further vulnerabilities.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to your packages.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.