Malicious Code Injection in convenient_porcupine_0xrequest Package
Summary
MAL-2025-100962: Malicious code in convenient_porcupine_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 convenient_porcupine_0xrequest package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the package's involvement in a token reward campaign that exploits npm's publishing capabilities. It contains scripts that modify the package.json file, removing private flags and altering version numbers. Additionally, it generates random package names, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, exposing their applications to potential security threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall convenient_porcupine_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, avoid using the convenient_porcupine_0xrequest package and consider alternative packages that provide similar functionality without the associated risks. Always review package dependencies before installation.
Conclusion
The convenient_porcupine_0xrequest package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial to remove this package and monitor your applications for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for convenient_porcupine_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
The vulnerability can lead to the use of compromised packages, which may introduce security risks and affect the integrity of your application.
You should uninstall the package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.