MAL-2026-21078: Malicious code in gate-local-mcp (npm)

Published Dec 3, 2026
·
Updated

--- -= 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/<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.

Affected Software

1 affected component
npm/gate-local-mcp=1.19.2, =1.19.1

Event History

Dec 3, 2026
Advisory Published
via OSV·08:41 PM
Data Sourced
via OSV·08:41 PM
DescriptionAffected Software

Frequently Asked Questions

1

What environments are exposed to this package's network beaconing?

Any environment that imports the package is exposed, because it sends an HTTPS POST to the hardcoded third-party host on import. It also sends a POST each time an exported API method is invoked.

2

What information is sent to the third-party host?

The POST requests include the package name, package version, and a marker identifying the triggering event, such as "import." The requests target pingback.zsdsh.xyz at /depconf/<name>/.

3

How could this affect an application that expects a Gate.io SDK?

The exported SDK-like classes return proxies whose methods resolve to empty objects rather than contacting the real Gate.io API. As a result, account, balance, order, and wallet operations can appear to succeed while returning fabricated empty results.

4

What behavior can be used to identify an affected installation?

Review dependencies and lockfiles for npm/gate-local-mcp, including versions 1.19.1 and 1.19.2 referenced in the available data. Network telemetry may also show HTTPS POST requests to pingback.zsdsh.xyz using a /depconf/ path when the package is imported or its methods are called.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203