Malicious Code Injection in mussta-dfds-nitrfu Package
Summary
MAL-2025-161062: Malicious code in mussta-dfds-nitrfu (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 mussta-dfds-nitrfu package is part of the npm ecosystem and appears to be linked to the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the mussta-dfds-nitrfu package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who inadvertently use these packages, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mussta-dfds-nitrfu
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 mussta-dfds-nitrfu package and look for alternative packages that provide similar functionality without the associated risks. 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 mussta-dfds-nitrfu package contains malicious code that poses significant risks to developers and the integrity of the npm ecosystem. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert.
See every vulnerability recorded for mussta-dfds-nitrfu →
FAQ
The mussta-dfds-nitrfu package is an npm package associated with a token reward campaign that automates the generation and publication of derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and polluting the npm registry with unwanted packages.
You should uninstall the mussta-dfds-nitrfu package immediately using 'npm uninstall mussta-dfds-nitrfu' and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without needing to sign up.