Malicious code in gekko-trading-bot (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12388
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8efc19985c853a3f4fdc8bdb1f08b432456b8f55ce701567edbf593fb3e6211c) The package's postinstall hook runs setup.js, which unconditionally downloads core.exe from the hardcoded Cloudflare Workers subdomain c2-proxy.metamasksvc.workers.dev and writes it to ~/.gekko/gekko.exe on Windows installers. The host is name-spoofed to resemble MetaMask, is not affiliated with MetaMask, and is explicitly labeled c2-proxy in a variable name in the code. There is no version pinning, no hash or signature verification, and the fetched binary is unrelated to the package's stated trading-bot purpose. The package metadata impersonates the well-known open-source Gekko crypto trading bot while pointing to an unrelated repository at github.com/0xWelsh/gekko, so users searching for the legitimate project receive the trojanized clone. Installing this package on Windows results in an opaque attacker-controlled binary being staged in the user's home directory at install time.
- Source published
- 5 Aug 2026 12:56:41 UTC
- Source modified
- 5 Aug 2026 13:35:30 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.