MAL-2026-6545

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/crossmint-wallets-sdk/MAL-2026-6545.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6545
Aliases
  • GHSA-7rfm-v32j-2583
Published
2026-06-27T03:48:13Z
Modified
2026-06-29T03:31:42.832190615Z
Summary
Malicious code in crossmint-wallets-sdk (npm)
Details

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

Source: amazon-inspector (dd4caebfba35b43bf10f156fe687f455e95b09a514b8644fe1a900b63f1bf78a)

Package name impersonates the Crossmint wallet SDK family. Both preinstall.js and index.js import childprocess, capture host identifiers (hostname is read on line 7/9 respectively), and POST the collected data via https.request to a hardcoded external endpoint (line 12/23). The preinstall.js path fires automatically on npm install before any user code runs, giving the publisher install-time data exfiltration from any developer or build system that installs this package. The combination of childprocess + hostname collection + outbound POST in a preinstall lifecycle script, in a package whose name typosquats a known wallet SDK, matches the active-attack credential/reconnaissance exfiltration fingerprint.

Source: ghsa-malware (87671437bf61440c69244dbb16af87b5f0df48e46b990bf4814be4fdb2001b03)

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": [
        {
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-06-27T03:48:13Z",
            "sha256": "dd4caebfba35b43bf10f156fe687f455e95b09a514b8644fe1a900b63f1bf78a",
            "id": "IN-MAL-2026-007676",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-27T04:49:23.353128949Z"
        },
        {
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-06-29T02:21:20Z",
            "sha256": "87671437bf61440c69244dbb16af87b5f0df48e46b990bf4814be4fdb2001b03",
            "id": "GHSA-7rfm-v32j-2583",
            "source": "ghsa-malware",
            "import_time": "2026-06-29T03:26:14.374551197Z"
        }
    ]
}
References
Credits

Affected packages

npm / crossmint-wallets-sdk

Package

Name
crossmint-wallets-sdk
View open source insights on deps.dev
Purl
pkg:npm/crossmint-wallets-sdk

Affected ranges

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

Affected versions

1.*
1.0.0

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"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "crossmint-wallets-sdk-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-GtgMzc+DkLXPU5M5+pmERNWjP2aTT63smafgfmSRWyk+Y0b3a66OX9+4/lRs3bl0L2dYhI2AVI1Ts8EHIrO6ew==",
                "sha1": "450b4c9ef18e5ed0f610c845d004e3448b8506b5"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "092176e0176b5b7851d7a3d0e91d512275b3f10a6d0320f06dd0aa9b1b9ad303553cf4",
            "sha256": "55699d641b134440aa4eb710479a0d43d32eb8fb9d01ab98480871cb57568867"
        },
        {
            "path": "preinstall.js",
            "tlsh": "b71194f877a9a67502b563e0e4295123b4b3f218200360e0c8e595979b93e702113cf8",
            "sha256": "ed5a8787829d0ba130c744aed9bcb03b6d8b7b183ff71891e60038129756c656"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/crossmint-wallets-sdk/MAL-2026-6545.json"