Malicious Code Injection in content_koala_z3n Package: A Threat to npm Users
Summary
MAL-2025-100920: Malicious code in content_koala_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 content_koala_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 compromised, leading to malicious behavior that can affect developers and users alike.
Vulnerability Detail
The vulnerability in the content_koala_z3n package stems from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby polluting the npm registry. This behavior can lead to reputation inflation for malicious actors and potentially compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall content_koala_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 content_koala_z3n package and any packages that depend on it. Monitor your project's dependencies and remove any that may introduce vulnerabilities.
Conclusion
The content_koala_z3n package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for content_koala_z3n →
FAQ
The content_koala_z3n package is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to reputation inflation and potential security risks.
You should uninstall the content_koala_z3n package immediately using 'npm uninstall content_koala_z3n' and review your project's dependencies for any other vulnerabilities.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities by analyzing your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
There is no patch available for the content_koala_z3n package as it is recommended to remove the package entirely from your project.