Malicious Code Injection in arrogant_turkey_z3n Package
Summary
MAL-2025-99610: Malicious code in arrogant_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 arrogant_turkey_z3n package is part of the npm ecosystem, primarily used for 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. This package, like others in the campaign, is designed to inflate developer reputation scores by automatically publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the arrogant_turkey_z3n package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. This behavior can compromise the integrity of the npm ecosystem and potentially lead to security risks for applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall arrogant_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 workaround, you can avoid using the arrogant_turkey_z3n package in your project. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The arrogant_turkey_z3n package contains a significant vulnerability that can affect the integrity of applications relying on it. It is crucial to remove this package and monitor for updates to ensure the security of your software. Utilizing tools like Vulert can help in real-time monitoring of vulnerabilities.
See every vulnerability recorded for arrogant_turkey_z3n →
FAQ
The arrogant_turkey_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, potentially compromising your application's integrity and security.
You should remove the arrogant_turkey_z3n package from your project and monitor for any updates or patches.
Yes, you can use Vulert to monitor your package-lock.json for vulnerabilities in real-time without requiring any installation.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.