{"id":"MAL-2026-21078","summary":"Malicious code in gate-local-mcp (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0165ca2410d6dd37a1c6a6457f050bb8bf3789237dc4b8c2bfd531b3c8e2b8b3)\ngate-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/\u003cname\u003e/ 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.\n","modified":"2026-12-03T20:45:08.799904741Z","published":"2026-12-03T20:41:08Z","database_specific":{"malicious-packages-origins":[{"sha256":"0165ca2410d6dd37a1c6a6457f050bb8bf3789237dc4b8c2bfd531b3c8e2b8b3","source":"amazon-inspector","versions":["1.19.2"],"id":"IN-MAL-2026-023230","import_time":"2026-12-03T20:41:50.874525688Z","modified_time":"2026-12-03T20:41:18Z"},{"source":"amazon-inspector","versions":["1.19.1"],"id":"IN-MAL-2026-023229","import_time":"2026-12-03T20:41:50.801319797Z","modified_time":"2026-12-03T20:41:08Z","sha256":"71b05f9bb8c0f785f45837248ee7b03eb4aa7f755c25531b72fb3a3443594481"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/gate-local-mcp/v/1.19.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gate-local-mcp/v/1.19.1"}],"affected":[{"package":{"name":"gate-local-mcp","ecosystem":"npm","purl":"pkg:npm/gate-local-mcp"},"versions":["1.19.2","1.19.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"gate-local-mcp-1.19.2.tgz","hashes":{"sha1":"94d273e678249a10572ed9cd63fe8a57f9b98437","sha512_sri":"sha512-W44x9s7ZBVOAsnYVcB9OeTZI6PaE4TQzFUeGVFKIZAR9M8q/rgglanAbKM/D+IsyZIp0R7IQzI1/rEfG0IqMTw=="}}],"evidence_files":[{"path":"index.js","sha256":"4ce3fa5b526a558e25ed1f968922c0e6e8463e49dbb1da772162ceb72e3ec835","tlsh":"8e31abc661d971be8ab7b2f2b157c104f075ca5594440d97b8bca0d0af2986ed626ccc"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gate-local-mcp/MAL-2026-21078.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}