cvelo
P2 · HighMalware

Malicious code in mcp-aevo-server (PyPI)

  • MAL-2026-20068

Description

Show the whole description

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

Text from the OSV record.

Affected

  • mcp-aevo-serverPyPI

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.