Malicious package · PyPI
Malicious code in kotoraka (PyPI)
0.1.0No safe version. Remove it.What it does
On import, kotoraka decodes base64-obfuscated filesystem paths pointing at the user's Monero wallet directory (Windows: C:\Users<user>\Documents\Monero; Linux: /home/<user>/Monero), terminates any running feather or monero processes to release file locks, archives the wallet directory into a zip, and uploads it to the Telegram Bot API (api.telegram.org sendDocument) using a hardcoded bot token and chat_id (-5357046713). The Telegram bot token and target paths are stored as base64 literals decoded at runtime. The declared purpose of the package (an HTTP speed-up library) is unrelated to the actual behavior. The exfiltration fires as a top-level side effect of import kotoraka, with no user interaction.
Reported by kam193 During import, the package exfiltrates cryptocurrency wallet files.
No fix · Remove and contain
pip uninstall kotorakaSources