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

目标: 1000 元 · 已筹: 1359 元

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

@coopeuch/common

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

Summary

Malicious code in @coopeuch/common (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@coopeuch/common*
npm@coopeuch/common1.999.999
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17760","published":"2026-10-11T13:58:48Z","modified":"2026-10-12T19:26:34.624483365Z","aliases":["GHSA-5h58-475h-6287"],"summary":"Malicious code in @coopeuch/common (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (887c41c0805d7d223c499e702796cf46727b0be152b7c8a65607907afb3b5d59)\n@coopeuch/common@1.999.999 publishes to the public npm registry under a scope the publisher does not own, using an inflated version (1.999.999) consistent with the dependency-confusion technique that outranks internal-registry versions. The package's declared postinstall script (postinstall.js) runs automatically on npm install and collects installer-side host and network data — hostname, username, uid/gid, home directory, non-internal network interface addresses with MAC/CIDR, DNS resolver addresses, reverse-DNS internal FQDN, container markers, CI environment-variable presence, npm_config_registry, and the consuming project's package name/version/declared range — then POSTs it as JSON to the hardcoded author-controlled endpoint https://collector.oob.s4yhii.com/_npm-poc/beacon. A secondary DNS beacon is emitted via dns.lookup to a subdomain of oob.s4yhii.com. Any build that resolves @coopeuch/common from the public registry (including internal builds referencing the @coopeuch scope) will auto-exfiltrate internal hostnames, MAC addresses, usernames, internal registry URLs, and project identity to a third-party collector at install time. The package's README self-labels this as a coordinated-disclosure proof of concept; the harvesting and off-host upload nonetheless occur without installer opt-in.\n\n## Source: ghsa-malware (7bb4ede3c2c6108558588512db3e190f0255516a40707bd801219d684b0aaff9)\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":{"name":"@coopeuch/common","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.999.999"],"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"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"c859191e9d7e04d59b5d2f566799feb31594a68573350bd17661be469e8663ef","tlsh":"0ae1fa6a05fe1132226235f4694b50156776d1633504fbf4b9dd8280afcf0ba42bb7ed"},{"path":"package.json","sha256":"0460202496c4e21d871ff51598019aeb1d27b5083ebf22611dc5456a64d0dbaa","tlsh":"1ee02230c5314f33a4d829a90d37264660aa296387083c2863eb426c4bdc77b88ff32d"}],"package_integrity":[{"filename":"common-1.999.999.tgz","hashes":{"sha1":"f1278ee12b8adc385a28b5847ebbaef5f4e41be7","sha512_sri":"sha512-aVYGJ0N6KMZH6QKeZwlw88VVV1+9Nh1lLGmbI/R7fCWJvnLnoiBRe7op2ptvfDIokoyiyPKyCuvJmvfs33mT0Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@coopeuch/common/v/1.999.999"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5h58-475h-6287"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021433","import_time":"2026-10-11T14:18:05.240602486Z","modified_time":"2026-10-11T13:58:48Z","sha256":"887c41c0805d7d223c499e702796cf46727b0be152b7c8a65607907afb3b5d59","source":"amazon-inspector","versions":["1.999.999"]},{"id":"GHSA-5h58-475h-6287","import_time":"2026-10-12T19:24:46.899886577Z","modified_time":"2026-10-12T19:07:14Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"7bb4ede3c2c6108558588512db3e190f0255516a40707bd801219d684b0aaff9","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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