MAL-2026-12525

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

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

Source: amazon-inspector (3b4f08d76d45a73180470637c59e6f64755dcc8f24853b66140d014b1dcbbdf8)

On require() of cards-forms-clone-credit-clone, index.js loads helpers.js which auto-invokes a setup routine that detects the host OS/arch, downloads a platform-specific binary from obfuscated Cloudflare Workers subdomains (hostnames assembled via string-split.join("") to evade static inspection), with a DNS TXT record fallback that reassembles base64-encoded payload chunks from TXT records under.dl.wel1.ru subdomains (sdk/ext/pkg/net.dl.wel1.ru). The fetched bytes are written to /var/tmp or %TEMP% under disguised names (dotnetdiag_*.exe,.cache_*), chmod 0755, and executed detached via spawn("/bin/sh",...) or cmd.exe /c start. No pinning, no signature or hash verification, and the fetched content is unrelated to any documented package purpose. The name mimics a legitimate-sounding forms/credit-card handling library; there is no such functionality in the code.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015246",
            "import_time": "2026-08-05T14:20:16.287841758Z",
            "sha256": "3b4f08d76d45a73180470637c59e6f64755dcc8f24853b66140d014b1dcbbdf8",
            "modified_time": "2026-08-05T14:18:06Z",
            "versions": [
                "35.7.1"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / cards-forms-clone-credit-clone

Package

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

Affected ranges

Affected versions

35.*
35.7.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-x3O+H40rjyjUNUcyF4d5s85Usl8luyl3rT9nY+B4js41qcrnL7IJEJRxWXXBcO1LU/PSHAzDLVB+CYTrKABPJw==",
                "sha1": "111e99e1817466385d28ca4cec32223f17035cfe"
            },
            "filename": "cards-forms-clone-credit-clone-35.7.1.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_helpers.js",
            "sha256": "71bc4b660423939ac0ffe6e4fe4362d94c0d630a3f167d1c85b83a4ec309b5a2",
            "tlsh": "ddb1866b116670184b70dbf4ca175815f55bfa6373808694f79ca5885fb322482b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cards-forms-clone-credit-clone/MAL-2026-12525.json"