Malicious Code Injection in straightforward_sturgeon_0xrequest Package
Summary
MAL-2025-109172: Malicious code in straightforward_sturgeon_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 straightforward_sturgeon_0xrequest package is part of the npm ecosystem, often utilized for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
This vulnerability originates from the package's involvement in a token reward campaign that uses malicious scripts to modify the package.json file. The scripts remove private flags, alter version numbers, and generate random package names, leading to pollution of the npm registry. The ramifications include potential exposure of sensitive information and the risk of installing compromised packages, which can affect 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 straightforward_sturgeon_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 straightforward_sturgeon_0xrequest package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The straightforward_sturgeon_0xrequest package poses a significant security risk due to its malicious code injection. It is essential to remove this package from your project and monitor for any potential impacts on your application. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for straightforward_sturgeon_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 the installation of compromised packages, potentially exposing sensitive information and affecting application integrity.
You should uninstall the package immediately and monitor your application for any unusual behavior.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.