Malicious Code Injection in Joko-lapis98-breki Package
Summary
MAL-2025-73730: Malicious code in joko-lapis98-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 'joko-lapis98-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 publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. The package's functionality includes creating and publishing random packages, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in the 'joko-lapis98-breki' package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, leading to a cluttered npm registry and potential security risks for developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joko-lapis98-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 'joko-lapis98-breki' package and instead rely on alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The 'joko-lapis98-breki' package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package and monitor for vulnerabilities to ensure the security of your projects.
See every vulnerability recorded for joko-lapis98-breki →
FAQ
The 'joko-lapis98-breki' package is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may expose your project to security risks if you inadvertently use compromised packages.
You should remove the 'joko-lapis98-breki' package from your project and monitor for any updates or patches that may be released.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.