Tuesday, August 11, 2026
LIVEThe Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///The Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///
Subscribe
Cyber Security
Independent · Digital
Thehackingpost
CybersecurityAI-assisted

Pyronut Package Backdoors Telegram Bots With RCE

The malicious Python package, pyronut , has been identified as a trojanized package designed to backdoor Telegram bots and userbots, enabling attackers to execute remote code both on the Telegram session and the host system.

The malicious Python package, pyronut , has been identified as a trojanized package designed to backdoor Telegram bots and userbots, enabling attackers to execute remote code both on the Telegram session and the host system.

Pyronut was uploaded to PyPI, masquerading as an alternative to pyrogram , a widely used Telegram MTProto API framework. The package was crafted by replicating the project description of pyrogram and linking to a non-existent GitHub repository, indicating a fraudulent fork.

This package was likely disseminated through various channels such as Telegram groups, developer forums, or tutorial content, given the dissimilarity in the names pyrogram and pyronut which would not typically result in typosquatting. Only three versions—2.0.184, 2.0.185, and 2.0.186—were released, all of which were malicious.

The package was detected and quarantined on Sat, Mar 18, 2026, minimizing the exposure window and reducing the likelihood of widespread installation by developers.

Pyronut was uploaded to PyPI, masquerading as an alternative to pyrogram , a widely used Telegram MTProto API framework.
Noah Kensington · Thehackingpost

Unlike other malicious PyPI packages, Pyronut activates its payload at runtime. The Client.start() method in pyrogram/methods/utilities/start.py was modified to import a hidden module pyrogram/helpers/secret.py , wrapped in a try/except block to suppress errors and maintain normal application behavior.

The init_secret() function checks if the current Telegram account matches pre-defined owner IDs, exiting if matched to protect the attacker's accounts. For other users, it registers message handlers for /e and /shell commands from attacker-controlled accounts, but only processes direct messages to enhance operational security.

The /e command allows the attacker to execute Python code within the Telegram client process, offering access to chat history, contacts, media, and other functionalities. The /shell command executes input via /bin/bash -c , providing shell access to the attacker.

Advertisement

Detection requires examining both dependencies and runtime behavior. Security teams should inspect dependency manifests for pyronut versions 2.0.184–2.0.186, and flag unexpected use of meval . System logs should be reviewed for suspicious /bin/bash -c processes initiated by Python, and unusual file or network activity from Telegram bot processes.

If Pyronut is detected, all Telegram sessions and bot tokens should be revoked, and affected environments rebuilt from a known-good baseline after package removal. Exposed credentials and keys should be rotated. Organizations should enhance dependency vetting, verify source repositories of forked libraries, and implement software composition analysis and runtime monitoring to prevent future threats.

Based on reporting by GBHackers.

AI transparency. This article was produced with the assistance of artificial intelligence and published under human editorial oversight. AI systems can make mistakes. Read how we use AI (EU AI Act, Art. 50).
Related Stories