MAL-2026-18293: Malicious code in w-mousekey (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (90980104a84f52c4a98cc74642b9ff7a6c0556771e20b6f6eaeb96eb876cd979) Analysis of w-mousekey@1.0.42 produced no indicators of installer-side harm. No install-time or import-time execution of attacker-controlled code, no exfiltration of environment variables or credentials, no reads of installer secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser or wallet stores), no silent relay of caller-supplied data to a hardcoded author endpoint, no backdoor or persistence mechanism, and no self-propagation primitives were observed in the package contents.
Source: ghsa-malware (1f6f627e50d344c420e99ad291144a17b320bedfd6376fd7c9ec26068ec895f0) 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/w-mousekeyfrom your environment.Remove the w-mousekey package; removing it may not remove all malicious software resulting from installation.
- Operational
Rotate all secrets and keys stored on any computer with w-mousekey installed or running, immediately and from a different computer.