Malicious Code Injection in bewildered_skink_z3n: A Threat to npm Packages
Summary
MAL-2025-99959: Malicious code in bewildered_skink_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 'bewildered_skink_z3n' is part of a series of npm packages that have emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior is primarily aimed at inflating developer reputation scores for rewards associated with the tea protocol.
Vulnerability Detail
The vulnerability in 'bewildered_skink_z3n' 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 to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these packages, leading to potential security breaches and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bewildered_skink_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 'bewildered_skink_z3n' package and consider replacing it with a trusted alternative. Regularly monitor your package dependencies for any signs of malicious activity.
Conclusion
The 'bewildered_skink_z3n' package poses a significant threat due to its malicious intent to manipulate the npm registry. It is crucial for developers to remain vigilant, remove such packages, and utilize tools like Vulert to monitor their projects for vulnerabilities. By taking proactive steps, developers can protect their applications and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for bewildered_skink_z3n →
FAQ
'bewildered_skink_z3n' is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
Using this package can compromise your project's integrity and expose it to security risks, including potential data breaches.
You should uninstall the package immediately using 'npm uninstall bewildered_skink_z3n' and check your project for any other malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without any signup.
Yes, consider using well-known and trusted packages that provide similar functionality without the associated risks.