Malicious Code Injection in coming_guan_z3n Package: A Threat to npm Users
Summary
MAL-2025-93645: Malicious code in coming_guan_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 coming_guan_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the coming_guan_z3n package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This behavior can result in developers unknowingly using compromised packages, which may lead to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall coming_guan_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, avoid using the coming_guan_z3n package and monitor your dependencies for any unauthorized changes. You can also use tools like Vulert to keep track of vulnerabilities in your project. For example, you can check your application against this vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The coming_guan_z3n package poses a significant threat to npm users due to its malicious behavior of modifying package files and republishing compromised packages. It is crucial to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for coming_guan_z3n →
FAQ
The coming_guan_z3n package is an npm package associated with a token reward campaign that has been identified as malicious.
This vulnerability can lead to the use of compromised packages, which may introduce security risks and instability in your application.
You should uninstall the coming_guan_z3n package immediately and monitor your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.