{"id":"MAL-2026-12388","revision":"444b8f138fde4f33bd5f744e0073162d","records":[{"revision":"444b8f138fde4f33bd5f744e0073162d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12388","aliases":[],"title":"Malicious code in gekko-trading-bot (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8efc19985c853a3f4fdc8bdb1f08b432456b8f55ce701567edbf593fb3e6211c)\nThe 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.\n","state":0,"publishedAt":"2026-08-05T12:56:41+00:00","modifiedAt":"2026-08-05T13:35:30.3571768+00:00","affected":[{"ecosystem":"npm","name":"gekko-trading-bot","ranges":[],"versions":["4.2.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/gekko-trading-bot/v/4.2.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12388","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12388","identifiers":["MAL-2026-12388"]},"retained":false,"historicalAffected":[]}],"coverage":[]}