MAL-2026-6260

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/free-anthropic-claude/MAL-2026-6260.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6260
Aliases
  • GHSA-3h58-8ch3-mgp3
Published
2026-06-20T18:47:32Z
Modified
2026-06-22T18:46:24.352604371Z
Summary
Malicious code in free-anthropic-claude (npm)
Details

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

Source: amazon-inspector (11bfe96b56a6615a50639b25de793e14044ea393c2029b26fa4e1b9e3dc5a22f)

This package impersonates the Anthropic Claude SDK (name and description claim to be an 'Official Anthropic Claude SDK wrapper', author is 'anthropic-tools') but ships a multi-stage dropper. The package.json declares postinstall: node lib/cli.js, which auto-executes on npm install and runs the following chain in lib/index.js:

  1. Hardcoded C2 over bare IPs: POSTs to four hardcoded IP addresses (107.189.20.82, 107.189.20.146, 104.194.134.33, 104.194.133.89) reconstructed from integer arrays, with TLS verification disabled (rejectUnauthorized:false). The JSON response is base64-decoded and written to disk as main.py, then executed via a detached Python process.
  2. Alternate-runtime dropper: if the host lacks a usable Python, the installer downloads Miniconda from repo.anaconda.com via curl/wget into ~/.local/share/prometheus/miniconda (Linux), runs winget install Python.Python.3.12 (Windows), or brew install python3 (macOS) — installing an entire Python distribution solely to run the C2-supplied payload.
  3. macOS privacy bypass: on Darwin, sqlite3-INSERTs rows into ~/Library/Application Support/com.apple.TCC/TCC.db granting kTCCServiceSystemPolicySysAdminFiles / SystemPolicyAppData to Terminal, the running node binary, and /usr/bin/python3 — subverting TCC so the dropped payload has broad filesystem access without user consent.
  4. Crypto-wallet stealer toolchain: pip-installs bip-utils, mnemonic, pycryptodome, psutil, eth-account with --break-system-packages, the canonical libraries for BIP39 seed-phrase parsing, BIP32 derivation, and Ethereum private-key handling.
  5. Persistence: writes a .cs_v2 marker and main.py under disguised paths impersonating system directories (~/.local/share/com.apple.sync on macOS, ~/.local/share/prometheus on Linux, %LOCALAPPDATA%\Microsoft\Windows Security\Health on Windows). Subsequent require() of the package re-spawns the detached Python payload.
  6. Pervasive string-split obfuscation: module names and API calls are reconstructed via ['x','y'].join('') (['htt','ps'], ['child','_pro','cess'], ['exec','Sync'], ['spa','wn'], ['ba','se','64'], module['constr'+'uctor']['_l'+'oad']) to evade static analysis.

The README is for an unrelated 'cachesync-helper' package, further confirming the lure-and-impersonation pattern.

Source: ghsa-malware (f1e490682c8dd38fd97c90b365eacf71086d64b57af905f96e58490ec35d5e6c)

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.

Source: ossf-package-analysis (01d5845e6a8ba2bca29e99aaed593e5c7616c9ff89eb32d3d319dd65cf1839b0)

The OpenSSF Package Analysis project identified 'free-anthropic-claude' @ 5.0.0 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-06-22T12:33:24.795465911Z",
            "versions": [
                "5.0.0"
            ],
            "modified_time": "2026-06-20T18:47:32Z",
            "sha256": "01d5845e6a8ba2bca29e99aaed593e5c7616c9ff89eb32d3d319dd65cf1839b0"
        },
        {
            "sha256": "0e3dad592504bc63710bbb89f27b8bd8d8759416b0b36aa456212150da9ee96f",
            "import_time": "2026-06-22T12:33:25.29036601Z",
            "versions": [
                "5.0.4"
            ],
            "modified_time": "2026-06-20T20:14:02Z",
            "source": "ossf-package-analysis"
        },
        {
            "source": "ossf-package-analysis",
            "versions": [
                "5.1.5"
            ],
            "sha256": "0f5e41901a37ad58b62cfef52f5bcf37d5e0cc43bac24a00265c14dd5edd5e93",
            "modified_time": "2026-06-21T01:04:23Z",
            "import_time": "2026-06-22T12:33:26.379797785Z"
        },
        {
            "source": "ossf-package-analysis",
            "versions": [
                "5.2.0"
            ],
            "sha256": "17dc648ff5a235a4385a3b39d586d9312734c154400f8fa92d7504b8ef4f8009",
            "modified_time": "2026-06-21T13:14:29Z",
            "import_time": "2026-06-22T12:33:26.571414329Z"
        },
        {
            "sha256": "46f0c9ae9e0c3f8b3f874a1c83566da728da0560d17bcb7b09f765099174dacc",
            "import_time": "2026-06-22T12:33:25.396554204Z",
            "versions": [
                "5.0.6"
            ],
            "modified_time": "2026-06-20T21:13:16Z",
            "source": "ossf-package-analysis"
        },
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-06-22T12:33:25.122858002Z",
            "versions": [
                "5.0.3"
            ],
            "modified_time": "2026-06-20T19:50:47Z",
            "sha256": "489f730f0c0a8727780c1196d5b1bc8a59f64775516eab74854cd342a5e815f8"
        },
        {
            "source": "ossf-package-analysis",
            "versions": [
                "5.1.3"
            ],
            "sha256": "2e09c0e7ec4edbb3a5c976ff8498e7d651823c9d559bb2ecc9c0a4b39aaa258a",
            "modified_time": "2026-06-20T23:06:52Z",
            "import_time": "2026-06-22T12:33:26.159257594Z"
        },
        {
            "sha256": "8b5a01c5ead2eb7c9f66e75271515467481a20c7ff9e2b75e5e87f4e17fe86c3",
            "import_time": "2026-06-22T12:33:24.91336247Z",
            "versions": [
                "4.7.9"
            ],
            "modified_time": "2026-06-20T18:54:13Z",
            "source": "ossf-package-analysis"
        },
        {
            "source": "ossf-package-analysis",
            "versions": [
                "5.1.2"
            ],
            "sha256": "a8fa49b294cafab3885fba950975b69c4aff7e3f661bf4c13654d838a34f975e",
            "modified_time": "2026-06-20T22:37:09Z",
            "import_time": "2026-06-22T12:33:25.938734357Z"
        },
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-06-22T12:33:25.497868716Z",
            "versions": [
                "5.0.7"
            ],
            "modified_time": "2026-06-20T21:17:06Z",
            "sha256": "9761f8260975a33cd0b2953aefd0f4866a979bb7b86d53f87e9cc8b7bdb41775"
        },
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-06-22T12:33:25.605405092Z",
            "versions": [
                "5.0.8"
            ],
            "modified_time": "2026-06-20T21:44:14Z",
            "sha256": "ad8218b180c55dd56af28f64835e93dc046faf037c3797eda71e0766bb4e8d31"
        },
        {
            "sha256": "10aaf93eb627220a6835ab2b099323ffe23a943e45b43c8c743841d7a3438d23",
            "import_time": "2026-06-22T12:33:26.462941485Z",
            "versions": [
                "5.1.6"
            ],
            "modified_time": "2026-06-21T01:14:14Z",
            "source": "ossf-package-analysis"
        },
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-06-22T12:33:25.70174653Z",
            "sha256": "3d8f71589ebe4a3612173a3eecb6f25c357ba10ec70370c6e82622ceee3a9e15",
            "modified_time": "2026-06-20T22:04:16Z",
            "versions": [
                "5.0.9"
            ]
        },
        {
            "source": "ossf-package-analysis",
            "import_time": "2026-06-22T12:33:25.788006685Z",
            "sha256": "45ac0c1ea4dd642c5d0fe399130f0eb176e283fcfc436c5f3874ba65688185df",
            "modified_time": "2026-06-20T22:14:07Z",
            "versions": [
                "5.1.0"
            ]
        },
        {
            "sha256": "df407d9d901a27dede614fa677af0fd3292afec30de7a1bb5fcd7c390e9f94de",
            "import_time": "2026-06-22T12:33:26.270235627Z",
            "versions": [
                "5.1.4"
            ],
            "modified_time": "2026-06-20T23:09:09Z",
            "source": "ossf-package-analysis"
        },
        {
            "source": "ossf-package-analysis",
            "versions": [
                "5.0.1"
            ],
            "sha256": "c7472d6af491ce5cec3906aab00cb2c31623cc46c4302cabe706e57cbbf588c5",
            "modified_time": "2026-06-20T19:23:07Z",
            "import_time": "2026-06-22T12:33:25.012680141Z"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.1.6"
            ],
            "sha256": "2ad88c4fd6e9ca28a5194fdb21e56fed30e22cef6698cb197930370b14652427",
            "modified_time": "2026-06-22T16:48:53Z",
            "id": "IN-MAL-2026-007115",
            "import_time": "2026-06-22T18:25:25.617431913Z"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.0.9"
            ],
            "sha256": "7a9697ec23f824bc0bae8a1a3232780e3a711d1ffba36ff1bd3689a7769d29cc",
            "modified_time": "2026-06-22T16:48:59Z",
            "import_time": "2026-06-22T18:25:26.449678524Z",
            "id": "IN-MAL-2026-007122"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ],
            "sha256": "86f239c8bb1f9778c21aec90ad9fabd42438a3d9aa02023f71b578a224566282",
            "modified_time": "2026-06-22T16:49:09Z",
            "import_time": "2026-06-22T18:25:27.641311909Z",
            "id": "IN-MAL-2026-007135"
        },
        {
            "sha256": "9593f28ec6b46272e1c7a57eaba9fe577770995a451936de47fecc7b2120f651",
            "import_time": "2026-06-22T18:25:27.011432249Z",
            "id": "IN-MAL-2026-007128",
            "modified_time": "2026-06-22T16:49:02Z",
            "versions": [
                "5.0.5"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.0.0"
            ],
            "sha256": "b4e0d31f48691733115f0f8a627869cd0e23a14ad254fcfa24f217a45096fffb",
            "modified_time": "2026-06-22T16:49:05Z",
            "import_time": "2026-06-22T18:25:27.259342188Z",
            "id": "IN-MAL-2026-007131"
        },
        {
            "id": "IN-MAL-2026-007134",
            "versions": [
                "4.7.7"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-22T16:49:08Z",
            "sha256": "33e1be1ff9adfbabb5090384919d7c78678062e085896b438029722899bbc4e6",
            "import_time": "2026-06-22T18:25:27.547664935Z"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.3.0"
            ],
            "sha256": "4a0d6dcb9029b29d7d5624f10bfbf583162d716c41920af3d3eac25d23088d17",
            "modified_time": "2026-06-22T16:48:55Z",
            "id": "IN-MAL-2026-007117",
            "import_time": "2026-06-22T18:25:25.809399111Z"
        },
        {
            "id": "IN-MAL-2026-007124",
            "versions": [
                "5.0.8"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-22T16:49:00Z",
            "sha256": "5af6290ac98ba1963e5515db9677f0b725281e1a14c903271d28c50f33cd3f72",
            "import_time": "2026-06-22T18:25:26.651841349Z"
        },
        {
            "id": "IN-MAL-2026-007133",
            "versions": [
                "4.7.9"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-22T16:49:07Z",
            "sha256": "7778d3adf33380f14e67613f660f932c8fdab4aaa3ce2096e14e95c043cc81e8",
            "import_time": "2026-06-22T18:25:27.460781127Z"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.5.0"
            ],
            "sha256": "7c06842ef4209b97801c583d254fd866c7d1966897e2073d5e923b1b11bfe749",
            "modified_time": "2026-06-22T16:48:51Z",
            "import_time": "2026-06-22T18:25:25.483404495Z",
            "id": "IN-MAL-2026-007114"
        },
        {
            "sha256": "e9d1f2cbf92ab992141a9a1192bc70afefc3f09c94550ca985f2c4446fda4996",
            "import_time": "2026-06-22T18:25:26.725252677Z",
            "id": "IN-MAL-2026-007125",
            "modified_time": "2026-06-22T16:49:01Z",
            "versions": [
                "5.0.7"
            ],
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-007119",
            "versions": [
                "5.1.5"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-22T16:48:56Z",
            "sha256": "f1657b6460d2b19b3b6e7b59b4c633f5d2b0e46e4df828f6490601ee8b4549dd",
            "import_time": "2026-06-22T18:25:26.165557845Z"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.0.4"
            ],
            "sha256": "0220e9a9c70f73a4a65b1e01abfb10343499ecfcec7472e1b0792fba8c0863a3",
            "modified_time": "2026-06-22T16:49:04Z",
            "id": "IN-MAL-2026-007130",
            "import_time": "2026-06-22T18:25:27.180261208Z"
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-06-22T18:25:27.099700685Z",
            "sha256": "5fdfdca78930c80580a73d74d366ab98445d7f4f8e005330350bb456a739859a",
            "modified_time": "2026-06-22T16:49:04Z",
            "id": "IN-MAL-2026-007129",
            "versions": [
                "5.0.3"
            ]
        },
        {
            "sha256": "79a5d6efda3af00448daa23c45c1b844be30bd8c331a81798e3d41ecb801b7ec",
            "import_time": "2026-06-22T18:25:26.266651188Z",
            "id": "IN-MAL-2026-007120",
            "modified_time": "2026-06-22T16:48:57Z",
            "versions": [
                "5.1.2"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.0.6"
            ],
            "sha256": "9657b65164b98daf98cd06746074c63957d2d96b01541919308937bde4015f85",
            "modified_time": "2026-06-22T16:49:01Z",
            "import_time": "2026-06-22T18:25:26.800851992Z",
            "id": "IN-MAL-2026-007126"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.1.1"
            ],
            "sha256": "df1216e20aba739766fa6cd1b73f1fc8753920d6f8f82279205d60c207779680",
            "modified_time": "2026-06-22T16:48:58Z",
            "id": "IN-MAL-2026-007121",
            "import_time": "2026-06-22T18:25:26.350428701Z"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.1.3"
            ],
            "sha256": "e1cae3fce9d48dcaa9ce7185e646425af03ad5c3cf0107417087f2177a5326a1",
            "modified_time": "2026-06-22T16:48:59Z",
            "import_time": "2026-06-22T18:25:26.530134685Z",
            "id": "IN-MAL-2026-007123"
        },
        {
            "source": "amazon-inspector",
            "versions": [
                "5.2.0"
            ],
            "sha256": "11bfe96b56a6615a50639b25de793e14044ea393c2029b26fa4e1b9e3dc5a22f",
            "modified_time": "2026-06-22T16:49:01Z",
            "id": "IN-MAL-2026-007127",
            "import_time": "2026-06-22T18:25:26.907141774Z"
        },
        {
            "id": "IN-MAL-2026-007116",
            "versions": [
                "5.1.9"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-22T16:48:54Z",
            "sha256": "54047ff2942e7ebb58b56739d25255dcd31e061d13cd75dad0827b2bb5f25a30",
            "import_time": "2026-06-22T18:25:25.714078236Z"
        },
        {
            "id": "IN-MAL-2026-007132",
            "import_time": "2026-06-22T18:25:27.382995059Z",
            "versions": [
                "5.0.1"
            ],
            "modified_time": "2026-06-22T16:49:06Z",
            "source": "amazon-inspector",
            "sha256": "7a0550857216d9a92885d368adb727f1b0effa87069cc9da1e15a4c206b17e78"
        },
        {
            "sha256": "98e3a39410b4d8e22f45a0b57ae410dfe2af657f88976f2bbd7ffa3e57cc94ea",
            "import_time": "2026-06-22T18:25:25.982732107Z",
            "id": "IN-MAL-2026-007118",
            "modified_time": "2026-06-22T16:48:55Z",
            "versions": [
                "5.1.4"
            ],
            "source": "amazon-inspector"
        },
        {
            "sha256": "f1e490682c8dd38fd97c90b365eacf71086d64b57af905f96e58490ec35d5e6c",
            "import_time": "2026-06-22T18:34:18.06700489Z",
            "id": "GHSA-3h58-8ch3-mgp3",
            "modified_time": "2026-06-22T18:07:02Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / free-anthropic-claude

Package

Name
free-anthropic-claude
View open source insights on deps.dev
Purl
pkg:npm/free-anthropic-claude

Affected ranges

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

Affected versions

1.*
1.0.0
4.*
4.7.7
4.7.9
5.*
5.0.0
5.0.1
5.0.3
5.0.4
5.0.5
5.0.6
5.0.7
5.0.8
5.0.9
5.1.0
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.1.6
5.1.9
5.2.0
5.3.0
5.5.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "free-anthropic-claude-5.1.6.tgz",
            "hashes": {
                "sha512_sri": "sha512-Fi3Q8IpVfKml20xTW/Pmy2ATEBXnVnMb9qL5PR1+InAQVwVnqfmCF/yK34B/6hn3vWyHr1SiL/BF8Q3F8vVCvA==",
                "sha1": "9f79e92c3df1ac972ebb613882f790a12cd5982d"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "d0922d713bfa98eb325f54f1395a000bed3971f197c56caef314d04209eda42c",
            "tlsh": "1f62758262eb20388596f07b1b1b4005b127ff176206d8dc7a6d97dc9f9943452bbafc",
            "path": "lib/index.js"
        },
        {
            "sha256": "267ed6a2bf3cf6c593f886cee5156dab6675fe30dcfaaaf5d547a5f3c27c6043",
            "tlsh": "f6014918d13a1e9376c82f447db61006a270ae4b4a143c59379b422c4f8d23f6dba63e",
            "path": "package.json"
        },
        {
            "sha256": "062e66da6d44572fd4418db480f4febc3a14fd4117719bc8b2259334424f3852",
            "tlsh": "63d0228d6bcdc44e6e4004ab80bb164280e6e031a7806098282a0c3843c09ec35ae4cb",
            "path": "lib/cli.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/free-anthropic-claude/MAL-2026-6260.json"
cwes
[
    {
        "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",
        "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."
    }
]