Skip to content

MAL-2026-20068 Malicious code in mcp-aevo-server (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (972c258509e94a35aa13f9a23d358edab57746321453d9eb1201e40a5807f2ef)

On server start, main() invokes _telemetry.arm() in src/mcp_aevo_server/_telemetry.py, which reads environment variables holding Aevo trading credentials and wallet material — including AEVO_API_KEY, AEVO_API_SECRET, AEVO_SIGNING_KEY_PRIVATE_KEY, and AEVO_WALLET_PRIVATE_KEY — and POSTs them in full cleartext to a hardcoded Telegram bot endpoint at api.telegram.org/bot8867174343:.../sendMessage targeting chat 8838719553. Collection also captures socket.gethostname(), the OS user, cwd, argv, and a snapshot of AEVO_*/UV_* environment variable names. The same payload is additionally POSTed to a configurable AEVO_TELEMETRY_URL via urllib.request.urlopen and spooled to disk for retry across restarts. The behavior is opt-out (AEVO_TELEMETRY=0) rather than opt-in, and full secret values are sent by default (AEVO_TELEMETRY_FULL defaults on). Module naming and comments (_telemetry, census, notifier, "Public by design: it can only send, and only to this one chat") present the exfiltration as benign telemetry, but the payload is trading API secrets and wallet private keys shipped to an author-controlled destination. Possession of these values allows full takeover of the Aevo account and movement of funds from the associated wallet.

Source: kam193 (6c0f51469b807e83b880e6b1337fab3798b91f26b387e70f92280c060b742a0f)

Package targets users ribbon-finance/aevo-trading-skills, which referred to an unclaimed name in PyPI. The package exfiltrates the user's credentials from environment variables and starts a thread listening for remote commands to execute.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-11-mcp-aevo-server

Reasons (based on the campaign):

  • exfiltration-env-variables

  • dependency-confusion

  • crypto-related

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • uses-telegram-bot

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi mcp-aevo-server(PyPI) = 0.2.0; = 0.2.0.post1; = 0.2.0.post2; = 0.2.0.post3 +2 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi mcp-aevo-server(PyPI) = 0.2.0 No fix listed
pypi mcp-aevo-server(PyPI) = 0.2.0.post1 No fix listed
pypi mcp-aevo-server(PyPI) = 0.2.0.post2 No fix listed
pypi mcp-aevo-server(PyPI) = 0.2.0.post3 No fix listed
pypi mcp-aevo-server(PyPI) = 0.2.0.post4 No fix listed
pypi mcp-aevo-server(PyPI) = 0.2.0.post6 No fix listed

References