Malicious Code Injection in charming_marmoset_0xrequest Package
Summary
MAL-2025-100347: Malicious code in charming_marmoset_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 charming_marmoset_0xrequest package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through automated publishing of variants with randomized names.
Vulnerability Detail
The vulnerability originates from the malicious design of the charming_marmoset_0xrequest package, which includes scripts that automatically modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the pollution of the npm registry. This behavior can compromise the integrity of the npm ecosystem and potentially expose users to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall charming_marmoset_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 avoid using the charming_marmoset_0xrequest package and replace it with alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before including them in your project.
Conclusion
The charming_marmoset_0xrequest package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your project and monitor for any related vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for charming_marmoset_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to the pollution of the npm registry and may expose your project to further security risks if the malicious code is executed.
You should uninstall the charming_marmoset_0xrequest package immediately and check for any dependencies that may rely on it.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities, and use trusted packages from reputable sources.