Malicious Code Injection in sari-lapis91-breki Package
Summary
MAL-2025-75385: Malicious code in sari-lapis91-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 sari-lapis91-breki package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publishing of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the sari-lapis91-breki package originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-lapis91-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 workaround, you can avoid using the sari-lapis91-breki package altogether. If it is already installed, you can remove it with the command: npm uninstall sari-lapis91-breki. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The sari-lapis91-breki package has been identified as containing malicious code that compromises the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security. Utilizing tools like Vulert can aid in real-time monitoring and alerting for open-source vulnerabilities.
See every vulnerability recorded for sari-lapis91-breki →
FAQ
The sari-lapis91-breki package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publishing of derivative packages.
The vulnerability can lead to the installation of compromised packages, which may alter your project's dependencies and introduce security risks.
You should uninstall the sari-lapis91-breki package immediately and monitor your project for any further vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest secure versions.