Malicious Code Injection in whole_squid_0xrequest Package
Summary
MAL-2025-110840: Malicious code in whole_squid_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 whole_squid_0xrequest package is part of the npm ecosystem, primarily utilized for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through automated publishing of derivative packages. This vulnerability exposes users to risks associated with unauthorized modifications and potential exploitation.
Vulnerability Detail
The vulnerability stems from the package being associated with a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also compromises the integrity of projects that depend on this package, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall whole_squid_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 whole_squid_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The whole_squid_0xrequest package poses significant risks due to its malicious code injection capabilities. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and ensuring the security of open-source dependencies.
See every vulnerability recorded for whole_squid_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to unauthorized modifications of your project's dependencies, potentially compromising security and functionality.
You should uninstall the whole_squid_0xrequest package immediately and check for any dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.