Malicious Code Detected in faustwp-cli: A Critical Security Alert
Summary
MAL-2025-20250: Malicious code in faustwp-cli (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
faustwp-cli is an npm package designed to facilitate the development of WordPress applications using the Faust framework. It provides developers with tools and commands to streamline their workflow. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users who rely on it for their projects.
Vulnerability Detail
The vulnerability in the faustwp-cli package stems from the inclusion of malicious code that can compromise the integrity of applications using this package. This code may allow unauthorized access to sensitive information, lead to data breaches, or enable remote code execution. The issue was introduced in all versions starting from 0, making it critical for users to take immediate action to protect their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall faustwp-cli
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, users can remove the faustwp-cli package from their projects until a secure version is released. This can be done using the command: npm uninstall faustwp-cli. Additionally, consider using alternative packages that provide similar functionality without the security risks.
Conclusion
The discovery of malicious code in the faustwp-cli package poses a serious threat to developers and their applications. Immediate action is required to mitigate risks, including updating or removing the package. Stay informed about updates and consider using tools like Vulert to monitor your projects for vulnerabilities.
See every vulnerability recorded for faustwp-cli →
FAQ
faustwp-cli is an npm package that helps developers build WordPress applications using the Faust framework.
The malicious code can potentially allow unauthorized access to sensitive data and may lead to data breaches or remote code execution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
As of now, there is no patched version available. Users are advised to monitor the official repository for updates.
If immediate removal is not possible, consider isolating the affected application from sensitive data and monitoring for any unusual activity.