Malicious Code Injection in bored_frog_z3n Package
Summary
MAL-2025-93411: Malicious code in bored_frog_z3n (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 bored_frog_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability in the bored_frog_z3n package stems from malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to the continuous republishing of variants that pollute the npm registry. The implications of this vulnerability include potential exposure of sensitive information and the risk of dependency confusion attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bored_frog_z3n
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 bored_frog_z3n package from your project by executing the following command: npm uninstall bored_frog_z3n. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The bored_frog_z3n package contains a significant vulnerability due to malicious code that alters its functionality and compromises security. It is essential to update or remove this package to protect your application from potential risks. Regular monitoring for vulnerabilities using tools like Vulert is recommended.
See every vulnerability recorded for bored_frog_z3n →
FAQ
The bored_frog_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the exposure of sensitive information and may allow attackers to manipulate your application's dependencies.
Check the npm registry for a patched version of the bored_frog_z3n package and update it accordingly.
As a temporary measure, uninstall the bored_frog_z3n package to mitigate the risk until a secure version is available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground.