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

目标: 1000 元 · 已筹: 1359 元

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

endpointmap

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

Summary

Malicious code in endpointmap (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmendpointmap*
npmendpointmap2.1.0
npmendpointmap3.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-20T13:16:56Z","published":"2026-06-29T08:52:54Z","schema_version":"1.7.4","id":"MAL-2026-6588","aliases":["GHSA-p3qr-5g48-8w89"],"summary":"Malicious code in endpointmap (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (aa2ddbcbdd90508af14415a021644c1ab8a57e432b526425e4c5128b23f897bb)\nendpointmap advertises itself as a REST endpoint registry but exhibits a two-package smuggle pattern. lib/registry.js exports two non-printable byte arrays (`_ep` of length 36, `_p` of length 7) annotated as 'Endpoint host segment' / 'Endpoint path segment', with a comment claiming they are 'processed at runtime by the consumer for portability.' Neither array is read anywhere in endpointmap's own code — index.js only exposes the registry object — and the bytes are opaque (XOR-shaped, with no key shipped in this package). At the same time, package.json declares `\"bytecraft\": \"*\"` as a dependency. endpointmap's source never `require`s bytecraft; the only effect of the declaration is to force installation of whatever `bytecraft@latest` happens to be at install time. The combination — staged encoded data in this package plus an unpinned, never-imported sibling that can be updated to act as the decoder/runtime — is the canonical 'data here, decoder there' split designed to evade per-package review. An installer of endpointmap is exposed to whatever bytecraft resolves to at install/require time, including future malicious versions, without endpointmap itself ever needing another release.\n\n## Source: ghsa-malware (7cf1ae7dc26d8ebda1199b5e88d8fb0d49e4db8f72ff01b5f2b0dea88cf4a8a0)\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":"endpointmap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.1.0","3.0.0"],"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":"lib/registry.js","sha256":"dcfb9e5cbe24accdb2a5dc35eb3e30ca9a20d848c05644ab57e8434f33125ff7","tlsh":"5001d08371a2914b37c44adfb35e354728919309e95270b1a8e9014f498c92d0276787"}],"package_integrity":[{"filename":"endpointmap-2.1.0.tgz","hashes":{"sha1":"084e1c14f8f0aaa6f9fc7ab8f070b17f1ff94a3c","sha512_sri":"sha512-43OeYW2XjaN6eL66ZTOIxy2vO5cS89ULkkUxgJ/xBosQ9kil8oqRP6xIR1Nc9M9siRktZvW82ZOEMvt9rsaCDw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/endpointmap/v/2.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/endpointmap/v/3.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p3qr-5g48-8w89"},{"type":"WEB","url":"https://safedep.io/procwire-npm-windows-dropper-campaign"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"3037e91395714302068c117c15fb5b86a617068510019cd64b9f6a925593c5f7","import_time":"2026-06-29T09:10:17.671131754Z","id":"IN-MAL-2026-007783","modified_time":"2026-06-29T08:53:06Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.1.0"]},{"source":"amazon-inspector","sha256":"aa2ddbcbdd90508af14415a021644c1ab8a57e432b526425e4c5128b23f897bb","import_time":"2026-06-29T09:10:17.548831333Z","id":"IN-MAL-2026-007782","modified_time":"2026-06-29T08:52:54Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.0.0"]},{"source":"ghsa-malware","sha256":"7cf1ae7dc26d8ebda1199b5e88d8fb0d49e4db8f72ff01b5f2b0dea88cf4a8a0","import_time":"2026-06-30T16:57:44.029691132Z","id":"GHSA-p3qr-5g48-8w89","modified_time":"2026-06-30T16:18:12Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"reversing-labs","sha256":"894ce38435ce2684777ffb7229e7ab075b18c5ff9bc2156ea51337068e821573","import_time":"2026-07-20T13:14:45.949636163Z","id":"RLMA-2026-05532","modified_time":"2026-07-20T10:41:24Z","versions":["2.1.0","3.0.0"]}]}}

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