MAL-2026-12351

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-common-tokens/MAL-2026-12351.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12351
Aliases
  • GHSA-89gj-h4r8-g8gm
Published
2026-08-05T12:36:29Z
Modified
2026-08-18T12:45:11Z
Summary
Malicious code in checkout-common-tokens (npm)
Details

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

Source: amazon-inspector (fe0e9681cb5e7a197ca8d77ba29e20a4709fa0ff476f2ffb02f935785c6633e0)

On require, index.js loads ext.js which selects a platform-specific payload URL from a rotating list of Cloudflare Workers subdomains (hosts assembled at runtime by joining split string fragments such as ["oob-worker.cf101-adf.workers.d","ev"].join("")), fetches the binary over HTTPS, writes it to /tmp/.cache on Unix or %TEMP%\dotnet_diag_.exe on Windows, chmods 0o755, and spawns it detached via /bin/sh -c or cmd.exe. If the HTTPS fetch fails, ext.js falls back to a DNS-TXT covert channel against *.dl.well1.site: a chunk-count TXT lookup at c. followed by N. TXT queries whose base64-decoded concatenation is written to disk and executed. Staging file names (.cache, dotnet_diag_.exe,.analytics_state) are chosen to mimic legitimate diagnostic/telemetry artifacts, and destination hostnames are string-split obfuscated to defeat static inspection. The fetched payload is opaque, unpinned, unrelated to any documented package purpose, and executed with the installer's privileges immediately on import.

Source: ghsa-malware (63365b713418a63ac55d381e309bd078a837b9059328608cf6c3619faafe6445)

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-014726",
            "import_time": "2026-08-05T13:08:41.260205194Z",
            "modified_time": "2026-08-05T12:36:29Z",
            "sha256": "fe0e9681cb5e7a197ca8d77ba29e20a4709fa0ff476f2ffb02f935785c6633e0",
            "source": "amazon-inspector",
            "versions": [
                "20.1.6"
            ]
        },
        {
            "id": "GHSA-89gj-h4r8-g8gm",
            "import_time": "2026-08-18T12:29:51.349220391Z",
            "modified_time": "2026-08-18T11:40:18Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "63365b713418a63ac55d381e309bd078a837b9059328608cf6c3619faafe6445",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / checkout-common-tokens

Package

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

Affected ranges

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

Affected versions

20.*
20.1.6

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": "_ext.js",
            "sha256": "260655ff4a7da8d705d16582c59b04c7712693b702df3c0743501e4df27ccb0d",
            "tlsh": "15a186aa1166701d4bb0d7e4ca175416f65bf6637380c694fb9ca5884fb322483f2eec"
        }
    ],
    "package_integrity": [
        {
            "filename": "checkout-common-tokens-20.1.6.tgz",
            "hashes": {
                "sha1": "0e2d4bd0b155abe69ddaf66a2c97788fc5a098df",
                "sha512_sri": "sha512-Qb6mnzrOFluSFNiPurpdnLEQ6tCmGT27Vqqn2uDWzbXJiMn6kgYqu5pl2d4AaPajfsAYHy8BNVvPWnJ3537Q1w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-common-tokens/MAL-2026-12351.json"