MAL-2026-12666

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/crypto-checkout-api/MAL-2026-12666.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12666
Aliases
  • GHSA-cg47-54wp-xjp9
Published
2026-08-05T13:14:10Z
Modified
2026-08-06T01:20:23.393592727Z
Summary
Malicious code in crypto-checkout-api (npm)
Details

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

Source: amazon-inspector (b15806df14aa955b2d5e08414d4f22ad71a9d1ac823aa7557e8f9d490d78761d)

index.js exports getPlugin() which issues an HTTPS request to a hardcoded bare-IP endpoint at https://46.183.25.232:45000/icons/112 and passes the response field data.credits to new Function('require','module',...,data.credits), executing attacker-controlled JavaScript with require, process, and Buffer injected. The request is framed with cover-story naming (a font-awesome/CDN path fragment and a 'bearrtoken: logo' header) that is unrelated to the actual bare-IP destination and inconsistent with the package's stated 'crypto checkout' purpose. Declared dependencies (@primno/dpapi for Windows DPAPI unwrap, node-machine-id, better-sqlite3) are consistent with a credential/wallet-stealer payload delivered through the loader.

Source: ghsa-malware (36320c265cebe6479c4c4d438a043d4c38fb14b9e02bd8f97130c557b19a2b2c)

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": [
        {
            "modified_time": "2026-08-05T13:14:10Z",
            "id": "IN-MAL-2026-014936",
            "import_time": "2026-08-05T14:19:44.60241727Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "sha256": "b15806df14aa955b2d5e08414d4f22ad71a9d1ac823aa7557e8f9d490d78761d"
        },
        {
            "modified_time": "2026-08-05T13:20:17Z",
            "id": "GHSA-cg47-54wp-xjp9",
            "import_time": "2026-08-06T00:58:53.35195903Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "36320c265cebe6479c4c4d438a043d4c38fb14b9e02bd8f97130c557b19a2b2c"
        }
    ]
}
References
Credits

Affected packages

npm / crypto-checkout-api

Package

Name
crypto-checkout-api
View open source insights on deps.dev
Purl
pkg:npm/crypto-checkout-api

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",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "crypto-checkout-api-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-m5Sn+KDxzI68C2i1WduQ4OzLQbXTH6KWCoE/nFDQt4NRDzx8VpqkTrxeHVU2/KJDzTd8zNpm0LyDErdHtD/SBA==",
                "sha1": "8a9acebc0fda128c86f9e84190924161439df90e"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "c5c1616546fa31a36a67e4edf30f10027165e313365de971f48e42902fca568e5f24e8",
            "sha256": "188c4e6aa15a64951ca08a1241163937e75b1a78b57fcda2720a4d38ef21b7fd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/crypto-checkout-api/MAL-2026-12666.json"