Malicious Code Injection in vida-lengko31-breki: A Threat to npm Packages
Summary
MAL-2025-76026: Malicious code in vida-lengko31-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 vida-lengko31-breki is part of a series of npm packages that have been associated with 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 a significant risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in vida-lengko31-breki stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a broader scheme to pollute the npm registry and can lead to unauthorized access and exploitation of dependent projects. The origin of this vulnerability is linked to the autopublish scripts that are embedded within the package, which are designed to automate the creation and publication of these malicious variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-lengko31-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 measure, you can avoid using the vida-lengko31-breki package and replace it with a trusted alternative. Always validate the integrity of packages before installation.
Conclusion
The vida-lengko31-breki package poses a significant risk due to its malicious code designed to manipulate package metadata and publish unauthorized variants. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure the security of their projects.
See every vulnerability recorded for vida-lengko31-breki →
FAQ
vida-lengko31-breki is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to unauthorized modifications in your project's package.json file, potentially exposing your project to further security risks and instability.
You can check your package-lock.json file for the presence of vida-lengko31-breki. Additionally, you can use Vulert to monitor and alert for vulnerabilities in your open-source dependencies.
Immediately uninstall the package using npm uninstall vida-lengko31-breki and review your dependencies for any other suspicious packages.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.