MAL-2026-5331

    Dashboard / Malicious Package / MAL-2026-5331

    MAL-2026-5331

    Published: 8 Jun 2026Last Modified: 11 Jun 2026

    Summary: Malicious code in bittensor-burn (PyPI)

    Details: Source: amazon-inspector (99f546bfd362dae8aed49775bf13961c3540c29ef6fa54f484bf57e978d775be) The package markets itself as a Bittensor burn-rate monitor but ships a compiled native module (bittensor_burn_watch/core.cpython-*.so) that reads the installer's system clipboard on Linux (wl-paste/xclip), macOS, and Windows (Win32 API with a PowerShell fallback) and forwards every unique clipboard string to a hardcoded Telegram chat. The Telegram bot token and chat ID are bundled in bittensor_burn_watch/defaults.env (TELEGRAM_BOT_TOKEN=8666228137:..., TELEGRAM_CHAT_ID=8766781014, labelled 'admin Telegram' / 'clipboard alerts'), so the destination is fixed by the author rather than configured by the installer — even though the README instructs users to configure their own bot. The compiled module contains explicit stealth engineering: comments such as 'Read clipboard via Win32 API; PowerShell fallback if needed (no window flash)' and 'never mix X11 clients into a Wayland session (xclip flashes the taskbar)' show deliberate effort to avoid user-visible indicators. Persistence is established system-wide (Windows Task Scheduler logon entry plus 15-minute watchdog, a systemd user service on Linux, and a LaunchAgent KeepAlive on macOS), so the clipboard logger runs continuously after install. The Bittensor-themed package name targets crypto/AI users likely to paste wallet seed phrases, exchange API keys, and TAO addresses — high-value secrets for the operator of the receiving Telegram chat. A bundled Taostats API key (TAOSTATS_API_KEY=tao-e9b3d1d9-...) is a secondary concern (quota abuse against api.taostats.io) but is not the primary harm. Source: kam193 (75331af1d73717c0eb5535938c91df41c17f5b205aa2e1545906527b0ff1c5a0) The package contains code to steal clipboard content to a predefined remote location. If run in the right way, the code will periodically check the clipboard and if the content matches the pattern, exfiltrates it. The targeted data are likely cryptocurrency secret seed phrases. Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-06-clip-logger Reasons (based on the campaign): - clipboard-stealing - crypto-related

    Affected packages

    Package

    Name: bittensor-burn

    Purl: pkg:pypi/bittensor-burn

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.8.0
    1.8.1
    MAL-2026-5331 | CVE-DB