Malicious Code Injection in xaver-gado-gado47-breki: A Threat to npm Ecosystem
Summary
MAL-2025-76291: Malicious code in xaver-gado-gado47-breki (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 package xaver-gado-gado47-breki is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with a token reward campaign that has led to the proliferation of malicious packages designed to inflate developer reputation scores. The functionality of this package is compromised due to its malicious intent, which involves modifying package metadata and republishing variants to pollute the npm registry.
Vulnerability Detail
The vulnerability in xaver-gado-gado47-breki originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically generate and publish derivative packages with randomized names, effectively removing private flags from package.json and altering version numbers. This malicious behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-gado-gado47-breki
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 workaround, you can monitor your package dependencies using tools like Vulert. Vulert allows you to check for vulnerabilities in your package-lock.json without requiring code access or installation. You can use the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The xaver-gado-gado47-breki package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and repopulates the registry with harmful variants. It is essential for developers to remove this package and utilize tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for xaver-gado-gado47-breki →
FAQ
xaver-gado-gado47-breki is an npm package that has been identified as malicious, associated with a token reward campaign that aims to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, making it harder to find legitimate packages and potentially compromising your application's integrity.
You should uninstall the package immediately using 'npm uninstall xaver-gado-gado47-breki' and monitor your dependencies for any other malicious packages.
Yes, regularly audit your dependencies, use trusted sources, and consider using tools like Vulert to monitor for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.