Malicious Code Injection in successful_aphid_z3n Package
Summary
MAL-2025-109251: Malicious code in successful_aphid_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 successful_aphid_z3n package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. These packages typically contain scripts that automatically generate and publish derivative packages, aiming to inflate developer reputation scores for token rewards. However, this behavior poses significant risks to developers and users alike, as it can lead to the proliferation of malicious packages.
Vulnerability Detail
The vulnerability in the successful_aphid_z3n package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits the npm ecosystem for malicious purposes. The ramifications include potential security risks for applications relying on this package, as well as the degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall successful_aphid_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 remove the successful_aphid_z3n package from your project by executing the following command: npm uninstall successful_aphid_z3n. This action will prevent any malicious code from executing in your application until a safe version is released.
Conclusion
The successful_aphid_z3n package contains malicious code that poses significant security risks to applications using it. Developers are urged to remove the package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help in identifying and managing such risks effectively.
See every vulnerability recorded for successful_aphid_z3n →
FAQ
The successful_aphid_z3n package is an npm package associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores.
The vulnerability can lead to the modification of your package.json file, removal of private flags, and the generation of random package names, potentially compromising your application's security.
Currently, there is no specific patched version available for the successful_aphid_z3n package. It is recommended to remove the package until a safe version is released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
If you are using the successful_aphid_z3n package, it is advisable to uninstall it immediately to prevent any potential security risks.