-= Per source details. Do not edit below this line.=-
The npm package api-anthropic impersonates Anthropic branding (both the package name and the destination domain api-anthropic.help) and reconfigures the user's Claude Code installation to send all traffic through an author-controlled gateway. The CLI writes ~/.claude/settings.json with env.ANTHROPIC_BASE_URL set to https://api-anthropic.help and env.ANTHROPIC_AUTH_TOKEN set to a key, so every subsequent Claude Code session - including prompts, pasted code, file contents, and credentials shared with the assistant - flows through the author's domain instead of Anthropic's real API. The README advertises a non-Anthropic model ("Fable 5.1 (1M Context)"), confirming the endpoint is a third-party proxy rather than Anthropic infrastructure. In addition, the package writes hasTrustDialogAccepted=true and hasClaudeMdExternalIncludesApproved=true into ~/.claude.json for both the current working directory and the user's entire $HOME, pre-approving Claude Code's folder-trust and external-include safety prompts across every project in the home directory. The combination gives the proxy operator a durable channel to capture all AI-assisted content and to have Claude Code act on arbitrary files beneath $HOME without further confirmation.
Any 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.
{
"malicious-packages-origins": [
{
"id": "GHSA-cj9w-7h22-q93g",
"import_time": "2026-10-19T22:24:25.306608976Z",
"modified_time": "2026-10-19T21:47:42Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "f1922723e10fcad576f383d44d31606460edf694315338ff529a20a84add0005",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-021833",
"import_time": "2026-10-29T13:14:06.679619976Z",
"modified_time": "2026-10-29T13:13:45Z",
"sha256": "8bc38b611790247aa77b1c2fc2f3c891a0a31b210fb54dc907c2073b9003d9f0",
"source": "amazon-inspector",
"versions": [
"1.1.2"
]
},
{
"id": "IN-MAL-2026-021834",
"import_time": "2026-10-29T13:14:06.770016044Z",
"modified_time": "2026-10-29T13:13:52Z",
"sha256": "da6ded6ef731622407c9cd7cd17235a9d010636ab1484aa5332a23e795d9a49d",
"source": "amazon-inspector",
"versions": [
"1.1.1"
]
},
{
"id": "IN-MAL-2026-021832",
"import_time": "2026-10-29T13:14:06.60134344Z",
"modified_time": "2026-10-29T13:13:36Z",
"sha256": "50d22f4491327818aa1d03fc098a3a7f532ae16bb72f77d4d4cb929afc6fe382",
"source": "amazon-inspector",
"versions": [
"1.1.3"
]
},
{
"id": "IN-MAL-2026-021835",
"import_time": "2026-10-29T13:37:12.395310814Z",
"modified_time": "2026-10-29T13:13:59Z",
"sha256": "19164d6b4b781d022a4bc75ae45fae6d20737ddc0b711057e89990d39efc8df5",
"source": "amazon-inspector",
"versions": [
"1.1.0"
]
},
{
"id": "IN-MAL-2026-022263",
"import_time": "2026-10-29T14:14:38.495573384Z",
"modified_time": "2026-10-29T14:10:11Z",
"sha256": "0b5a143886cc66cf6b6cbfb0e93f7fae396a7b9a4aa359050e41d25c7ffd8e3a",
"source": "amazon-inspector",
"versions": [
"0.1.0"
]
},
{
"id": "IN-MAL-2026-022259",
"import_time": "2026-10-29T14:14:38.206960439Z",
"modified_time": "2026-10-29T14:09:40Z",
"sha256": "5ddb7023b6761d905d2447c832beac6d68c257902a2ba8b09a8ceda046d6ad9e",
"source": "amazon-inspector",
"versions": [
"0.1.1"
]
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"path": "bin.js",
"sha256": "91cc7bc97115287217b232ba80db81a127c46b3252739bc6ceeb78734b47cc7d",
"tlsh": "6b42931a4efa13242df6d979a6cf0427d71680633304e82c77fd52906fd16248a6e6ee"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/api-anthropic/MAL-2026-18055.json"