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

目标: 1000 元 · 已筹: 1336

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

@coralxyz/anchor

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

Summary

Malicious code in @coralxyz/anchor (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@coralxyz/anchor0.30.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-08T00:52:09Z","published":"2026-08-08T00:52:09Z","schema_version":"1.7.4","id":"MAL-2026-13629","summary":"Malicious code in @coralxyz/anchor (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1475ce579e5b1ce9d7597187d091b29b70cbe1a563ed70946517673c29683763)\nPackage @coralxyz/anchor impersonates the legitimate Solana Anchor framework package @coral-xyz/anchor (hyphen removed). The npm postinstall hook, implemented in scripts/postinstall.js, hides all string literals behind a hex-escaped string-array decoder (_0x5a2f / _0xf). On Windows (win32), the decoded logic downloads a zip archive from the anonymous file host https://files.catbox.moe/9bppy2.zip, extracts it via PowerShell Expand-Archive to a temporary directory, walks the extracted tree, and spawns any.exe file it finds detached with windowsHide. index.js is a minimal stub; the package's advertised Anchor framework functionality is not present, and the postinstall dropper is the sole meaningful behavior. The delivery vector is name confusion with the widely used @coral-xyz/anchor package.\n","affected":[{"package":{"ecosystem":"npm","name":"@coralxyz/anchor"},"versions":["0.30.2"],"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":"scripts/postinstall.js","sha256":"718ba416b1eee8338c932bbdc6b58822f6cceca43f8a24ddd057e524e524cad3","tlsh":"7f51fd8573e5e32b67ec0ad7fd105ea081f38a2571c6b403c39cf94d049e24fd6aa880"},{"path":"package.json","sha256":"9a0c22436f8e8880b0f99c2bb972bb953e3bf442a43573ad4d6e32d4bc7e197b","tlsh":"c0012015d4749db31bd42bc4983f0952a551cd17c8487c1a37c3902c4b9e57b51fe75e"}],"package_integrity":[{"filename":"anchor-0.30.2.tgz","hashes":{"sha1":"3fe10db9ca072615cca48b561a11bca59fb526f1","sha512_sri":"sha512-dxVXJNSGH33AjGF97LbDZDAslVRw2bezWov69E5id7l3awbNm+fVMrBeyPLcvVN2tOpZFytl9MdClGiEd8b7lA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@coralxyz/anchor/v/0.30.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017197","import_time":"2026-08-08T00:53:10.045779473Z","modified_time":"2026-08-08T00:52:09Z","sha256":"1475ce579e5b1ce9d7597187d091b29b70cbe1a563ed70946517673c29683763","source":"amazon-inspector","versions":["0.30.2"]}]}}

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