MAL-2026-18630: Malicious code in @realvare/baileys (npm)
--- -= Per source details. Do not edit below this line.=-
Source: ghsa-malware (aeedb2f87aa3e579b9d8dd2d4f011e9c9a83d4383a7fbe1baa2dcbd0ca1660b3) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
@realvare/baileysfrom your environment.Remove the @realvare/baileys package; removing it may not remove all malicious software resulting from its installation.
- Operational
Rotate all secrets and keys stored on any affected computer immediately, using a different computer.
Event History
Frequently Asked Questions
What systems should be treated as exposed?
Any computer with the package installed or running should be considered fully compromised.
What immediate response is recommended?
Rotate all secrets and keys stored on the affected computer immediately, using a different computer.
Is removing the package sufficient to remediate the compromise?
No. Although the package should be removed, there is no guarantee that doing so removes all malicious software because an outside entity may have obtained full control of the computer.