Malicious Code Injection in joint_primate_0xrequest Package
Summary
MAL-2025-104570: Malicious code in joint_primate_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 joint_primate_0xrequest package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the joint_primate_0xrequest package stems from its malicious code that 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 and pollute the npm registry with numerous variants of the package. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's package management system for malicious purposes. The ramifications include potential security risks for developers who unknowingly install these compromised packages, leading to further exploitation or misuse of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joint_primate_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 joint_primate_0xrequest package from your project by executing the following command: npm uninstall joint_primate_0xrequest. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The joint_primate_0xrequest package contains malicious code that poses significant risks to developers and their applications. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your software.
See every vulnerability recorded for joint_primate_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the joint_primate_0xrequest package immediately and monitor for any updates or patches.
Regularly updating your dependencies and using tools like Vulert can help you monitor for vulnerabilities in real-time.