Malicious Code Injection in muddy_scorpion_requirement Package
Summary
MAL-2025-95552: Malicious code in muddy_scorpion_requirement (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 muddy_scorpion_requirement package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is involved in the tea.xyz token reward campaign, which has been associated with malicious activities. It is designed to automate the generation and publication of derivative packages, potentially compromising the integrity of the npm registry and affecting developers' reputations.
Vulnerability Detail
The vulnerability in the muddy_scorpion_requirement package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to the pollution of the npm registry with numerous derivative packages. The origin of this vulnerability is linked to a campaign that exploits npm's publishing mechanisms, posing risks to developers and users relying on 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 muddy_scorpion_requirement
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 muddy_scorpion_requirement package and seek alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The muddy_scorpion_requirement package poses a significant risk due to its malicious code that alters package metadata and publishes unwanted derivatives. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for muddy_scorpion_requirement →
FAQ
It is an npm package involved in a token reward campaign that has been found to contain malicious code.
The malicious code modifies your package.json file and can lead to the publication of unwanted packages, potentially harming your project's reputation.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
You should uninstall the muddy_scorpion_requirement package immediately and check for any dependencies that may be affected.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages.