Critical Malicious Code Vulnerability in uudi Package
Summary
MAL-2026-972: Malicious code in uudi (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 uudi package is a Node.js library commonly used for generating universally unique identifiers (UUIDs). It is designed to provide developers with an easy way to create unique identifiers for various applications. However, this package has been compromised, leading to severe security risks for any system utilizing it. The malicious code embedded in the package can lead to unauthorized access and control over the affected systems.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the uudi package, identified by the alias GHSA-w9hv-7gxr-9f8f. Any system that has this package installed is considered fully compromised. The malicious code can potentially expose sensitive information, including secrets and keys, to unauthorized entities. Users are advised to treat any system running this package as compromised and take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uudi
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 workaround, it is recommended to rotate all secrets and keys stored on the affected system from a different, secure computer. Additionally, consider using alternative packages for UUID generation that have not been compromised.
Conclusion
The uudi package has been found to contain malicious code, posing significant risks to any system that utilizes it. Immediate action is required to remove the package and secure sensitive information. Users should remain vigilant and consider alternative solutions for UUID generation.
See every vulnerability recorded for uudi →
FAQ
Immediately remove the uudi package from your system and rotate any sensitive information stored on that machine.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Failure to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential control by malicious actors.
While removing the package is a critical first step, it is advisable to perform a thorough security audit of your system to identify and remove any remaining malicious software.
Yes, consider using other well-reviewed UUID generation libraries that have not been reported as compromised.