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

目标: 1000 元 · 已筹: 1359 元

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

enbd-react-error-boundry

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

Summary

Malicious code in enbd-react-error-boundry (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmenbd-react-error-boundry*
npmenbd-react-error-boundry6.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T03:23:27Z","published":"2026-07-06T00:00:00Z","schema_version":"1.7.4","id":"MAL-2026-10229","aliases":["GHSA-jffm-72cc-xcwv"],"summary":"Malicious code in enbd-react-error-boundry (npm)","details":"The enbd-react-error-boundry package was published to the npm registry by user 'click2ai' (maintainer email privatek3m@protonmail.com) as part of a dependency-confusion / reconnaissance campaign. The package name mimics the internal/private package naming convention of a target organization (an 'enbd' internal namespace (Emirates NBD-style naming)) so that a misconfigured resolver installs this public lookalike instead of the intended private dependency.\n\nThe package declares a preinstall hook (\"npm install @sentry/node && node examples/verify.js\") that executes automatically at npm install time, before any application code runs. The bundled examples/verify.js initializes the @sentry/node client against a hardcoded, attacker-controlled Sentry DSN with sendDefaultPii enabled, resolves the installing host's public egress IP address by requesting Cloudflare's /cdn-cgi/trace endpoint (using a spoofed desktop-browser User-Agent to bypass bot challenges), then deliberately triggers a runtime exception and captures it. Flushing the event beacons the collected host telemetry (public IP plus Sentry default PII such as hostname, OS username and runtime/environment metadata) to the attacker's Sentry ingest endpoint at o4510485815754752.ingest.us.sentry.io.\n\nEach impersonated namespace in the campaign beacons to a distinct Sentry project ID, letting the operator attribute successful installs to specific victim organizations — behaviour consistent with a dependency-confusion reconnaissance beacon rather than legitimate error monitoring. The install-time payload is byte-for-byte identical across all packages published by this account, differing only in the package name and the target DSN. This package's beacon targets Sentry project 4511675212038149.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2ea43c1f30f0b47752c65b15e8b4a3a0791e9b8bf4a146948e806ce2d62188e2)\nPackage name misspells the popular `react-error-boundary` ('boundry') but ships a Node.js wrapper around @sentry/node with no React error-boundary API. The `preinstall` lifecycle in package.json runs `node examples/verify.js`, which calls `init()` with a hardcoded author-owned Sentry DSN (`https://<key>@o4510485815754752.ingest.us.sentry.io/4511675212038149`) configured with `sendDefaultPii: true`, fetches the installer's public egress IP from Cloudflare's `/cdn-cgi/trace`, attaches it to the Sentry user scope, deliberately triggers an exception, and flushes the event to the author's Sentry project. This fires automatically on `npm install`. Additionally, the exported `init()` in the main entry falls back to the same hardcoded DSN when the caller supplies none and no `SENTRY_DSN` env var is set (`const dsn = options.dsn || process.env.SENTRY_DSN || DEFAULT_DSN`), silently routing any consumer's captured errors, IPs, and PII to the author's Sentry project instead of the consumer's own.\n\n## Source: ghsa-malware (3cc69323ffbd81aa8b11633dd892f5a76599dbe34cafc5cf50cb6d5d4d5d4662)\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":"enbd-react-error-boundry"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["6.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":"package.json","sha256":"02dcf2d5603d1b49630b4c756c054103b0d1ce558a31cd2ee0815a58e436254d","tlsh":"d4f04450cd342f2305d4e7715caa0186a7748e4b06a83d0937cb522d4b4c3bb29ff1ad"},{"path":"examples/verify.js","sha256":"e7ed21dc1772cbaffef9b1c8ea67f0d520466aed21ec1e9ca216c92accaf503e","tlsh":"dc21eeace8f75573217b10484b1b14463ab20ac22309f992badc8f2f0fc0c25d27399a"},{"path":"src/index.js","sha256":"866793fab04dac5e1d1427c8b02399d8618358560be37591d79e297f025c2294","tlsh":"6412959a74f6632301e250f0025f90d97365c67a3339a9e0714d8be92fc90b9d6b3ed9"}],"package_integrity":[{"filename":"enbd-react-error-boundry-6.0.0.tgz","hashes":{"sha1":"87f05dcef1aa662d2a259b65de032e27226242d2","sha512_sri":"sha512-FinjHJWOec2M+X0Z4FJ5Al4iXLSxpAgoU96S2sOVtEssiJqJUjc6BUv2z1uF7cQxG/ZM/V99PyaQ9zFVsFnv2Q=="}}]},"iocs":{"domains":["o4510485815754752.ingest.us.sentry.io"],"urls":["https://abbfc11111e117a3556e36aa8f778f4b@o4510485815754752.ingest.us.sentry.io/4511675212038149"]}}}],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/enbd-react-error-boundry"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/enbd-react-error-boundry/v/6.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jffm-72cc-xcwv"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"SafeDep","type":"FINDER","contact":["https://safedep.io"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"2ea43c1f30f0b47752c65b15e8b4a3a0791e9b8bf4a146948e806ce2d62188e2","import_time":"2026-07-13T09:10:56.931054129Z","id":"IN-MAL-2026-009874","modified_time":"2026-07-13T08:19:20Z","versions":["6.0.0"]},{"source":"ghsa-malware","sha256":"3cc69323ffbd81aa8b11633dd892f5a76599dbe34cafc5cf50cb6d5d4d5d4662","import_time":"2026-07-14T03:21:41.954901518Z","id":"GHSA-jffm-72cc-xcwv","modified_time":"2026-07-14T01:04:58Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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