MAL-2026-5717

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claudechor/MAL-2026-5717.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5717
Aliases
  • GHSA-w7p9-gpj5-p2pw
Published
2026-06-12T20:57:29Z
Modified
2026-08-18T21:15:12.551326743Z
Summary
Malicious code in claudechor (npm)
Details

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

Source: amazon-inspector (4a9cbb36cf7ed82685830b5d3a2b341bff9ef86e2688842d1f54259b2b6fb533)

The 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.

Source: ghsa-malware (e316ad277e7060681095bbb711706304d444bdb3dd411264c8b783b6cf063427)

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": [
        {
            "import_time": "2026-06-12T21:38:19.123536517Z",
            "sha256": "2f3e2adf26b9818ea4bc994cb5c97968b857e93cb14bb41cd51a282f661f50f4",
            "modified_time": "2026-06-12T20:57:39Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006242",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "import_time": "2026-06-12T21:38:19.08733975Z",
            "sha256": "63afdbd3ab1c6154fc3fc44411d414f1b86ff93b93b51f4e6d58e543a360c3ce",
            "modified_time": "2026-06-12T20:57:35Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006241",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "import_time": "2026-06-12T21:38:19.052956284Z",
            "sha256": "b287ba5c7aa29a347b3076df079ccc9243a83e42d8e920d6448965078fbbc18b",
            "modified_time": "2026-06-12T20:57:33Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006240",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "import_time": "2026-06-12T21:38:18.982941482Z",
            "sha256": "d756d247f56c9b24b6f651f544620388c87e46647cc96929cd601347af2ea152",
            "modified_time": "2026-06-12T20:57:29Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006238",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "import_time": "2026-06-12T21:38:19.021694229Z",
            "sha256": "4a9cbb36cf7ed82685830b5d3a2b341bff9ef86e2688842d1f54259b2b6fb533",
            "modified_time": "2026-06-12T20:57:32Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006239",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "import_time": "2026-08-18T16:29:04.476770464Z",
            "sha256": "e316ad277e7060681095bbb711706304d444bdb3dd411264c8b783b6cf063427",
            "modified_time": "2026-08-18T15:38:33Z",
            "source": "ghsa-malware",
            "id": "GHSA-w7p9-gpj5-p2pw",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ]
        },
        {
            "import_time": "2026-08-18T21:10:28.110312726Z",
            "sha256": "a48415d3292c12342810126f207d8f5563c5e68b0851fc0dd1463a67d201e757",
            "modified_time": "2026-08-18T21:03:02Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018007",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / claudechor

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown 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

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claudechor/MAL-2026-5717.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "b92623249f27a0a653cbd5a714f513d29bdd49a38767d766048d911c5e8f5075",
            "tlsh": "3ec181722df5623132f3d1ee592788272545fa12760ad880f28c71892fed8a8c553efd",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "claudechor-1.0.5.tgz",
            "hashes": {
                "sha1": "166523532cc4196ccd00f8204310f6d9c22eea72",
                "sha512_sri": "sha512-jiRON7JDvBZGJIbFjqBsUxKuWdGhGGR/ubq+QnlMU76qR0zLpiDXwc0ruXyWbV/BqRN2kd4d8sW4koKYWmPsGg=="
            }
        }
    ]
}
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",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "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."
    }
]