MAL-2026-12532

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cardsmobile-event-emitter/MAL-2026-12532.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12532
Published
2026-08-05T14:16:30Z
Modified
2026-08-05T14:35:03.267604735Z
Summary
Malicious code in cardsmobile-event-emitter (npm)
Details

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

Source: amazon-inspector (66db77fd91ad9316ea06a13f10281595e60cf846e89787bcbb793d061cdd1315)

On require of cardsmobile-event-emitter, index.js unconditionally loads loader.js, which fetches an opaque platform-specific binary over HTTPS from runtime-concatenated Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS TXT fallback channel across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /tmp (Unix) or %TEMP% (Windows) under a disguised name such as.cache<hex> or dotnetdiag<hex>.exe, chmod 0755'd, and spawned detached via /bin/sh -c or cmd /c start /b. Destination hostnames are assembled via array-join string splits to evade static analysis, and the DNS-TXT channel reassembles base64-encoded TXT records into an alternate payload path. The package's stated 'event emitter' purpose is unrelated to the download-and-execute behavior; there is no version pinning and no hash or signature verification of the fetched binary. A second full copy of the dropper (lib/telemetry.js, ~81KB) ships in the tarball with the same fetch/spawn shape.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "66db77fd91ad9316ea06a13f10281595e60cf846e89787bcbb793d061cdd1315",
            "id": "IN-MAL-2026-015235",
            "modified_time": "2026-08-05T14:16:30Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:15.371041607Z",
            "versions": [
                "35.2.8"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / cardsmobile-event-emitter

Package

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

Affected ranges

Affected versions

35.*
35.2.8

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "1323066f5a7d83d4eea0b2b5b1208ef1f8a4f0445201ac0c2ce9478c82e56f3c",
            "path": "_loader.js",
            "tlsh": "77b1865a166a701d8bb0abe5c7175415f66af26333808294f75ca9881fb312883b2dfc"
        },
        {
            "sha256": "e0cdc9b9ca6de1a4055e63c09879679922760f7d99f895afe4dae8c022c79510",
            "path": "lib/telemetry.js",
            "tlsh": "21835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-PnPJgNr05ykte6qS4OQE5t4xk5aVetlXwZtP7YecrssoXyNl9cAf9Dv9ylDzxNWjeiXBxZYlogc8IfUcO5cnfw==",
                "sha1": "902ba4eba16d89272374408579eb36d6493015d6"
            },
            "filename": "cardsmobile-event-emitter-35.2.8.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cardsmobile-event-emitter/MAL-2026-12532.json"