Malicious Code Injection in Aware Fly Z3N Package - npm Vulnerability
Summary
MAL-2025-93327: Malicious code in aware_fly_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 'aware_fly_z3n' package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate the npm registry for token rewards, often compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in 'aware_fly_z3n' originates from its design to include malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. The ramifications include pollution of the npm registry, potential reputation damage for developers, and the risk of introducing further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aware_fly_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 'aware_fly_z3n' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The 'aware_fly_z3n' package poses a significant 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 monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for aware_fly_z3n →
FAQ
The 'aware_fly_z3n' package is an npm package involved in the tea.xyz token reward campaign, known for containing malicious code.
The malicious code modifies your package.json file, potentially leading to the publication of harmful derivative packages and compromising your project's integrity.
You should remove the 'aware_fly_z3n' package from your project and monitor for any updates or patches that may be released.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software by analyzing the package-lock.json file, providing real-time insights.