Malicious Code Injection in accepted_turkey_z3n Package
Summary
MAL-2025-93097: Malicious code in accepted_turkey_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 accepted_turkey_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the accepted_turkey_z3n package, which includes scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can inflate developer reputation scores fraudulently. The malicious payload poses significant risks, including the potential for further exploitation and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall accepted_turkey_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 prevent the installation of the accepted_turkey_z3n package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will help mitigate the risk until a permanent fix is implemented.
Conclusion
The accepted_turkey_z3n package has been identified as containing malicious code that poses significant risks to the npm ecosystem. It is essential to remove this package from your projects and monitor for any potential vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for accepted_turkey_z3n →
FAQ
The accepted_turkey_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of your project by allowing malicious code to be executed.
If you have installed the accepted_turkey_z3n package, you should remove it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground.
Regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation to ensure they are trustworthy.