Malicious Code Injection in educational_tahr_z3n Package
Summary
MAL-2025-94178: Malicious code in educational_tahr_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 educational_tahr_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in the educational_tahr_z3n package stems from its inclusion in a campaign that deploys malicious scripts (such as auto.js and autopublish.js) to modify package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also exposes users to potential security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall educational_tahr_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 prevent the installation of the educational_tahr_z3n package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will help avoid the installation of this malicious package until a fix is implemented.
Conclusion
The educational_tahr_z3n package poses a significant security risk due to its malicious code designed to manipulate package metadata. It is essential to remove this package from your projects and monitor for updates. Utilizing tools like Vulert can help in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for educational_tahr_z3n →
FAQ
The educational_tahr_z3n package is an npm package associated with a token reward campaign that has been identified as malicious.
This vulnerability can lead to the modification of your project's package.json file, potentially exposing your project to security risks and affecting its integrity.
If you have installed the educational_tahr_z3n package, it is crucial to remove it immediately and check for any updates or patches.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.