目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

moustick

MAL-2026-5347
2026-06-12 19:46:15
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in moustick (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmoustick*
npmmoustick1.2.1
npmmoustick1.2.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-12T19:46:15Z","published":"2026-06-09T11:19:47Z","schema_version":"1.7.4","id":"MAL-2026-5347","aliases":["GHSA-979m-vm48-369f"],"summary":"Malicious code in moustick (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (deae034e46d94eafe1db97a6a57a664400f03caa48af8f775f6064c361c6bb9a)\nPackage 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.\n\n## Source: ghsa-malware (890180372ad21984cf864d1d144734f47f696379213ef6e7bdf02a4c1f186a7f)\nAny 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.\n","affected":[{"package":{"ecosystem":"npm","name":"moustick"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.2.1","1.2.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"9eb97dcae23527bc66606235e0ad5d2c89692d311120dec3a636acf479e53047","tlsh":"663155137ea5d01712b121b3b1f3cc47fd6695601b9a46e0bb6454943ded6b28f30ed8"},{"path":"package.json","sha256":"b40627bed3ca5bb8f0eccce0a8a2b77bf3a64f6c03d3104b77052fb981dc9ac9","tlsh":"3ff0461399a85d7706fc9395bc640287b6121f1f00b08c0f36ba022c57634ab16e8fb9"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-979m-vm48-369f"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/moustick/v/1.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/moustick/v/1.2.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"890180372ad21984cf864d1d144734f47f696379213ef6e7bdf02a4c1f186a7f","import_time":"2026-06-09T11:22:38.398285478Z","id":"GHSA-979m-vm48-369f","modified_time":"2026-06-09T11:19:48Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"d4e7fe7f047142ec8657563d0ea8b49e4fa254a22d27d7015c28317e79235ac8","import_time":"2026-06-12T19:43:40.058864405Z","id":"IN-MAL-2026-005850","modified_time":"2026-06-12T19:03:17Z","versions":["1.2.1"]},{"source":"amazon-inspector","sha256":"deae034e46d94eafe1db97a6a57a664400f03caa48af8f775f6064c361c6bb9a","import_time":"2026-06-12T19:43:40.171083306Z","id":"IN-MAL-2026-005851","modified_time":"2026-06-12T19:03:19Z","versions":["1.2.2"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0