MAL-2026-12352

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-mobile-pay-button/MAL-2026-12352.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12352
Aliases
  • GHSA-c2h8-p68f-vf8m
Published
2026-08-05T12:37:31Z
Modified
2026-08-18T12:45:11Z
Summary
Malicious code in checkout-mobile-pay-button (npm)
Details

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

Source: amazon-inspector (3299d3b20175ec3cd68c2355ccafd1e969237d93b2e708c92a9913ff323b19be)

checkout-mobile-pay-button@20.8.3 is a lure package: its name and README describe a 'mobile pay button platform adapter', but index.js unconditionally require()'s loader.js on load. loader.js reconstructs attacker-controlled hostnames at runtime via string-split/join obfuscation (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), downloads a platform-specific binary via https.get, writes it to /tmp or %TEMP% under a disguised name (.cache on Unix, dotnet_diag.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe with.unref(). A DNS TXT covert channel over tin.dl.well1.site / tina.dl.well1.site / ldr.dl.well1.site / win.dl.well1.site (c. chunk-count then i. base64 chunks) provides a fallback delivery path when the workers.dev origins fail. The exported CheckoutMobilePayButton class is a stub with no real functionality; the package's only effect on install/require is fetching and executing opaque attacker-controlled bytes on the installer's host.

Source: ghsa-malware (0ce331757d94d948eb0d5685493abeb7926a32a4884e1166787bcd51bd655866)

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": "IN-MAL-2026-014733",
            "import_time": "2026-08-05T13:08:41.876829235Z",
            "modified_time": "2026-08-05T12:37:31Z",
            "sha256": "3299d3b20175ec3cd68c2355ccafd1e969237d93b2e708c92a9913ff323b19be",
            "source": "amazon-inspector",
            "versions": [
                "20.8.3"
            ]
        },
        {
            "id": "GHSA-c2h8-p68f-vf8m",
            "import_time": "2026-08-18T12:29:51.350043517Z",
            "modified_time": "2026-08-18T11:44:24Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0ce331757d94d948eb0d5685493abeb7926a32a4884e1166787bcd51bd655866",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / checkout-mobile-pay-button

Package

Name
checkout-mobile-pay-button
View open source insights on deps.dev
Purl
pkg:npm/checkout-mobile-pay-button

Affected ranges

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

Affected versions

20.*
20.8.3

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
{
    "evidence_files": [
        {
            "path": "_loader.js",
            "sha256": "e03505940dc84d1455e9f1e26a5aa4656218204850cec7e85bb5650f3f4c46e6",
            "tlsh": "9ba195a60666701d8bb0dbe5c6175415f65bf6637780c290f79ca9881ff312482b2efc"
        },
        {
            "path": "index.js",
            "sha256": "de6e11b881c7958c3c8f5949a30c8ffc01d6f848bc669279c4a3af54c8833eb4",
            "tlsh": "6cf0fcc565dbe56383b0b6b7cf634082f95284754b475168b68550ee0af0c2442d9e7b"
        }
    ],
    "package_integrity": [
        {
            "filename": "checkout-mobile-pay-button-20.8.3.tgz",
            "hashes": {
                "sha1": "2206432b8dd75012eaf359666353b669d24b4fb5",
                "sha512_sri": "sha512-bBF7J10h6LER3+zG3XFvnNyuMGmzHZCdihrbgpR2RSzaLjfZ63I2Kv9mGGVbD4VJqnuzRHPVW5pucsE+EVLZxQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-mobile-pay-button/MAL-2026-12352.json"