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

目标: 1000 元 · 已筹: 1336

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

@demica/resources

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

Summary

Malicious code in @demica/resources (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
138
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@demica/resources*
npm@demica/resources99.99.100
npm@demica/resources99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5350","published":"2026-06-09T07:52:42Z","modified":"2026-08-13T22:13:34.385238213Z","aliases":["GHSA-jpwc-w79c-8p63"],"summary":"Malicious code in @demica/resources (npm)","details":"**Note:** *This report is updated by a verification record*\n\nDep-confusion squat of internal @demica/resources at sentinel high version 99.99.100 + auto-exec postinstall (canary.js) beaconing to RAW IP 157.230.17.236:80/dc. Sentinel-high-version + auto-exec beacon = MALICIOUS per operator policy (c913); \"authorized canary\" framing does NOT downgrade, raw-IP dest matches masterkrweb. 6-pkg @demica canary campaign.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (98805b03541bafd28883acb75e8fd9d0e4ea947d75062563c34438dec82139bf)\nOn `npm install`, the package's `scripts.postinstall` executes `canary.js`, which issues an unconditional plain-HTTP GET to the hardcoded bare IP `157.230.17.236` on port 80 at path `/dc?...`. The query string includes `os.hostname()` (truncated to 200 chars) plus the package name, version, a nonce, and a phase identifier. This fires automatically on every install with no opt-out. The package self-describes as a 'dependency-confusion canary,' but it is published on the public npm registry under the `@demica/*` scope: any installer that resolves `@demica/resources` — including via accidental dependency confusion, typo, or curiosity install — will leak their hostname to the operator of that bare IP over unencrypted HTTP. The destination is an anonymous bare IP with no associated domain, publisher, or disclosure; hostname is an installer-side host identifier transmitted off-host to an attacker-shaped endpoint.\n\n## Source: ghsa-malware (d2b5202f5f3ce17b513e7c5cd30af6dbe5db49b09ee62082b2f51bba7f7ea6b3)\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":"@demica/resources","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.100","99.99.99"],"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":"canary.js","sha256":"0383509dcbcb2b73adaf08369e849a006a06f130c703013f2b42b46a089fb5af","tlsh":"0401f1db88f2d231a3f609ca64a34e67f122d291326bacf0b88c19511f8e98c43755d4"}],"package_integrity":[{"filename":"resources-99.99.100.tgz","hashes":{"sha1":"e3020603b20e1a28a9fa0a94f0a44d543be787e9","sha512_sri":"sha512-usZC4m0eLfBF338dOj+4GEhW8LQsktvuJjg2GysxcwscAQ1n9w3IwIkK1NkU/XbXDcJPwW9MjogsxCUnvttQFg=="}}]}}}],"references":[{"type":"REPORT","url":"https://app.safedep.io/community/malysis/01KTMB44098ATG3YSX2G0Q9M23"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@demica/resources/v/99.99.100"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@demica/resources/v/99.99.99"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpwc-w79c-8p63"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005011","import_time":"2026-06-09T17:45:48.781767216Z","modified_time":"2026-06-09T17:17:09Z","sha256":"98805b03541bafd28883acb75e8fd9d0e4ea947d75062563c34438dec82139bf","source":"amazon-inspector","versions":["99.99.100"]},{"id":"IN-MAL-2026-008106","import_time":"2026-07-08T17:01:30.963007162Z","modified_time":"2026-07-08T16:25:46Z","sha256":"6d04a14e381bc410928380f44499fedcb2c8aef44a0acc0a411c4645e7d13b3b","source":"amazon-inspector","versions":["99.99.99"]},{"id":"GHSA-jpwc-w79c-8p63","import_time":"2026-08-13T22:11:44.625077242Z","modified_time":"2026-08-13T15:26:16Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d2b5202f5f3ce17b513e7c5cd30af6dbe5db49b09ee62082b2f51bba7f7ea6b3","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}

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