Malicious Code Injection in convenient_marten_0xrequest Package
Summary
MAL-2025-100960: Malicious code in convenient_marten_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 convenient_marten_0xrequest package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate package metadata and publish derivative packages, posing a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability stems from the package's involvement in a token reward campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to pollution of the npm registry and compromise developer reputation scores. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall convenient_marten_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 convenient_marten_0xrequest package and replace its functionality with alternative packages that do not exhibit malicious behavior. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The convenient_marten_0xrequest package poses a significant risk due to its malicious behavior linked to a token reward campaign. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for convenient_marten_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate package metadata and publish harmful derivatives.
The vulnerability can lead to the pollution of the npm registry, potentially compromising your project's integrity and developer reputation.
You should remove the convenient_marten_0xrequest package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.