Malicious Code Injection in makaia-ania-gugag Package - npm Vulnerability
Summary
MAL-2025-159151: Malicious code in makaia-ania-gugag (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 makaia-ania-gugag package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to various malicious activities. It is designed to inflate developer reputation scores by generating and publishing derivative packages with randomized names. The presence of malicious code in this package poses a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, effectively polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use this package, as it can compromise their projects and lead to reputational damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall makaia-ania-gugag
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 makaia-ania-gugag package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The makaia-ania-gugag package poses a significant security risk due to its malicious code that modifies project files and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for makaia-ania-gugag →
FAQ
The makaia-ania-gugag package is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code can modify your package.json file, remove private flags, and republish variants, leading to potential security risks and pollution of the npm registry.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed the makaia-ania-gugag package, you should uninstall it immediately using the command: npm uninstall makaia-ania-gugag.
Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.