Critical Malicious Code Vulnerability in @purecore/rabbitmq Package
Summary
MAL-2026-749: Malicious code in @purecore/rabbitmq (npm). Affects @purecore/rabbitmq versions 0.1.0. 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 @purecore/rabbitmq package is an npm library designed for integrating RabbitMQ messaging capabilities into applications. It provides essential features for message queuing and processing, making it a popular choice among developers. However, this package has been identified to contain malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the @purecore/rabbitmq package. This code can compromise the integrity of the host system, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code has been confirmed by multiple sources, including Amazon Inspector and GHSA malware reports. Systems with this package installed should be considered fully compromised, and immediate action is required to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @purecore/rabbitmq
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, you can temporarily disable any services that depend on the @purecore/rabbitmq package until it is removed and replaced with a secure alternative. Ensure that you monitor your system for any unusual activity during this period.
Conclusion
The discovery of malicious code in the @purecore/rabbitmq package poses a serious threat to systems utilizing this library. Immediate action is required to remove the package and secure any sensitive information. Continuous monitoring for vulnerabilities is essential to maintain the integrity of your applications.
See every vulnerability recorded for @purecore/rabbitmq →
FAQ
It is an npm library used for integrating RabbitMQ messaging functionalities into applications.
The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially leading to further exploitation.
You should immediately remove the package, rotate all secrets and keys, and monitor your system for any signs of compromise.
Currently, there is no patch available for the @purecore/rabbitmq package. The best course of action is to remove it entirely.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application against this vulnerability using the Vulert playground without any signup.