Malicious Code Injection in well_giraffe_z3n Package - npm Vulnerability
Summary
MAL-2025-97345: Malicious code in well_giraffe_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 well_giraffe_z3n package is part of the npm ecosystem, typically used for various JavaScript applications. It is often involved in token reward campaigns, which can lead to the introduction of malicious scripts. This package has been identified as part of a broader issue where malicious actors create packages to inflate developer reputation scores through automated publishing.
Vulnerability Detail
The vulnerability in the well_giraffe_z3n package arises from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to pollute the npm registry and can lead to the unintentional use of compromised packages by developers, potentially exposing their applications to further vulnerabilities and security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall well_giraffe_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 workaround, you can manually remove the well_giraffe_z3n package from your project by running the command: npm uninstall well_giraffe_z3n. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The well_giraffe_z3n package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and utilize monitoring tools to safeguard their applications from similar vulnerabilities.
See every vulnerability recorded for well_giraffe_z3n →
FAQ
The well_giraffe_z3n package is an npm package that has been identified as containing malicious code aimed at manipulating the npm registry.
The malicious code can modify your package.json file, leading to the publication of compromised packages and potentially exposing your application to security risks.
You should uninstall the well_giraffe_z3n package immediately and monitor your project for any other vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.