Malicious Code Injection in xaver-sego84-miaww Package
Summary
MAL-2025-92413: Malicious code in xaver-sego84-miaww (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 xaver-sego84-miaww 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 code that compromises its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the xaver-sego84-miaww package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in spam packages, affecting the overall reliability of the npm ecosystem and potentially compromising other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-sego84-miaww
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 monitor your project for any unintended consequences of the malicious package. It is advisable to use tools like Vulert to scan your package-lock.json file for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The xaver-sego84-miaww package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with spam. It is crucial to remove this package from your projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities in your dependencies.
See every vulnerability recorded for xaver-sego84-miaww →
FAQ
The xaver-sego84-miaww package is an npm package involved in the tea.xyz token reward campaign, which has been identified to contain malicious code.
The malicious code modifies your package.json file, removes private flags, and generates spam packages, which can compromise the integrity of your project and the npm registry.
You should uninstall the xaver-sego84-miaww package immediately and check for any dependencies that may rely on it.
Yes, regularly monitor your dependencies using tools like Vulert to identify and address vulnerabilities in real-time.
There is no patch for the xaver-sego84-miaww package as it is recommended to remove it entirely from your project.