moustick
This report shows the evidence for moustick@1.2.2. 2 of 2 known versions are blocked or flagged. See all versions.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5347 confirms this npm version as malicious.
Advisory
MAL-2026-5347
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in moustick (npm)
Details
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.
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to moustick@1.2.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing moustick@1.2.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.