Malicious Code Injection in cisneros-tea-archive: A Threat to npm Users
Summary
MAL-2025-100506: Malicious code in cisneros-tea-archive (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 'cisneros-tea-archive' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'cisneros-tea-archive' originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file, removing private flags and altering version numbers. They generate random package names and continuously republish variants, leading to pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cisneros-tea-archive
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 'cisneros-tea-archive' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The 'cisneros-tea-archive' package poses a significant risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for cisneros-tea-archive →
FAQ
The 'cisneros-tea-archive' package is an npm package associated with a token reward campaign that generates and publishes derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and exposing it to security risks.
If you have installed the 'cisneros-tea-archive' package, you should uninstall it immediately using 'npm uninstall cisneros-tea-archive'.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without requiring access to the code or installation.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner, which allows you to analyze your package-lock.json file.