Malicious Code Injection in superior_constrictor_z3n: A Threat to npm Packages
Summary
MAL-2025-109310: Malicious code in superior_constrictor_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 package 'superior_constrictor_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts that publish variants with randomized names.
Vulnerability Detail
The vulnerability in 'superior_constrictor_z3n' originates from its association with the tea.xyz token reward campaign. It contains malicious payloads that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall superior_constrictor_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 this malicious package by using npm's package-lock.json file to monitor your dependencies. If you are using Vulert, you can check your application for vulnerabilities without any signup by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The 'superior_constrictor_z3n' package poses a significant threat due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remain vigilant and take proactive measures to secure their applications by removing such packages and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for superior_constrictor_z3n →
FAQ
'superior_constrictor_z3n' is an npm package identified as part of a malicious campaign that floods the npm registry with derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing malicious code.
You can use Vulert to monitor your application for vulnerabilities in real-time by analyzing your package-lock.json file.
You should uninstall the 'superior_constrictor_z3n' package immediately and review your dependencies for any other potentially malicious packages.
There is no patch for 'superior_constrictor_z3n' as it is recommended to remove the package entirely from your project.