Malicious Code Injection in Causal Yak Z3N Package - npm Vulnerability
Summary
MAL-2025-93484: Malicious code in causal_yak_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
Causal Yak Z3N is an npm package that has been identified as part of a broader malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm ecosystem with numerous derivative packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing variants with randomized names, thus compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the Causal Yak Z3N package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can potentially mislead developers regarding the authenticity and reliability of packages. The malicious code is designed to inflate developer reputation scores for token rewards, posing significant risks to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall causal_yak_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 Causal Yak Z3N package and any other packages that may be part of the tea.xyz token reward campaign. Implementing strict package audits and using tools like npm audit can help identify and mitigate risks from malicious packages.
Conclusion
The Causal Yak Z3N package has been identified as part of a malicious campaign that poses significant risks to the npm ecosystem. It is essential for developers to be vigilant and take proactive measures to secure their projects by removing affected packages and regularly auditing their dependencies.
See every vulnerability recorded for causal_yak_z3n →
FAQ
Causal Yak Z3N is an npm package that has been linked to a malicious campaign aimed at manipulating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can compromise the integrity of your project by introducing malicious code that alters package metadata and floods the npm registry with unreliable packages.
If you have installed the Causal Yak Z3N package, it is crucial to uninstall it immediately using the command npm uninstall causal_yak_z3n.
You can use tools like npm audit to check for vulnerabilities in your dependencies. Additionally, Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.