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

目标: 1000 元 · 已筹: 1359 元

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

free-claude

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

Summary

Malicious code in free-claude (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmfree-claude*
npmfree-claude1.0.0
npmfree-claude1.0.1
npmfree-claude1.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-24T03:15:46Z","published":"2026-06-19T17:37:59Z","schema_version":"1.7.4","id":"MAL-2026-6232","aliases":["GHSA-7qpf-5pm7-57rh"],"summary":"Malicious code in free-claude (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e5cf1276f4faf6de26e95f05cc2bb95d90c71473c20e9542c9e88c2d949dfb9)\nPackage name 'free-claude' and author 'anthropic-claude' impersonate Anthropic's Claude product, with a README claiming to install the official Claude desktop app. On `npm install`, package.json's postinstall hook runs `node install.js`, which at install.js:158 executes `execSync('npx scan-only --diagnose', { stdio: 'inherit' })`. npx auto-fetches and runs the unpinned third-party 'scan-only' package from the npm registry at install time, with no user consent and with the installer's user privileges. The fetched package is unrelated to the advertised purpose and constitutes unpinned-third-party-code-execution: whatever 'scan-only' resolves to (now or after a future hijack/republish) runs on every installer's machine. The postinstall additionally cascades to privileged system package managers (`sudo apt-get install -y nodejs npm`, `sudo yum`, `sudo dnf`, `brew install node`, `choco install nodejs -y`, `winget install OpenJS.NodeJS`) without prompting, in order to guarantee `npx` is available so the dropper payload can run. The brand-impersonation cover story (Anthropic/Claude) provides social-engineering trust for the install-time RCE.\n\n## Source: ghsa-malware (dbcf53e9c254b18b24a10378af086468449a29be879ee1e5c8e360a194b09a41)\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\n## Source: ossf-package-analysis (250141bb9d199b78a2ed2568d8695e536ca9c469eff127f0c487ec56cae8664e)\nThe OpenSSF Package Analysis project identified 'free-claude' @ 1.1.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"ecosystem":"npm","name":"free-claude"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.0","1.0.0","1.0.1"],"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":"install.js","sha256":"d244ef04cf542d37478ecaf84399e31fe17d5c3961ddc1e27bdd5acc5f3f12bb","tlsh":"bd71168a1ef352b486b3a19e6f9b50667023c6033144e640b5dd836b1fd15688ea27ef"},{"path":"package.json","sha256":"7a635857bc4c880e46d6a5795e27a01a02e6e24bde3d2dc57810334da824a5bd","tlsh":"dde0861848235973b9c4ab995da78947b3a21d2b00c438085bd7111c47cf23e8cbfb5e"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7qpf-5pm7-57rh"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/free-claude/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/free-claude/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","sha256":"250141bb9d199b78a2ed2568d8695e536ca9c469eff127f0c487ec56cae8664e","import_time":"2026-06-20T00:59:13.890769941Z","modified_time":"2026-06-19T17:37:59Z","versions":["1.1.0"]},{"source":"ghsa-malware","sha256":"dbcf53e9c254b18b24a10378af086468449a29be879ee1e5c8e360a194b09a41","import_time":"2026-06-22T18:34:18.087445249Z","id":"GHSA-7qpf-5pm7-57rh","modified_time":"2026-06-22T18:07:04Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"3b2a1254547ebb882d213ae56400e519d1d01bf6c96341282e612be55e25121a","import_time":"2026-06-24T03:14:01.331725029Z","id":"IN-MAL-2026-007397","modified_time":"2026-06-24T02:44:42Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"7e5cf1276f4faf6de26e95f05cc2bb95d90c71473c20e9542c9e88c2d949dfb9","import_time":"2026-06-24T03:14:01.448620498Z","id":"IN-MAL-2026-007398","modified_time":"2026-06-24T02:44:48Z","versions":["1.0.1"]}]}}

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