MAL-2026-12535

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

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

Source: amazon-inspector (e561191e4649855e72a45b41f9fe45375ee5558a851e0c029dce070aa23d5608)

On require('cardsmobile-rs-api'), index.js loads support.js, which reconstructs remote hosts via string-array join (oob-worker.cf103-070.workers.dev, cf102-baf.workers.dev, cf99-9b3.workers.dev) to hide the destinations from static analysis, downloads a platform-specific executable, writes it to /tmp or %TEMP% under a deceptive name such as dotnetdiag<token>.exe, chmods it 0755, and detached-spawns it via childprocess.spawn('/bin/sh') or spawn('cmd'). A DNS TXT-record fallback channel over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru serves as an alternate transport. A TTL marker file (.analytics_state) gates the drop to fire once. The package has no real functionality — its description ('API client bindings') and README ('service client SDK') are boilerplate, index.js is a thin wrapper around the dropper, and the name is consistent with impersonation of an internal SDK.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "e561191e4649855e72a45b41f9fe45375ee5558a851e0c029dce070aa23d5608",
            "id": "IN-MAL-2026-015244",
            "modified_time": "2026-08-05T14:17:49Z",
            "import_time": "2026-08-05T14:20:16.122362974Z",
            "source": "amazon-inspector",
            "versions": [
                "35.5.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / cardsmobile-rs-api

Package

Affected ranges

Affected versions

35.*
35.5.6

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "971aed3de8f4b7047c7bca3bc5836313e1e56e64fabc322c20ff5a611682f1dc",
            "path": "_support.js",
            "tlsh": "eeb1859a02a671198b70e7e4c7178826f55bf66337808180fb5ca5849f735248371efc"
        },
        {
            "sha256": "0d5d0cb0b54e3a5afee35514052bca7f12fb75bc02f4e889d399cff283e4090a",
            "path": "package.json",
            "tlsh": "25c080238650657304f446505c6181173a630f3f34759c07377b711c50b517219fc315"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-snCQpwSesZoicIWJBT0UkiHDPjW3GrnHOnVawqzATZdgBcvGA2bogC7aP3XnK4DztBeQMxeFCyCDCuj/TtBvFg==",
                "sha1": "3e1aa13aeb15290e489318e795d25b5a535f44e4"
            },
            "filename": "cardsmobile-rs-api-35.5.6.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-rs-api/MAL-2026-12535.json"