MAL-2026-5347 Malicious code in moustick (npm)
- Package
- moustick
- Registry
- npm
What is MAL-2026-5347?
MAL-2026-5347 is a malicious package in moustick, published on 9 Jun 2026.
Official description
Package impersonates the popular cookie-signature library — it copies the description, README, author (TJ Holowaychuk), and repository URL of visionmedia/node-cookie-signature in package.json, while the package itself is published under the unrelated name moustick. On require('moustick'), index.js performs an HTTPS GET to https://www.jsonkeeper.com/b/MYUKZ (an anonymous, mutable paste host) and passes the response field content_o directly to eval(), executing whatever JavaScript the paste currently serves in the consumer's Node process. A helper function g(h) hex-decodes identifiers and assembles a second paste URL https://www.jsonkeeper.com/b/HY6M6 (hl decodes to ['axios','get','https://www.jsonkeeper.com/b/HY6M6','then']), providing a second remote-fetch primitive and confirming intentional evasion. Any developer who installs this package expecting cookie-signing functionality executes attacker-controlled code at import time; the operator can swap the paste contents at any time to deliver new payloads.
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.
What should I do about MAL-2026-5347?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-979m-vm48-369f.