MAL-2026-19961: Malicious code in @charape/baileys (npm)
--- -= Per source details. Do not edit below this line.=-
Source: ghsa-malware (96b87b6986971b057423bb5406fa0a05193ba0b9c5989d7047f6c07f7210b38f) 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
npm/@charape/baileysfrom your environment.Remove the package; removing it may not remove all malicious software resulting from its installation.
- Operational
Rotate all secrets and keys stored on the affected computer immediately, using a different computer.
Event History
Frequently Asked Questions
Which systems should be treated as affected?
Any computer where the package is installed or has been run should be considered fully compromised. This includes systems that may contain secrets or keys unrelated to the package itself.
What should be done first after identifying an affected system?
Rotate all secrets and keys stored on the affected computer immediately, using a different computer. The source advises treating the affected host as under outside control.
Is removing the package enough to remediate the issue?
No. The package should be removed, but removal does not guarantee that other malicious software installed as a result will be removed.