MAL-2026-12531

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cardsmobile-data-utils/MAL-2026-12531.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12531
Published
2026-08-05T14:17:21Z
Modified
2026-08-05T14:35:02Z
Summary
Malicious code in cardsmobile-data-utils (npm)
Details

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

Source: amazon-inspector (a5f06952752248dcbd4411398f97014f1fd133db0cb66bfeb2b7121a4f974feb)

On require() of cardsmobile-data-utils, index.js loads./vendor.js, which downloads a platform-specific native executable over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT chunked fallback to *.dl.wel1.ru, writes it under /var/tmp or %TEMP% with a randomized name, chmods it 0755 on Unix, and spawns it detached via /bin/sh -c or cmd. No hash or signature verification is performed and the destinations are unrelated to the package's advertised 'helper methods' purpose. Hostnames and sensitive API names are assembled from split string fragments (['oob-wor','ker.cf101-a','df','.workers.','dev'].join(''), 'child'+'process', fs['chmod'+'Sync']) to evade static inspection. A second copy of the download-write-chmod-spawn chain is shipped in lib/telemetry.js (~81 KB) disguised as an APM/telemetry SDK, with base64-decoded payload buffering and the same detached shell spawn, providing a redundant staged payload in the tarball.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015241",
            "import_time": "2026-08-05T14:20:15.867080114Z",
            "modified_time": "2026-08-05T14:17:21Z",
            "sha256": "a5f06952752248dcbd4411398f97014f1fd133db0cb66bfeb2b7121a4f974feb",
            "source": "amazon-inspector",
            "versions": [
                "35.6.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / cardsmobile-data-utils

Package

Name
cardsmobile-data-utils
View open source insights on deps.dev
Purl
pkg:npm/cardsmobile-data-utils

Affected ranges

Affected versions

35.*
35.6.2

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_vendor.js",
            "sha256": "bcf5fc736be085b42a47aa881b9a29d9149d9db29d4e412e3ec7b149faaafec3",
            "tlsh": "56a1979612aa71184bb09be4c71b4415f65bf66337c0c2d4fbaca5d85f7212482b2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "fdc3f7b34f0a9a0468a98d41e6f1084cde7e8885ac229c422739d610d6040ce4",
            "tlsh": "08835055566a242186b2b378df234107ff3685272642429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "filename": "cardsmobile-data-utils-35.6.2.tgz",
            "hashes": {
                "sha1": "3303f839f1be87f038066998d7aa83927cc107a4",
                "sha512_sri": "sha512-Q5QgKAqB4AxeiijJ08qxQsageHBDrmZmVEDEWJu6CpOsGbNvvVZvYTSqG8+RcPfKBQGuEzVQ7G2/8UCgGSNyVQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cardsmobile-data-utils/MAL-2026-12531.json"