Malicious Code Injection in sore_crayfish_0xrequest Package
Summary
MAL-2025-108922: Malicious code in sore_crayfish_0xrequest (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 sore_crayfish_0xrequest package is part of the npm ecosystem and is associated with 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, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability in the sore_crayfish_0xrequest package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry and potential exploitation of developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sore_crayfish_0xrequest
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 sore_crayfish_0xrequest package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The sore_crayfish_0xrequest package has been identified as containing malicious code that can compromise the integrity of applications using it. Developers are advised to update to a secure version or remove the package entirely. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for sore_crayfish_0xrequest →
FAQ
The sore_crayfish_0xrequest package is an npm package linked to the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The package modifies the package.json file to remove private flags, changes version numbers, and creates random package names, leading to npm registry pollution.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, it can identify if your application is affected.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid using packages from untrusted sources.
If immediate updates are not possible, consider removing the package and using alternative solutions until a secure version is available.