MAL-2026-12346

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cardsmobile-collection/MAL-2026-12346.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12346
Aliases
  • GHSA-fxx6-fp3j-7pcc
Published
2026-08-05T12:38:31Z
Modified
2026-08-06T01:20:23.170152428Z
Summary
Malicious code in cardsmobile-collection (npm)
Details

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

Source: amazon-inspector (103c6f5e66de4d466d79c8a4247f46670fad0de2601a93f37fa6280c5491cc41)

On require() of the package,./runtime.js runs a top-level setup() that downloads a platform-specific binary from string-concatenated hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback that reconstructs the payload from base64 TXT records served by tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site. The fetched bytes are written to /var/tmp/.cache<hex> on Unix or %TEMP%/dotnetdiag<hex>.exe on Windows, chmodded 0755, and spawned detached via childprocess (spawn('/bin/sh',...) / spawn('cmd',...)). Destination hosts and the childprocess module name are assembled at runtime via array-join concatenation (['tin.dl.well','1.site'].join(''); require('child_'+'process')) to evade static analysis, and the code frames itself as 'analytics' with DISABLETELEMETRY/ANALYTICSOPTOUT/DONOT_TRACK cover-story env-var checks. A sibling module lib/telemetry.js ships the same fetch-write-chmod-spawn primitives as a dormant duplicate. The dropped binary is opaque and unrelated to the package's stated 'native bridge' purpose; the fetched hostnames are not the package's publisher infrastructure.

Source: ghsa-malware (15aeb34fd00956a381cfd277903462f169170709acd01bb64b68896b4303e81b)

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-05T12:38:31Z",
            "sha256": "103c6f5e66de4d466d79c8a4247f46670fad0de2601a93f37fa6280c5491cc41",
            "id": "IN-MAL-2026-014740",
            "versions": [
                "20.4.6"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-05T13:08:42.471693645Z"
        },
        {
            "modified_time": "2026-08-05T18:51:39Z",
            "sha256": "15aeb34fd00956a381cfd277903462f169170709acd01bb64b68896b4303e81b",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-fxx6-fp3j-7pcc",
            "source": "ghsa-malware",
            "import_time": "2026-08-06T00:58:53.36851253Z"
        }
    ]
}
References
Credits

Affected packages

npm / cardsmobile-collection

Package

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

Affected ranges

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

Affected versions

20.*
20.4.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": [
        {
            "tlsh": "c2a188aa167630194bb0dbe4c7174816fa5be6537380c2d4fb9ca9945f721288372efc",
            "sha256": "718d9698ae8bdc2dcc16e3816817530ba522c140aab9b6c34d36bcac1bd3f133",
            "path": "_runtime.js"
        },
        {
            "tlsh": "17835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "b6996cfb961a7f7604e914d29764fcb1d9f6b2b404ebd66060d29938b30ae62e",
            "path": "lib/telemetry.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "cardsmobile-collection-20.4.6.tgz",
            "hashes": {
                "sha512_sri": "sha512-jqHAROTt7ktqukLkd1bzngCqqga/D2JuOu7iwl4msyH4jlr+2H5zhiyLA6a/nzXqrrKZEfWD11Gx7z1N5kyFZQ==",
                "sha1": "dbf248e5c9e01060c0e28c908dd14a17eba81b59"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cardsmobile-collection/MAL-2026-12346.json"