Malicious Code Injection in yearning_flea_0xrequest Package
Summary
MAL-2025-111273: Malicious code in yearning_flea_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_flea_0xrequest' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages. However, it has been identified as containing malicious scripts that manipulate package metadata and flood the npm registry with harmful variants.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which 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 potential pollution of the npm registry and compromising the integrity of the ecosystem. The malicious payload can also introduce security risks to applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yearning_flea_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 measure, you can prevent the installation of this package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will help avoid the automatic installation of malicious packages.
Conclusion
The 'yearning_flea_0xrequest' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package and monitor for any updates to ensure the security of your applications.
See every vulnerability recorded for yearning_flea_0xrequest →
FAQ
It is an npm package involved in the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code can compromise your application's integrity by modifying package metadata and flooding the npm registry with harmful variants.
You should remove the 'yearning_flea_0xrequest' package from your project and monitor for any updates or patched versions.
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 use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.