Malicious Code Vulnerability in jonijoni Package
Summary
MAL-2025-104708: Malicious code in jonijoni (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 jonijoni package is part of the npm ecosystem and is often used in various JavaScript projects. It is typically utilized for its functionalities related to token reward campaigns. However, this package has been identified as part of a malicious campaign that floods npm with derivative packages, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the jonijoni package stems from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jonijoni
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 remove the jonijoni package from your project by executing: npm uninstall jonijoni. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The jonijoni package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to update or remove this package to protect your applications from potential threats. Utilizing tools like Vulert can further enhance your security posture by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for jonijoni →
FAQ
The jonijoni package is an npm package that is part of a token reward campaign, often used in JavaScript projects.
The vulnerability can lead to the modification of your project's package.json file and the introduction of malicious code, compromising your project's integrity.
You should update the package to the latest version or remove it from your project to mitigate the risk of exploitation.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly updating your dependencies and using tools like Vulert can help you monitor for vulnerabilities and maintain the security of your projects.