Malicious Code Injection in yuni-lapis5-breki: A Threat to npm Packages
Summary
MAL-2025-76460: Malicious code in yuni-lapis5-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
yuni-lapis5-breki is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in yuni-lapis5-breki originates from its association with a campaign that floods the npm ecosystem with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may lead to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yuni-lapis5-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 yuni-lapis5-breki package and replace it with a trusted alternative. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The yuni-lapis5-breki package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for yuni-lapis5-breki →
FAQ
yuni-lapis5-breki is an npm package associated with a token reward campaign that has been found to contain malicious code.
The malicious code can alter your package.json file, remove private flags, and publish compromised packages, potentially leading to security vulnerabilities.
You should remove the package immediately and check for any unauthorized changes in your project files.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.