MAL-2026-12393

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/invest-module-cookie/MAL-2026-12393.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12393
Published
2026-08-05T12:32:28Z
Modified
2026-08-05T13:35:32.811840846Z
Summary
Malicious code in invest-module-cookie (npm)
Details

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

Source: amazon-inspector (6c3f53c4d50d2dedd530c65015b26a902950e6e2bbef3cda3560a661d4aad178)

On require('invest-module-cookie'), index.js loads _adapter.js which selects an OS-specific asset path, downloads an opaque binary from one of three obfuscated *.workers.dev hosts (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT covert-channel fallback that base64-reassembles chunks from *.dl.well1.site (tin/tina/ldr/win subdomains), writes the payload to /var/tmp or %TEMP% under a disguised name, chmods it 0755, and detaches-spawns it via /bin/sh -c or cmd.exe. Destination hostnames are assembled at runtime from split string fragments (e.g. ['oob-worker.cf102-baf.wo','rkers.dev'].join('')) to defeat static host-scanning. The package is advertised as reusable cookie module components, and the fetched binary bears no relationship to that stated purpose; publisher identity does not match any of the hardcoded hosts.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "6c3f53c4d50d2dedd530c65015b26a902950e6e2bbef3cda3560a661d4aad178",
            "source": "amazon-inspector",
            "versions": [
                "20.8.2"
            ],
            "import_time": "2026-08-05T13:08:38.498080062Z",
            "modified_time": "2026-08-05T12:32:28Z",
            "id": "IN-MAL-2026-014697"
        }
    ]
}
References
Credits

Affected packages

npm / invest-module-cookie

Package

Name
invest-module-cookie
View open source insights on deps.dev
Purl
pkg:npm/invest-module-cookie

Affected ranges

Affected versions

20.*
20.8.2

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "73a91026c233938625a78af99957d408b73f8b90",
                "sha512_sri": "sha512-RlunQ40rgCTERmAyoT7iMzNCS9E6SV31KSN3O4+kNwLpjG3RNqoJbdQsASsXPIcE2SfZAYcLNhA8k3iGwzR/jg=="
            },
            "filename": "invest-module-cookie-20.8.2.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_adapter.js",
            "sha256": "723ee1e1bb51b95d44098da135cdd76e0ca93acbf20e19086299ac4edf5814b7",
            "tlsh": "7ea1849a166a70188b70abe1c71b8416fa5bf5a33780c2c0f75c98845f7212483b2efc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/invest-module-cookie/MAL-2026-12393.json"