Malicious Code Vulnerability in yearning_cod_0xrequest Package
Summary
MAL-2025-111272: Malicious code in yearning_cod_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 'yearning_cod_0xrequest' package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior makes the package susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that modify the package.json file to remove private flags and change version numbers. This allows the package to generate random names and continuously republish variants, polluting the npm registry. The malicious payload can lead to unauthorized access and manipulation of the package ecosystem, potentially affecting developers and users relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yearning_cod_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 remove the 'yearning_cod_0xrequest' package from your project by executing: 'npm uninstall yearning_cod_0xrequest'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The 'yearning_cod_0xrequest' package contains a significant vulnerability due to its malicious design aimed at manipulating the npm registry. It is crucial to update or remove the package to safeguard your project from potential threats.
See every vulnerability recorded for yearning_cod_0xrequest →
FAQ
It is an npm package that is part of a token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to unauthorized modifications in your package.json file and the potential pollution of the npm registry, affecting your project's integrity.
Check the npm registry for any updated versions of the 'yearning_cod_0xrequest' package that may contain security patches.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.