Malicious Code Injection in Olympic Hare Z3N: A Threat to npm Packages
Summary
MAL-2025-106721: Malicious code in olympic_hare_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 'olympic_hare_z3n' package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to facilitate the development process by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in 'olympic_hare_z3n' stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall olympic_hare_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 measure, you can avoid using the 'olympic_hare_z3n' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the source and reputation of packages before including them in your project.
Conclusion
The 'olympic_hare_z3n' package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to be vigilant about the packages they use and to regularly check for vulnerabilities. By removing this package and utilizing tools like Vulert, developers can better protect their applications from potential threats.
See every vulnerability recorded for olympic_hare_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
Using this package can lead to security breaches, as it modifies critical files and may introduce other malicious code into your application.
You should uninstall the package immediately using 'npm uninstall olympic_hare_z3n' and review your project's dependencies for any other potentially harmful packages.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.