Malicious Code Injection in astro-request-sequelize-nebula Package
Summary
MAL-2025-139617: Malicious code in astro-request-sequelize-nebula (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 astro-request-sequelize-nebula package is part of the npm ecosystem, typically used for integrating Sequelize with Astro for database operations. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores. The vulnerability stems from the package's inclusion in a broader set of malicious packages that utilize scripts to alter package metadata and republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in the astro-request-sequelize-nebula package is characterized by the presence of malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a scheme to inflate developer reputation scores for token rewards associated with the tea.xyz protocol. The malicious payload can lead to unauthorized exposure of sensitive information and compromise the integrity of the npm registry, affecting developers who rely on this package for legitimate purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall astro-request-sequelize-nebula
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 astro-request-sequelize-nebula package and look for alternative packages that fulfill similar requirements without the risk of malicious code. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities and receive real-time alerts.
Conclusion
The astro-request-sequelize-nebula package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers. Immediate action is required to remove this package and safeguard your projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for astro-request-sequelize-nebula →
FAQ
It is an npm package designed to facilitate the integration of Sequelize with Astro for database operations.
The malicious code can alter your package metadata, potentially exposing sensitive information and compromising the integrity of your project.
You should uninstall the package immediately and look for secure alternatives. Use npm uninstall astro-request-sequelize-nebula to remove it.
You can use Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time. You can check your application using the Vulert playground without any signup.
No patches are available for this specific package due to its malicious nature. The best course of action is to uninstall it.