Malicious Code Vulnerability in sore_mole_0xrequest Package
Summary
MAL-2025-108926: Malicious code in sore_mole_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_mole_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 and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising other packages. The malicious scripts included in this package are designed to automate the process of creating and publishing these variants, making it a significant threat to developers relying on npm for package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sore_mole_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_mole_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file is regularly audited for any unauthorized changes.
Conclusion
The sore_mole_0xrequest package contains a significant vulnerability due to its malicious code, which can compromise your project and the npm registry. It is crucial to remove this package and monitor your dependencies to maintain the security of your applications.
See every vulnerability recorded for sore_mole_0xrequest →
FAQ
The sore_mole_0xrequest package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to unauthorized changes in your package.json file, potentially compromising the integrity of your project and polluting the npm registry.
You should uninstall the sore_mole_0xrequest package immediately using 'npm uninstall sore_mole_0xrequest' to mitigate any risks.
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 visiting the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about vulnerabilities in the packages you use.