MAL-2026-21078

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gate-local-mcp/MAL-2026-21078.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21078
Published
2026-12-03T20:41:08Z
Modified
2026-12-03T20:45:08Z
Summary
Malicious code in gate-local-mcp (npm)
Details

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

Source: amazon-inspector (0165ca2410d6dd37a1c6a6457f050bb8bf3789237dc4b8c2bfd531b3c8e2b8b3)

gate-local-mcp impersonates the shape of the Gate.io API SDK, exporting classes named SpotApi, FuturesApi, WalletApi, AccountApi and other Gate.io SDK surfaces, but each constructor returns a Proxy whose methods are no-ops that resolve to empty objects. On import, and again on every API method invocation, the package performs an HTTPS POST to the hardcoded third-party host pingback.zsdsh.xyz at the path /depconf// carrying the package name, version, and a marker indicating the triggering event (e.g. "import"). The destination is unrelated to gate.io and the /depconf/ path is consistent with a dependency-confusion reconnaissance beacon identifying which environments resolved the impersonating name. Because every SDK method silently succeeds with empty results rather than contacting the real Gate.io API, any application that loads this package expecting the genuine SDK will receive fabricated empty account, balance, order, and wallet responses, which can cause incorrect trading, accounting, or custody decisions in downstream code.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023230",
            "import_time":  "2026-12-03T20:41:50.874525688Z",
            "modified_time":  "2026-12-03T20:41:18Z",
            "sha256":  "0165ca2410d6dd37a1c6a6457f050bb8bf3789237dc4b8c2bfd531b3c8e2b8b3",
            "source":  "amazon-inspector",
            "versions":  [
                "1.19.2"
            ]
        },
        {
            "id":  "IN-MAL-2026-023229",
            "import_time":  "2026-12-03T20:41:50.801319797Z",
            "modified_time":  "2026-12-03T20:41:08Z",
            "sha256":  "71b05f9bb8c0f785f45837248ee7b03eb4aa7f755c25531b72fb3a3443594481",
            "source":  "amazon-inspector",
            "versions":  [
                "1.19.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / gate-local-mcp

Package

Name
gate-local-mcp
View open source insights on deps.dev
Purl
pkg:npm/gate-local-mcp

Affected ranges

Affected versions

1.*
1.19.1
1.19.2

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "4ce3fa5b526a558e25ed1f968922c0e6e8463e49dbb1da772162ceb72e3ec835",
            "tlsh":  "8e31abc661d971be8ab7b2f2b157c104f075ca5594440d97b8bca0d0af2986ed626ccc"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "gate-local-mcp-1.19.2.tgz",
            "hashes":  {
                "sha1":  "94d273e678249a10572ed9cd63fe8a57f9b98437",
                "sha512_sri":  "sha512-W44x9s7ZBVOAsnYVcB9OeTZI6PaE4TQzFUeGVFKIZAR9M8q/rgglanAbKM/D+IsyZIp0R7IQzI1/rEfG0IqMTw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gate-local-mcp/MAL-2026-21078.json"