Malicious Code Injection in Smiling Yak Z3N Package
Summary
MAL-2025-108871: Malicious code in smiling_yak_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 Smiling Yak 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 and deployment of applications by providing reusable code modules. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to significant security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the Smiling Yak Z3N package stems from its involvement in a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts designed to automatically modify the package.json file, removing private flags and altering version numbers. This allows the package to generate and publish numerous derivative packages with randomized names, ultimately polluting the npm registry and potentially compromising the integrity of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall smiling_yak_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 remove the Smiling Yak Z3N package from your project by executing the following command: npm uninstall smiling_yak_z3n. This will prevent any potential malicious activity associated with the package until a secure version is released.
Conclusion
The Smiling Yak Z3N package poses a significant security risk due to its malicious code injection capabilities. It is essential for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for smiling_yak_z3n →
FAQ
Smiling Yak Z3N is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign that affects the npm registry.
The vulnerability can lead to the injection of malicious code into your application, compromising its security and potentially exposing sensitive data.
You should immediately uninstall the Smiling Yak Z3N package and check for any updates or patches that may address the vulnerability.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.