Malicious Code Injection in delicious_primate_0xrequest Package
Summary
MAL-2025-101315: Malicious code in delicious_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 delicious_primate_0xrequest package is part of the npm ecosystem, commonly used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages that flood the npm registry. This package is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the delicious_primate_0xrequest package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is traced back to the tea.xyz token reward campaign, which aims to inflate developer reputation scores by polluting the npm registry. The ramifications include potential security risks for applications using this package, as it can lead to unauthorized access or manipulation of the software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall delicious_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 prevent the installation of this package by using npm's package-lock.json file to lock your dependencies. You can also monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you of any open-source vulnerabilities in real-time.
Conclusion
The delicious_primate_0xrequest package poses a significant security risk due to its malicious code that alters package configurations. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the integrity of their applications.
See every vulnerability recorded for delicious_primate_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, often used in JavaScript applications.
The malicious code modifies your package.json file, potentially leading to unauthorized access and manipulation of your application.
You should uninstall the package immediately and check for any safe alternatives or updated versions.
You can use Vulert, which analyzes your package-lock.json file to provide real-time alerts for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.