Malicious Code Injection in suitable_constrictor_z3n: A Threat to npm Packages
Summary
MAL-2025-109282: Malicious code in suitable_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 'suitable_constrictor_z3n' is part of a series of npm packages that have been linked to the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and can lead to malicious exploitation.
Vulnerability Detail
The vulnerability in 'suitable_constrictor_z3n' originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, which pollutes the npm registry and can mislead developers into using compromised packages. The potential ramifications include unauthorized access to sensitive data and the introduction of further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suitable_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 measure, avoid using the 'suitable_constrictor_z3n' package and consider using alternative packages that provide similar functionality without the associated risks. Always validate the integrity of packages before installation.
Conclusion
The 'suitable_constrictor_z3n' package presents a significant security risk due to its malicious code injection practices. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for suitable_constrictor_z3n →
FAQ
It is an npm package linked to a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising sensitive data and the overall security of your application.
Immediately uninstall the package using 'npm uninstall suitable_constrictor_z3n' and review your project for any other potentially compromised dependencies.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, consider researching and using other reputable npm packages that offer similar functionalities without the associated risks.