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

目标: 1000 元 · 已筹: 1359 元

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

date-uuid

MAL-2026-6566
2026-07-09 16:23:00
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in date-uuid (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdate-uuid*
npmdate-uuid1.0.0
npmdate-uuid1.0.1
npmdate-uuid1.0.2
npmdate-uuid1.0.3
npmdate-uuid1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:00Z","published":"2026-06-29T04:09:22Z","schema_version":"1.7.4","id":"MAL-2026-6566","summary":"Malicious code in date-uuid (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58dffbe61370f78deed5bacbc8f6bc46a8a989f03da218643a41b52ed025fa6a)\nPackage advertised as a UUIDv7 helper, but on require()/import it auto-invokes extractDateISO() in bootstrap.js, which reads README.md from process.cwd(), extracts two specific lines (120 and 123), and base64-decodes them after prepending 'aH' and inserting 'Rz' to reconstruct an 'http...' URL (the prefix 'aHR0c' decodes to 'http'). The reconstructed URL is fetched, written to os.tmpdir() as temp_<timestamp>.vbs (the '.vbs' extension is split as 'v'+'b'+'s' to evade grep), and executed via child_process.exec. The behavior is unrelated to the advertised UUID functionality. Sourcing the payload URL from the caller's README rather than the package source decouples the attacker-controlled destination from the published artifact and enables staged/deniable deployment: a chained attack or a future README edit can change what gets executed without republishing the package. Obfuscation devices (string-splitting the script extension, base64 framing of the URL prefix) co-located with the fetch-and-exec path indicate deliberate evasion intent.\n","affected":[{"package":{"ecosystem":"npm","name":"date-uuid"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0","1.0.3","1.0.2","1.0.4"],"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"},{"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":"lib/store.js","sha256":"18f4b1801146529d0b42b0166d758a637773f3e98c3e5669f5686b8a8cb827d4","tlsh":"81d184d06563b2528ef663704392400df69fd122392681e6fedc64812fef264e5e2edc"}],"package_integrity":[{"filename":"date-uuid-1.0.1.tgz","hashes":{"sha1":"e52c8b0ce20a37c6fa70271d3a5d6935fc7cf750","sha512_sri":"sha512-kJkHL87mrBbbJunwQZqmh5PYgppxjz02C12vZakumPyb6a5oXr8tJOvrrfHozzQNMzZc2MJpMa5BtlMl7zy7Ww=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/date-uuid/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/date-uuid/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/date-uuid/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/date-uuid/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/date-uuid/v/1.0.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"58dffbe61370f78deed5bacbc8f6bc46a8a989f03da218643a41b52ed025fa6a","import_time":"2026-06-29T05:07:05.419863182Z","id":"IN-MAL-2026-007711","modified_time":"2026-06-29T04:09:22Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1"]},{"source":"amazon-inspector","sha256":"8f8034cbe06fea0d316e5f04dc7b8f88197b6430515f02543f8b5ce964f2451f","import_time":"2026-06-29T05:07:05.603011997Z","id":"IN-MAL-2026-007712","modified_time":"2026-06-29T04:09:35Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"95505f14a68018ec13fc7bf12bf39134c64e61f0ab55ead1796b335ff52f6ef9","import_time":"2026-07-09T16:20:57.87953679Z","id":"IN-MAL-2026-009292","modified_time":"2026-07-09T15:56:19Z","versions":["1.0.3"]},{"source":"amazon-inspector","sha256":"9c1ffd784fa0266f9c19845f058c25170c998aeac466e55cdd92df7fd453f3d9","import_time":"2026-07-09T16:20:57.758213518Z","id":"IN-MAL-2026-009290","modified_time":"2026-07-09T15:56:01Z","versions":["1.0.2"]},{"source":"amazon-inspector","sha256":"aa36a4b5074c88e11c2babb20dcdb3890fe9163effb7c569c2503ee4b9cabd52","import_time":"2026-07-09T16:20:58.046138415Z","id":"IN-MAL-2026-009294","modified_time":"2026-07-09T15:56:36Z","versions":["1.0.4"]}]}}

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