NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

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)

MAL-2026-21078
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall gate-local-mcp

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

2 flagged
1.19.11.19.2

Indicators of compromise (SHA-256)

0165ca2410d6dd37a1c6a6457f050bb8bf3789237dc4b8c2bfd531b3c8e2b8b3
71b05f9bb8c0f785f45837248ee7b03eb4aa7f755c25531b72fb3a3443594481

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for gate-local-mcp (2 malicious versions).

  2. 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.

  3. 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

No. gate-local-mcp on npm has been identified as a malicious package (versions 1.19.1, 1.19.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023230IN-MAL-2026-023229

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.

Explore

gate-local-mcp (npm) malicious package — MAL-2026-21078 | O3 Security