gate-local-mcpnpm
Advisory published Updated
gate-local-mcp is a confirmed malicious npm package (MAL-2026-21078) that steals credentials and exfiltrates sensitive data (malicious versions 1.19.1, 1.19.2). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in gate-local-mcp (npm)
What this malware does
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/<name>/ 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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for gate-local-mcp (2 malicious versions).
If you installed it — respond
gate-local-mcp is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If gate-local-mcp was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks gate-local-mcp-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.