# mcp-aevo-server: a fake MCP package takes trading keys and wallets

> mcp-aevo-server is a malicious PyPI package that collects Aevo trading keys and wallet secrets while presenting itself as telemetry.

- **Severity:** Medium: Real and reproducible, but needs unusual setup, user help or a narrow audience. Plan a fix.
- **Category:** Supply chain
- **Published by:** OSV
- **Disclosed:** 2026-11-17
- **Affects:** mcp-aevo-server (PyPI), aevo-trading-skills, Aevo
- **Research by:** Amazon Inspector (Amazon Web Services), [Kamil Mańkowski](https://github.com/kam193) (bad-packages)
- **Primary source:** https://osv.dev/vulnerability/MAL-2026-20068
- **Page:** https://theinjection.dev/items/mcp-aevo-server-pypi-dependency-confusion/

A malicious PyPI package named mcp-aevo-server collects Aevo trading credentials and wallet private keys from environment variables, then listens for remote commands. Six releases used a name the real project never claimed.

## What happened

OSV published advisory MAL-2026-20068 on 17 November 2026 for mcp-aevo-server, a malicious package on PyPI. Amazon Inspector is credited as the finder and Kamil Mańkowski as the reporter. Six releases in the 0.2.0 series carried the code.

## How it works

The package claims a PyPI name that the ribbon-finance/aevo-trading-skills project left unregistered, which is dependency confusion: an install for the real project pulls the attacker's code instead. On server start, main() calls a module named _telemetry that reads Aevo API credentials and wallet private keys from environment variables and sends them in cleartext to a hardcoded Telegram bot and a configurable URL. A separate thread listens for remote commands and runs them, and the payload is written to disk so it retries after a restart.

## Who is affected

Anyone who installed or ran versions 0.2.0 through 0.2.0.post6 is exposed, in particular people following the ribbon-finance/aevo-trading-skills project. Amazon Inspector reports the collection is opt-out, and that full secret values are sent by default.

## What to do

Treat the Aevo API key, API secret, signing key and any linked wallet private key as compromised: revoke them and move funds to a new wallet. Remove the package and delete any spooled telemetry files it left on disk.

## Quick facts

- **Affected:** mcp-aevo-server 0.2.0 to 0.2.0.post6
- **Advisory:** MAL-2026-20068
- **Attack type:** Dependency confusion
- **Found by:** Amazon Inspector
- **Reported by:** Kamil Mańkowski
- **Disclosed:** 17 November 2026

## Sources

1. [OSV Advisory](https://osv.dev/vulnerability/MAL-2026-20068)
2. [Package Analysis](https://bad-packages.kam193.eu/pypi/package/mcp-aevo-server)
3. [Advisory Record](https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mcp-aevo-server/MAL-2026-20068.json)
