Malicious Code Injection in graceful_snail_0xrequest Package
Summary
MAL-2025-103329: Malicious code in graceful_snail_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 graceful_snail_0xrequest package is part of the npm ecosystem, often used in JavaScript applications for various 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 in the graceful_snail_0xrequest package stems from its involvement in a malicious campaign that modifies package.json files to remove private flags and change version numbers. It generates random package names and continuously republishes these variants, polluting the npm registry. This behavior can lead to unauthorized access and exploitation of applications relying on this package, compromising their integrity and security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall graceful_snail_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 remove the package from your project dependencies by running the following command: npm uninstall graceful_snail_0xrequest. Additionally, consider using alternative packages that do not have a history of malicious behavior.
Conclusion
The graceful_snail_0xrequest package poses a significant security risk due to its involvement in a malicious campaign. It is crucial for developers to remove this package from their projects and monitor for any updates or patches. Utilizing tools like Vulert can help in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for graceful_snail_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 in your application, potentially exposing sensitive data and compromising security.
You should immediately remove the graceful_snail_0xrequest package from your project and monitor for any updates or patches.
Yes, you can use tools like Vulert, which monitors and alerts 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 by this vulnerability without any signup.