Malicious Code Injection in flea_moccasin-55: A Threat to npm Ecosystem
Summary
MAL-2025-97826: Malicious code in flea_moccasin-55 (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
flea_moccasin-55 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. It is designed to manipulate package metadata and inflate developer reputation scores through automated scripts. The package's functionality is compromised, making it a vector for malicious activities.
Vulnerability Detail
The vulnerability in flea_moccasin-55 stems from its involvement in the tea.xyz token reward campaign, which floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall flea_moccasin-55
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 flea_moccasin-55 and any packages that depend on it. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The flea_moccasin-55 package poses a significant threat to the npm ecosystem due to its malicious code that manipulates package metadata. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for flea_moccasin-55 →
FAQ
flea_moccasin-55 is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting your application's security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By using the Vulert playground, you can check if your application is affected by this vulnerability without any signup.
Remove the flea_moccasin-55 package from your project and check for any dependencies that may rely on it. Update your project to ensure it is secure.
Yes, tools like Vulert can help monitor and alert you to open-source vulnerabilities in your software, ensuring you stay informed about potential threats.