Malicious Code Injection in vera-lapis99-breki Package: A Threat to npm Users
Summary
MAL-2025-75973: Malicious code in vera-lapis99-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 vera-lapis99-breki package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing numerous derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant security risks to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in the vera-lapis99-breki package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the installation of compromised software by unsuspecting developers. The origin of this issue is linked to the broader exploitation of npm packages for token rewards, making it a significant concern for the open-source community.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vera-lapis99-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 avoid using the vera-lapis99-breki package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The vera-lapis99-breki package poses a significant security risk due to its malicious code designed to manipulate npm registry entries. It is crucial for developers to be vigilant about the packages they use and to take immediate action if they discover vulnerabilities in their dependencies. By utilizing tools like Vulert, developers can enhance their security posture and protect their projects from potential threats.
See every vulnerability recorded for vera-lapis99-breki →
FAQ
The vera-lapis99-breki package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of compromised software, which may introduce security risks, data breaches, or other malicious activities in your project.
If you have installed the vera-lapis99-breki package, you should uninstall it immediately using 'npm uninstall vera-lapis99-breki' and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
To prevent future vulnerabilities, regularly audit your dependencies, use trusted packages, and keep your software updated to the latest versions.