Malicious Code Injection in dry_octopus_0xrequest Package
Summary
MAL-2025-101787: Malicious code in dry_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 dry_octopus_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary functionality of this package is to facilitate certain operations related to the tea protocol, but it has been compromised to serve malicious purposes.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that includes autopublish scripts designed to inflate developer reputation scores for token rewards. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to pollution of the npm registry and can compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dry_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 workaround, you can temporarily avoid using the dry_octopus_0xrequest package in your project until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The dry_octopus_0xrequest package has been identified as containing malicious code that can compromise applications. It is crucial to uninstall this package and monitor your projects for vulnerabilities using tools like Vulert to ensure ongoing security.
See every vulnerability recorded for dry_octopus_0xrequest →
FAQ
It is an npm package that has been compromised to include malicious code as part of a token reward campaign.
The vulnerability can lead to the pollution of the npm registry and may compromise the security and integrity of your application.
You should uninstall the package immediately and check for any alternative packages or updates.
Yes, you can use Vulert, which monitors and alerts 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 any signup.