Malicious Code Injection in xenogeneic_skunk_z3n Package
Summary
MAL-2025-97444: Malicious code in xenogeneic_skunk_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 xenogeneic_skunk_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through the generation of derivative packages.
Vulnerability Detail
The vulnerability in the xenogeneic_skunk_z3n package originates from its association with a token reward campaign that floods the npm registry with malicious packages. The package includes scripts that automatically modify the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This can lead to security risks, including the potential for developers to unknowingly use compromised packages in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xenogeneic_skunk_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 xenogeneic_skunk_z3n package and monitor your application for any dependencies that may have been affected by this malicious package. Regularly check your package-lock.json file for any unexpected changes.
Conclusion
The xenogeneic_skunk_z3n package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and remove this package from their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for xenogeneic_skunk_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
If your application uses this package, it may be at risk of incorporating malicious code that can compromise security.
You should uninstall the xenogeneic_skunk_z3n package immediately and check for any other affected dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.