Malicious Code Detected in FlowerPassword Package - Security Alert
Summary
MAL-2025-20719: Malicious code in FlowerPassword (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
FlowerPassword is an npm package designed to assist users in generating and managing passwords securely. It offers features such as password strength evaluation and storage. However, it has been identified to contain malicious code that compromises the security of applications utilizing this package.
Vulnerability Detail
The vulnerability in the FlowerPassword package stems from the inclusion of malicious code that can potentially lead to unauthorized access or data breaches. This issue was introduced in version 0 and affects all subsequent versions. The malicious code can execute harmful operations without the user's consent, posing significant risks to application integrity and user data security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall FlowerPassword
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, consider using alternative password management packages that are known to be secure and do not contain malicious code. You can also implement your own password generation logic to avoid reliance on the compromised package.
Conclusion
The FlowerPassword package has been identified as containing malicious code that poses significant security risks. Users are urged to remove the package and consider alternatives to safeguard their applications. Regular monitoring for updates and vulnerabilities is essential.
See every vulnerability recorded for FlowerPassword →
FAQ
FlowerPassword is an npm package designed to help users generate and manage passwords securely.
The malicious code can execute harmful operations, potentially leading to unauthorized access or data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
It is advised to remove the FlowerPassword package immediately and consider using alternative secure packages.
Currently, there is no patched version available. Monitor the package repository for updates.