Malicious Code Injection in maya-tahu99-breki: npm Package Vulnerability
Summary
MAL-2025-74438: Malicious code in maya-tahu99-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 npm package 'maya-tahu99-breki' is part of a series of packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, which can lead to significant pollution of the npm registry.
Vulnerability Detail
This vulnerability originates from the package's malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-tahu99-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 temporary workaround, avoid using the 'maya-tahu99-breki' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The 'maya-tahu99-breki' npm package contains a serious vulnerability that allows for malicious code injection and the pollution of the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for any potential threats. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for maya-tahu99-breki →
FAQ
The impact includes potential security breaches and pollution of the npm registry, which can affect developers relying on the integrity of packages.
You can use Vulert to check your package-lock.json file for vulnerabilities without any installation. Visit the Vulert playground at Vulert Scanner.
Uninstall the package immediately and check for any dependencies that may have been affected. Consider using alternative packages.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions.
Yes, the pollution of the npm registry can lead to performance issues and security risks, potentially affecting your application's reliability.