Critical Malicious Code Vulnerability in fastpaxos Package
Summary
MAL-2025-20246: Malicious code in fastpaxos (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 fastpaxos package is a library designed for implementing the Fast Paxos consensus algorithm, which is used in distributed systems to achieve consensus among multiple nodes. It is commonly utilized in applications requiring high availability and fault tolerance. However, the package has been identified to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the fastpaxos package arises from the presence of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in all versions starting from 0, making it critical for users to address this vulnerability promptly to prevent potential exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fastpaxos
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, consider removing the fastpaxos package from your project until a secure version is released. You can do this by executing the following command: npm uninstall fastpaxos.
Conclusion
The fastpaxos package has been found to contain malicious code, posing a serious threat to applications that utilize it. Users are strongly advised to update or remove the package to mitigate risks associated with this vulnerability. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for fastpaxos →
FAQ
The fastpaxos package is used for implementing the Fast Paxos consensus algorithm in distributed systems.
You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.
If you cannot update the package right away, consider removing it from your project as a temporary workaround until a secure version is available.
Using the compromised fastpaxos package can lead to unauthorized access, data breaches, and other malicious activities that can severely impact your application and its users.
The vulnerability was discovered by Amazon Inspector, a tool designed to identify security issues in applications.