Malicious Code Injection in dynamic_bison_z3n Package
Summary
MAL-2025-94150: Malicious code in dynamic_bison_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 dynamic_bison_z3n package is part of the npm ecosystem, typically used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate npm's publishing system, potentially harming developers and users by inflating reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in the dynamic_bison_z3n package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly use or rely on these malicious packages, jeopardizing the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dynamic_bison_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 avoid using the dynamic_bison_z3n package altogether. If it is already part of your project, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The dynamic_bison_z3n package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. Developers should take immediate action to remove this package and monitor their projects for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for dynamic_bison_z3n →
FAQ
It is an npm package linked to the tea.xyz token reward campaign, known for containing malicious code.
It can compromise your application's integrity by introducing malicious code that modifies your package.json and publishes harmful variants.
You should uninstall the dynamic_bison_z3n package immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without signing up.