Malicious Code Injection in tusya-fd-frseaf Package - npm Vulnerability
Summary
MAL-2025-169413: Malicious code in tusya-fd-frseaf (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-frseaf package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to significant security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the tusya-fd-frseaf package stems from its association with the tea.xyz token reward campaign, which has been flooding npm with malicious packages. These packages contain scripts designed to automatically generate and publish derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, thereby polluting the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tusya-fd-frseaf
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-frseaf package and replace it with a trusted alternative. Additionally, you can monitor your project for any instances of this package using tools like Vulert, which can alert you to open-source vulnerabilities in real-time without requiring code access or installation.
Conclusion
The tusya-fd-frseaf package poses a significant security risk due to its malicious code injection capabilities. Developers should take immediate action to remove this package and monitor their projects for any potential vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for tusya-fd-frseaf →
FAQ
The tusya-fd-frseaf package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
This vulnerability can compromise your project's integrity by introducing malicious code that modifies package configurations and republishing variants, potentially leading to security breaches.
If you have installed the tusya-fd-frseaf package, you should remove it immediately and monitor your project for any signs of compromise.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
To prevent future vulnerabilities, regularly audit your dependencies, use trusted packages, and employ tools like Vulert to monitor for open-source vulnerabilities.