Malicious Code Injection in Nutritional Octopus 0xrequest Package
Summary
MAL-2025-106461: Malicious code in nutritious_octopus_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 'nutritious_octopus_0xrequest' package is part of the npm ecosystem, often utilized in 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. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the 'nutritious_octopus_0xrequest' package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry and can lead to significant security risks, including the potential for unauthorized access to sensitive data or the execution of harmful scripts in applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nutritious_octopus_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 'nutritious_octopus_0xrequest' package from your project by executing: 'npm uninstall nutritious_octopus_0xrequest'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The 'nutritious_octopus_0xrequest' package contains a significant vulnerability that can compromise the integrity of applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your projects from potential threats.
See every vulnerability recorded for nutritious_octopus_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, often used in JavaScript applications.
The vulnerability can lead to unauthorized changes in your package.json file, potentially allowing malicious code to execute within your application.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities 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.
If an immediate update is not possible, consider removing the package as a temporary measure to mitigate risks.