Malicious Code Injection in joni-oncom30-breki Package
Summary
MAL-2025-73823: Malicious code in joni-oncom30-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 joni-oncom30-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 generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the joni-oncom30-breki package, which includes scripts that automatically modify the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This behavior can result in significant security risks, including the potential for malicious actors to exploit the npm ecosystem and compromise other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joni-oncom30-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 joni-oncom30-breki package altogether and monitor your dependencies for any instances of this package. Additionally, consider using tools like Vulert to check your package-lock.json for vulnerabilities.
Conclusion
The joni-oncom30-breki package contains malicious code that poses a significant risk to the npm ecosystem. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in their dependencies.
See every vulnerability recorded for joni-oncom30-breki →
FAQ
The joni-oncom30-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 from malicious packages.
You should uninstall the joni-oncom30-breki package immediately and monitor your dependencies for any vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.