MAL-2026-5347

    Dashboard / Malicious Package / MAL-2026-5347

    MAL-2026-5347

    Published: 9 Jun 2026Last Modified: 12 Jun 2026Aliases: 
    GHSA-979m-vm48-369f

    Summary: Malicious code in moustick (npm)

    Details: Source: amazon-inspector (deae034e46d94eafe1db97a6a57a664400f03caa48af8f775f6064c361c6bb9a) 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. Source: ghsa-malware (890180372ad21984cf864d1d144734f47f696379213ef6e7bdf02a4c1f186a7f) 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 packages

    Package

    Name: moustick

    Purl: pkg:npm/moustick

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.2.1
    1.2.2
    MAL-2026-5347 | CVE-DB