gate-local-mcp (npm) · Malicious Code
Affects gate-local-mcpSource GCVE Database
Malicious package : remove gate-local-mcp and rotate any secrets on hosts that installed it.
Data as of 4 Dec 2026, 00:03 UTC
Malicious package
Published to npm · OSV MAL-2026-21078
What to do
Remove gate-local-mcp from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmgate-local-mcp | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The gate-local-mcp npm package is a malicious impersonation of the Gate.io API SDK. It exports classes mimicking the genuine SDK but returns no-op proxies that yield empty results. The package sends HTTPS POST requests to a hardcoded third-party server to report usage, enabling dependency-confusion reconnaissance. Applications using this package expecting real API responses will receive fabricated empty data, potentially causing incorrect trading, accounting, or custody decisions.