Malicious Code Vulnerability in chain-promised-async Package
Summary
MAL-2026-1689: Malicious code in chain-promised-async (npm). Affects chain-promised-async versions 3.5.5. 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 chain-promised-async package is a utility for managing asynchronous operations in JavaScript, particularly within Node.js environments. It simplifies the handling of promises and enhances code readability. However, this package has been identified to contain malicious code, posing significant security risks to applications that rely on it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the chain-promised-async package, specifically in version 3.5.5. This code can potentially compromise the integrity of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability is linked to the package's distribution through npm, where it was introduced without proper scrutiny.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall chain-promised-async
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
If immediate updating is not feasible, consider removing the chain-promised-async package from your project and replacing it with a more secure alternative for managing asynchronous operations.
Conclusion
The chain-promised-async package has been found to contain malicious code, posing significant risks to applications that utilize it. Users are advised to update the package as soon as a patched version is available or to consider alternative solutions for managing asynchronous operations.
See every vulnerability recorded for chain-promised-async →
FAQ
It is a JavaScript utility for managing asynchronous operations using promises, primarily used in Node.js applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
Using the compromised version can lead to unauthorized access, data breaches, and potential exploitation of your application.
Yes, you can temporarily remove the package and use alternative libraries for asynchronous operations until a patch is available.
The vulnerability was identified by ReversingLabs, a cybersecurity firm specializing in threat detection and analysis.