MAL-2026-12388

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gekko-trading-bot/MAL-2026-12388.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12388
Published
2026-08-05T12:56:41Z
Modified
2026-08-05T13:35:30.357176841Z
Summary
Malicious code in gekko-trading-bot (npm)
Details

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

Source: amazon-inspector (8efc19985c853a3f4fdc8bdb1f08b432456b8f55ce701567edbf593fb3e6211c)

The package's postinstall hook runs setup.js, which unconditionally downloads core.exe from the hardcoded Cloudflare Workers subdomain c2-proxy.metamasksvc.workers.dev and writes it to ~/.gekko/gekko.exe on Windows installers. The host is name-spoofed to resemble MetaMask, is not affiliated with MetaMask, and is explicitly labeled c2-proxy in a variable name in the code. There is no version pinning, no hash or signature verification, and the fetched binary is unrelated to the package's stated trading-bot purpose. The package metadata impersonates the well-known open-source Gekko crypto trading bot while pointing to an unrelated repository at github.com/0xWelsh/gekko, so users searching for the legitimate project receive the trojanized clone. Installing this package on Windows results in an opaque attacker-controlled binary being staged in the user's home directory at install time.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T12:56:41Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014818",
            "import_time": "2026-08-05T13:08:48.830667038Z",
            "sha256": "8efc19985c853a3f4fdc8bdb1f08b432456b8f55ce701567edbf593fb3e6211c",
            "versions": [
                "4.2.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / gekko-trading-bot

Package

Affected ranges

Affected versions

4.*
4.2.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "gekko-trading-bot-4.2.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-rHSx9Dr7UBn8s94rBKA3M3l9RB+4nTJcRsjgpyNCICLlJgfU2cJZEfzYBEqO+d46gk3IYqsN4p+4zdH9Hm82dw==",
                "sha1": "32de201d43597eef65ff0071dd92325943d95e86"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "b64122db07f7b12191b771ec978f550aa4138113310ad958fabc4701bf812689a66e69",
            "sha256": "6f809d8a5d0e10285f3d58216c03ba7d2aeb8459cfda40d61e4ef45843e94d6c",
            "path": "setup.js"
        },
        {
            "tlsh": "6701cb20a830aa632acc1dc47d76220679355a071294bc2e23db113c9bdd2b258fec5e",
            "sha256": "6b0648df4d4d642edbe98668862178375b7f764d266c239e9c8d0cb981ce9fd2",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gekko-trading-bot/MAL-2026-12388.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]