Malicious Code Injection in Constellationcarver Package
Summary
MAL-2025-171060: Malicious code in constellationcarver (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
Constellationcarver is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards by generating and publishing derivative packages. However, this package has been compromised, leading to significant security concerns. The vulnerability allows for the modification of package metadata, which can lead to the proliferation of malicious packages in the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the constellationcarver package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages. The ramifications include the risk of developers unknowingly using compromised packages, leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall constellationcarver
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 measure, you can avoid using the constellationcarver package until a secure version is released. Additionally, consider using npm audit to identify and address vulnerabilities in your project dependencies.
Conclusion
The constellationcarver package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial to update or remove this package to protect your projects from potential threats. Regular monitoring of dependencies is recommended to maintain security.
See every vulnerability recorded for constellationcarver →
FAQ
Constellationcarver is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
If you have installed constellationcarver, you should update it to the latest version or remove it from your project until a secure version is available.
You can use tools like npm audit to check for vulnerabilities in your project dependencies and ensure they are addressed promptly.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.