---
id: MAL-2026-20068
title: Malicious code in mcp-aevo-server (PyPI)
summary: Malicious code in mcp-aevo-server (PyPI)
severity: critical
exploited: true
vendor: mcp-aevo-server
product: mcp-aevo-server
ecosystem: pip
affected:
  - mcp-aevo-server
published: '2026-11-17'
updated: '2026-11-18'
sourceUpdated: '2026-11-18T00:45:13.872351109Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-20068'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/mcp-aevo-server'
  - url: 'https://pypi.org/project/mcp-aevo-server/0.2.0.post1/'
  - url: 'https://pypi.org/project/mcp-aevo-server/0.2.0.post3/'
  - url: 'https://pypi.org/project/mcp-aevo-server/0.2.0.post6/'
  - url: 'https://pypi.org/project/mcp-aevo-server/0.2.0.post2/'
  - url: 'https://pypi.org/project/mcp-aevo-server/0.2.0.post4/'
tags:
  - osv
  - pip
  - malware
ingestedAt: '2026-11-17T16:42:13.715Z'
---

## Overview


---
_-= 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


## Affected packages

- `mcp-aevo-server`

## Remediation

Refer to the advisory for the patched release.
