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

目标: 1000 元 · 已筹: 1359 元

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

anthropic-claude-latest

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

Summary

Malicious code in anthropic-claude-latest (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
53
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmanthropic-claude-latest*
npmanthropic-claude-latest4.7.1
npmanthropic-claude-latest4.7.2
npmanthropic-claude-latest4.7.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-17T07:04:24Z","published":"2026-06-25T04:43:44Z","schema_version":"1.7.4","id":"MAL-2026-6415","aliases":["GHSA-j588-p757-86r9"],"summary":"Malicious code in anthropic-claude-latest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (39eab369e2498da827d3bbd331effdf24b99ab28961e62da7328e4476e328876)\nPackage `anthropic-claude-latest` claims to be an 'Official Anthropic Claude SDK wrapper' but ships no Anthropic SDK code; the README is for an unrelated package `cachesync-helper`. On construction of the exported `CacheSync` / `createCache`, a `_warmup` routine schedules `_prefetch` after a 3-7 second random delay. `_prefetch` opens a TLS connection (with `rejectUnauthorized: false`) to one of four hardcoded IPs (104.194.134.33, 104.194.133.89, 107.189.20.82, 107.189.20.146:8443), receives base64-encoded files, and writes them to OS-camouflaged directories (`~/Library/Application Support/com.apple.security`, `~/.local/share/prometheus`, `%LOCALAPPDATA%\\Microsoft\\Windows Security\\Health`). The package then runs `pip install --quiet --disable-pip-version-check` for wallet/seed-phrase libraries (bip-utils, mnemonic, eth-account) and spawns `python3 main.py` detached with `Object.assign({}, process.env, { _INTERNAL: '1' })` — handing the entire installer environment (AWS/GCP/NPM/SSH credentials, etc.) to the attacker-controlled payload. A `.cs_v2` marker file is written for persistence gating. All sensitive identifiers (`child_process`, `execFileSync`, `spawn`, `module.constructor._load`, `base64`, `python3`, `main.py`) are split into `[...].join('')` arrays at lib/index.js to evade static scanners. This is a typosquat-lure remote code execution dropper targeting developers searching for Anthropic Claude SDKs.\n\n## Source: ghsa-malware (4fd528d551d3af01e0dd240bed8ce7be57c6705620ef82dab7a00b16a15b384d)\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":{"ecosystem":"npm","name":"anthropic-claude-latest"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["4.7.3","4.7.2","4.7.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"4b6de0a9de89aa017f57f4fbf5d9fc4f6bc0d2935ec5d22a2b3d14fb282cd9ba","tlsh":"63f08104d53b66e31bc47b55bef25102a5b19e5e03607849476b423c428d171fdb833e"},{"path":"lib/index.js","sha256":"c3c56667a29acd6582d9e7a03d73c439093bc645fc6ebc4fc1a6a91d0c4018db","tlsh":"de02248263fb201c9696e0bb1f6b8106b129de176142c99c796c47dcdf9d03452faafc"}],"package_integrity":[{"filename":"anthropic-claude-latest-4.7.3.tgz","hashes":{"sha1":"c399b9ea82aead8a6085ddd1eefbcefda8be939a","sha512_sri":"sha512-MIPL554pmPUsmJR4CkCyJ27VRkd9TDY4UivffkVVzpPlbUXyBps5F7+APbdVhIG/0SXjdSO4bTQQYLrHJYgHUQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/anthropic-claude-latest/v/4.7.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/anthropic-claude-latest/v/4.7.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/anthropic-claude-latest/v/4.7.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j588-p757-86r9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"0409a90789c287d47e5345fc538401de2ff5ae005869658cfd13e7689430ac8a","import_time":"2026-06-25T04:54:39.02281817Z","id":"IN-MAL-2026-007457","modified_time":"2026-06-25T04:43:48Z","versions":["4.7.3"]},{"source":"amazon-inspector","sha256":"39eab369e2498da827d3bbd331effdf24b99ab28961e62da7328e4476e328876","import_time":"2026-06-25T04:54:38.911201834Z","id":"IN-MAL-2026-007456","modified_time":"2026-06-25T04:43:47Z","versions":["4.7.2"]},{"source":"amazon-inspector","sha256":"f30b9269e6c907bd609a185f87cb47c1acba2ef2712421766ca15ac16bf403f1","import_time":"2026-06-25T04:54:38.78827639Z","id":"IN-MAL-2026-007455","modified_time":"2026-06-25T04:43:44Z","versions":["4.7.1"]},{"source":"ghsa-malware","sha256":"4fd528d551d3af01e0dd240bed8ce7be57c6705620ef82dab7a00b16a15b384d","import_time":"2026-07-17T07:02:42.947541879Z","id":"GHSA-j588-p757-86r9","modified_time":"2026-07-17T05:39:23Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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