Malicious Code Injection in representative_whitefish_0xrequest Package
Summary
MAL-2025-107913: Malicious code in representative_whitefish_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 representative_whitefish_0xrequest package is part of the npm ecosystem, often used in JavaScript applications. It is typically involved in token reward campaigns, which aim to incentivize developers through various rewards. However, this package has been identified as malicious, containing scripts that manipulate its own metadata and publish harmful variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the integrity of applications that depend on this package, potentially leading to security risks and loss of developer reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall representative_whitefish_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 avoid using the representative_whitefish_0xrequest package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The representative_whitefish_0xrequest package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to remove this package and monitor their applications for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for representative_whitefish_0xrequest →
FAQ
It is an npm package that has been identified as malicious, used in token reward campaigns that manipulate the npm registry.
The vulnerability can lead to the injection of malicious code, compromising the security and integrity of your application.
You should uninstall the package immediately and look for alternatives. Use 'npm uninstall representative_whitefish_0xrequest' to remove it.
Yes, Vulert can monitor and alert 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 for vulnerabilities without needing to sign up.