{"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","slug":"MAL-2026-20068","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (972c258509e94a35aa13f9a23d358edab57746321453d9eb1201e40a5807f2ef)\nOn 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.\n\n## Source: kam193 (6c0f51469b807e83b880e6b1337fab3798b91f26b387e70f92280c060b742a0f)\nPackage 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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-mcp-aevo-server\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - dependency-confusion\n\n\n - crypto-related\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - uses-telegram-bot\n\n\n## Affected packages\n\n- `mcp-aevo-server`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}