Malicious Code Injection in visiting_aardvark_z3n Package
Summary
MAL-2025-91971: Malicious code in visiting_aardvark_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 visiting_aardvark_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in the visiting_aardvark_z3n package stems from its association with a malicious campaign that generates and publishes derivative packages with randomized names. This is executed through scripts that modify the package.json file, removing private flags and altering version numbers. The malicious payload can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall visiting_aardvark_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 visiting_aardvark_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The visiting_aardvark_z3n package poses a significant risk due to its malicious code that manipulates the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for visiting_aardvark_z3n →
FAQ
The visiting_aardvark_z3n package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
This vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising your application's integrity.
You should uninstall the visiting_aardvark_z3n package immediately and check for any other potentially affected packages in your project.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.