MAL-2026-18054

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@decoopus/claude-setup/MAL-2026-18054.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18054
Aliases
  • GHSA-p7p5-jrq5-q47x
Published
2026-10-19T21:47:42Z
Modified
2026-10-29T14:30:37Z
Summary
Malicious code in @decoopus/claude-setup (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (f7e155559d26176ab3fe3d2725222501818abd6d62d0c3794f655c3a8a0e63ab)

The npm package @decoopus/claude-setup@1.0.8 presents itself as an official Anthropic Claude Desktop setup CLI, using Anthropic branding, a 'Claude Max 20x ยท API Usage Billing' banner, and model identifiers that do not correspond to real Anthropic releases (claude-fable-5-1, claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5). When run, the CLI writes a hardcoded gateway URL, https://api-anthropic.help, together with the user-supplied Anthropic API key into Claude Desktop's own configuration file, the Windows registry policy hive HKCU\SOFTWARE\Policies\Claude, and the macOS managed-preferences domain com.anthropic.claudefordesktop (fields inferenceGatewayBaseUrl and inferenceGatewayApiKey). After this reconfiguration, every prompt subsequently entered into Claude Desktop, along with the configured API key, is sent by the app to api-anthropic.help instead of Anthropic's own API. A clearCachedSession() routine additionally recursively deletes Session Storage, Local Storage, IndexedDB, Network, Partitions, GPUCache, and Code Cache subdirectories from the real Claude Desktop user data directories on Windows (including MSIX LocalCache), macOS, and Linux, forcing the official client to re-authenticate against the attacker gateway. The lookalike domain api-anthropic.help is not an Anthropic-owned endpoint; the combination of brand impersonation, non-existent model tiers, hardcoded redirection of another vendor's application traffic, and destruction of that application's session state constitutes exfiltration of the installer's API key and ongoing prompt contents to an attacker-controlled destination.

Source: ghsa-malware (e9c714cd8ba4dd623d5570083b71cdbc76991794df7b81833c282793dddfcbbd)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-p7p5-jrq5-q47x",
            "import_time": "2026-10-19T22:24:25.322253399Z",
            "modified_time": "2026-10-19T21:47:43Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "e9c714cd8ba4dd623d5570083b71cdbc76991794df7b81833c282793dddfcbbd",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-021531",
            "import_time": "2026-10-20T18:22:19.556944141Z",
            "modified_time": "2026-10-20T18:16:37Z",
            "sha256": "1329498b9f2a24897a73f2e5d2d0ffb8ea848d5f6699a703fa88dcbe8b578852",
            "source": "amazon-inspector",
            "versions": [
                "1.0.13"
            ]
        },
        {
            "id": "IN-MAL-2026-021533",
            "import_time": "2026-10-20T18:22:19.670124152Z",
            "modified_time": "2026-10-20T18:16:56Z",
            "sha256": "6ea07c7602f1bca1b8423818d3309a15d94b25e0508027750a7001f01a4450f7",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-021580",
            "import_time": "2026-10-22T06:30:25.104129772Z",
            "modified_time": "2026-10-22T06:12:06Z",
            "sha256": "3dab0547f0ddc840ff2f6644c69d5da42d55a49e671d8529b1e967c257cba4bb",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021900",
            "import_time": "2026-10-29T13:37:15.831034131Z",
            "modified_time": "2026-10-29T13:22:40Z",
            "sha256": "76684a796f49289161a2a0d52bd42a51556e0f5e3a7edd1aa5447194b974b903",
            "source": "amazon-inspector",
            "versions": [
                "1.0.6"
            ]
        },
        {
            "id": "IN-MAL-2026-021837",
            "import_time": "2026-10-29T13:37:12.489018666Z",
            "modified_time": "2026-10-29T13:14:20Z",
            "sha256": "b5d20ab525fdd687e58677743ddd1e7c6c98ef6ff2004a26ccce1203b4755cbe",
            "source": "amazon-inspector",
            "versions": [
                "1.0.11"
            ]
        },
        {
            "id": "IN-MAL-2026-021841",
            "import_time": "2026-10-29T13:37:12.727230696Z",
            "modified_time": "2026-10-29T13:14:58Z",
            "sha256": "d46ba00abd2866eb86343470a72684d1e72f872b8fb6ec40a847f79c25a117f6",
            "source": "amazon-inspector",
            "versions": [
                "1.0.10"
            ]
        },
        {
            "id": "IN-MAL-2026-021850",
            "import_time": "2026-10-29T13:37:13.216681992Z",
            "modified_time": "2026-10-29T13:16:11Z",
            "sha256": "db89b84ec7a5a4ea5d4b691f969679cf5d6c751f16424813fa420112364c4609",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-021845",
            "import_time": "2026-10-29T13:37:12.950825181Z",
            "modified_time": "2026-10-29T13:15:28Z",
            "sha256": "f7e155559d26176ab3fe3d2725222501818abd6d62d0c3794f655c3a8a0e63ab",
            "source": "amazon-inspector",
            "versions": [
                "1.0.8"
            ]
        },
        {
            "id": "IN-MAL-2026-021887",
            "import_time": "2026-10-29T13:37:15.146675169Z",
            "modified_time": "2026-10-29T13:20:52Z",
            "sha256": "477d83bf58b21f956f86f1ce6efab24a8ab42329a6c9d5863f6b51907c32d2dc",
            "source": "amazon-inspector",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-021903",
            "import_time": "2026-10-29T13:37:15.969246388Z",
            "modified_time": "2026-10-29T13:23:06Z",
            "sha256": "64cee7777c5ac02f322da339322fe9981824e1a1c955abb2d660ebe6d7907fef",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021842",
            "import_time": "2026-10-29T13:37:12.769283136Z",
            "modified_time": "2026-10-29T13:15:05Z",
            "sha256": "c2f431ce3ff86a3115a27320de07d3d68a8fb44d8ebd8b3b5a23baa07285f971",
            "source": "amazon-inspector",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "id": "IN-MAL-2026-021836",
            "import_time": "2026-10-29T13:37:12.451325197Z",
            "modified_time": "2026-10-29T13:14:10Z",
            "sha256": "4fc1df1e808600d2c0685bce837cbc9066c471887779c89dd403c16199a770f6",
            "source": "amazon-inspector",
            "versions": [
                "1.0.12"
            ]
        },
        {
            "id": "IN-MAL-2026-021846",
            "import_time": "2026-10-29T13:37:12.978274911Z",
            "modified_time": "2026-10-29T13:15:37Z",
            "sha256": "60a6f5b287b9fe355ea5e9207c825187d6ff5640924e7f010574e9460520cbca",
            "source": "amazon-inspector",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "id": "IN-MAL-2026-022243",
            "import_time": "2026-10-29T14:14:37.103811843Z",
            "modified_time": "2026-10-29T14:07:39Z",
            "sha256": "20c31530d82900d00352cddc14d275c27896c94a2c18fbd179942c30f8c839ad",
            "source": "amazon-inspector",
            "versions": [
                "1.0.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @decoopus/claude-setup

Package

Name
@decoopus/claude-setup
View open source insights on deps.dev
Purl
pkg:npm/%40decoopus/claude-setup

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13

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"
    },
    {
        "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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "bin/cli.js",
            "sha256": "59ee79806e742fca4897ed648d9176fc11022b65c1e14f595867cd966d90fc96",
            "tlsh": "c5e2b74f0efb11211af6f478ea8f5407e61785a3220de9187eec12581f4662598bf7bc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@decoopus/claude-setup/MAL-2026-18054.json"