Malware in wallet-adapter-wallets npm package — full machine compromise, rotate all secrets and keys
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub published a malware advisory (GHSA-j2h2-53fq-rgmm) for the npm package wallet-adapter-wallets on 2026-12-01. Every published version (= 0) is affected and there are no patched versions; the package contains embedded malicious code (CWE-506) and no known source code. GitHub's guidance states that any computer with the package installed or running should be considered fully compromised, implying attackers may have obtained full control, including access to secrets, keys and credentials stored on the machine. Removing the package alone is not guaranteed to remove all malicious software. All users of the package are affected; remediation requires rotating secrets from a clean machine and rebuilding compromised systems.
What to do
- Rotate all secrets, keys, and credentials stored on any machine where wallet-adapter-wallets was installed, using a clean, uncompromised computer
- Remove the package and rebuild/reimage affected machines, as removal may not eliminate all malicious software
- Audit systems and logs for signs of compromise and unauthorized access following installation
- Block the package in dependency policies and check lockfiles and CI environments for its presence
Sources
All live incidents on Threat Watch