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

目标: 1000 元 · 已筹: 1359 元

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

ec-checker

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

Summary

Malicious code in ec-checker (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmec-checker0.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T16:35:42Z","published":"2026-07-08T16:35:42Z","schema_version":"1.7.4","id":"MAL-2026-6996","summary":"Malicious code in ec-checker (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dc8245936c8beb04bdb2bfe31a8117133823e3ffd6ed3e165d89b822dfab4a9c)\npackage.json declares a preinstall script that runs `npm install @sentry/node && node examples/verify.js`. examples/verify.js initializes the package's Sentry client against a hardcoded author-owned DSN (`https://bbdb73451ed2cd7e25e5529f78013624@o4510485815754752.ingest.us.sentry.io/4511621197856768`) with sendDefaultPii enabled, calls setUserFromPublicIp() to resolve the installer's public IP, then deliberately throws a TypeError and flushes the Sentry event. As a result, simply running `npm install ec-checker` transmits the installer's public IP, hostname, OS, Node runtime info, and a stack trace to the author's Sentry project without the installer's consent. Separately, src/index.js hardcodes the same DSN as DEFAULT_DSN and falls back to it whenever a caller does not pass a `dsn` option or set `SENTRY_DSN` — and the README's quick-start invokes init() with no DSN — so consumers integrating the library per the documented usage silently upload their application's runtime exceptions (stack traces, file paths, user IPs, hostnames) to the author's Sentry tenant rather than their own. The install-time beacon gives the publisher an inventory of every machine that installs the package, and the library default turns the package into a silent relay of downstream application telemetry.\n","affected":[{"package":{"ecosystem":"npm","name":"ec-checker"},"versions":["0.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"3c4c5101041cd32728249e3f1d172c94c9ff22bef84bacc71cc630298c090f7a","tlsh":"53f022248d742f2315d4b7656caa0086a7208e4746a87e1876cb022d4f8c36f24ff29c"},{"path":"src/index.js","sha256":"7995d6ea176fd0cd1467ff019cb0e865cdaa27eba2d9f2feb9a1aa23c1212c99","tlsh":"6912969a74f6232301e650f0025f90d97365c67b3379a9e071594be92fc90b8d6b3ec9"}],"package_integrity":[{"filename":"ec-checker-0.0.1.tgz","hashes":{"sha1":"866b6e4f4a3a99af338f37935af8bbbf800f8790","sha512_sri":"sha512-ED3nN30lZI05cI44lqOhjhFCwbs6qZ508hcXOI+H3Yqj3As0+B36BaUbD4mbI4gSfRfMFDu966KQEJ9OdpzFtg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ec-checker/v/0.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-008159","import_time":"2026-07-08T17:01:35.393310496Z","modified_time":"2026-07-08T16:35:42Z","sha256":"dc8245936c8beb04bdb2bfe31a8117133823e3ffd6ed3e165d89b822dfab4a9c","source":"amazon-inspector","versions":["0.0.1"]}]}}

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