Malicious Code Injection in laila-bubur30-breki: A Threat to npm Ecosystem
Summary
MAL-2025-74045: Malicious code in laila-bubur30-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 'laila-bubur30-breki' 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 known to flood the npm registry with malicious packages. The primary functionality of this package is to serve as a token reward mechanism, but it has been exploited to manipulate the npm registry and developer reputation scores.
Vulnerability Detail
The vulnerability in 'laila-bubur30-breki' originates from its malicious code designed to modify the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall laila-bubur30-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, you can remove the 'laila-bubur30-breki' package from your project by executing: 'npm uninstall laila-bubur30-breki'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The 'laila-bubur30-breki' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities effectively.
See every vulnerability recorded for laila-bubur30-breki →
FAQ
The primary risk is the injection of malicious code that alters package.json files, potentially leading to security vulnerabilities and pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without any signup.
If immediate updates are not possible, consider uninstalling the package as a temporary measure to mitigate risks.
Yes, the malicious payload is designed to continuously republish variants of the package, which can lead to further exploitation within the npm ecosystem.
This vulnerability contributes to the pollution of the npm registry by generating numerous derivative packages with randomized names, complicating package management for developers.