Malicious code in mcp-aevo-server (PyPI)
MAL-2026-20068
Published · Modified
Dependency scanning
Check whether mcp-aevo-server is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
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
References
- WEB https://bad-packages.kam193.eu/pypi/package/mcp-aevo-server
- PACKAGE https://pypi.org/project/mcp-aevo-server/0.2.0.post1/
- PACKAGE https://pypi.org/project/mcp-aevo-server/0.2.0.post3/
- PACKAGE https://pypi.org/project/mcp-aevo-server/0.2.0.post6/
- PACKAGE https://pypi.org/project/mcp-aevo-server/0.2.0.post2/
- PACKAGE https://pypi.org/project/mcp-aevo-server/0.2.0.post4/
Ready to move
Start Securing
Free, no credit card | First findings in minutes