MAL-2026-12528

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cards-forms-debit-clone/MAL-2026-12528.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12528
Published
2026-08-05T14:18:35Z
Modified
2026-08-05T14:34:59.373608002Z
Summary
Malicious code in cards-forms-debit-clone (npm)
Details

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

Source: amazon-inspector (7cfb99b5f4ad953f445a050a5cb70c26e477398cedef5406fdce1343887a6e38)

On require(), index.js loads shim.js which downloads a platform-specific binary from anonymous *.workers.dev subdomains (hostnames assembled at runtime by joining split string fragments to evade static matching), writes the bytes to /tmp or %TEMP% under disguised names (".cache<hex>" on Unix, "dotnetdiag<hex>.exe" on Windows), chmods 0755, and spawns the binary detached via child_process.spawn("/bin/sh") or spawn("cmd"). If HTTPS retrieval fails, a DNS TXT fallback channel against *.dl.wel1.ru reads a chunk count from c.<domain>, iterates N subdomains to reassemble a base64-encoded payload, and executes the decoded bytes. No signature or hash verification is performed, the fetched content is opaque, and the routine is labeled "telemetry" as a cover story with a nominal opt-out. The behavior fires on any import of the package.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015249",
            "import_time": "2026-08-05T14:20:16.5685452Z",
            "sha256": "7cfb99b5f4ad953f445a050a5cb70c26e477398cedef5406fdce1343887a6e38",
            "modified_time": "2026-08-05T14:18:35Z",
            "versions": [
                "35.2.3"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / cards-forms-debit-clone

Package

Name
cards-forms-debit-clone
View open source insights on deps.dev
Purl
pkg:npm/cards-forms-debit-clone

Affected ranges

Affected versions

35.*
35.2.3

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-xZi0QQi505qRjsCJvoZV5jZh51eUvFC7arYxnsJ2F8dXsjpgl7kvYNcteRFqqqfcM6QEctDL21QwAHcREsMhRQ==",
                "sha1": "64d8d83d9140c42a40a3ff224ed60e464b6c8a15"
            },
            "filename": "cards-forms-debit-clone-35.2.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_shim.js",
            "sha256": "18699570b4392250b79741d5f69f32b5edc75b68c9d7def8b62737e2df65717f",
            "tlsh": "98a1866a16a971184bb0ebe4c7175416f567f653338082d8fb9c65941fb31248372efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cards-forms-debit-clone/MAL-2026-12528.json"