Malicious Code Injection in yanti-lapis76-breki: A Threat to npm Packages
Summary
MAL-2025-76384: Malicious code in yanti-lapis76-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 yanti-lapis76-breki is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, notorious for flooding the npm registry with malicious packages. Its primary function appears to be related to generating and publishing derivative packages, but it has been compromised to execute harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in yanti-lapis76-breki stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores fraudulently and pollute the npm registry with numerous derivative packages. The malicious payload can lead to security risks for developers who unknowingly integrate this package into their projects, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-lapis76-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 yanti-lapis76-breki package and monitor your application for any signs of malicious activity. Regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The yanti-lapis76-breki package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for yanti-lapis76-breki →
FAQ
yanti-lapis76-breki is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
If your application uses yanti-lapis76-breki, it may be at risk of having its package.json modified, leading to potential security issues and exposure to further vulnerabilities.
You should immediately uninstall the yanti-lapis76-breki package using the command 'npm uninstall yanti-lapis76-breki' and monitor your application for any unusual behavior.
Yes, tools like Vulert can help monitor your application for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities without needing to install anything.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.