Malicious Code Vulnerability in cewe6 Package
Summary
MAL-2025-181488: Malicious code in cewe6 (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 cewe6 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the automatic generation and publication of derivative packages. It is vulnerable to malicious code that alters its configuration and behavior, posing risks to developers and users relying on it.
Vulnerability Detail
The vulnerability in the cewe6 package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, changes version numbers, and generates random package names, leading to potential reputation inflation for developers. This behavior can pollute the npm registry and compromise the integrity of the software supply chain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cewe6
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 cewe6 package from your project if it is not essential. Use the following command to uninstall it: npm uninstall cewe6. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The cewe6 package is vulnerable to malicious code that alters its functionality and can compromise the integrity of the npm registry. It is crucial for developers to update or remove this package and utilize tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for cewe6 →
FAQ
The cewe6 package is an npm package associated with a token reward campaign that automates the creation and publication of derivative packages.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
You should update the cewe6 package to the latest patched version or remove it from your project until a fix is available.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.