GHSA-3959-8jgw-g6xp: 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 computer that has @realvare/baileys installed or running, and perform the rotation from a different computer.
Event History
Frequently Asked Questions
What systems should be treated as affected?
Any computer where the package is installed or has been run 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. Remove the package from the affected system.
Is removing the package sufficient to remediate the compromise?
No. Because an outside entity may have obtained full control of the computer, removing the package does not guarantee that other malicious software installed as a result will be removed.