Malicious code in infogram-bot (PyPI)
The infogram-bot PyPI package versions 1.0.0 through 1.9.0 contain malicious code that implements a Telegram bot providing remote shell access and data exfiltration capabilities. It executes arbitrary shell commands received via Telegram messages with the privileges of the running process and can exfiltrate files and environment variables without user consent. The package was deliberately created for unauthorized access and credential theft.
AI Analysis
Technical Summary
infogram-bot versions 1.0.0 to 1.9.0 implement a Telegram bot that accepts text messages from remote users and executes them as shell commands on the host via subprocess.check_output(cmd, shell=True). It exposes handlers that allow full remote shell access and data exfiltration, including walking the working directory, zipping and uploading files in chunks, streaming requested files back to Telegram, and leaking environment variables. The package includes placeholder maintainer metadata consistent with low attribution and was deliberately designed to hack machines and steal files and credentials.
Potential Impact
An attacker with access to the Telegram bot can execute arbitrary shell commands on the host with the privileges of the running process, effectively gaining full remote control. The attacker can also exfiltrate files and environment variables, leading to potential data breaches and credential theft. This creates a severe security risk including unauthorized access, data loss, and persistence on the compromised system.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall the infogram-bot package and avoid running it in any environment. Since this is a malicious package, do not trust or use any versions listed. Monitor for any unauthorized Telegram bots or suspicious processes and remove them. Check for any signs of compromise if this package was installed.
Malicious code in infogram-bot (PyPI)
Description
The infogram-bot PyPI package versions 1.0.0 through 1.9.0 contain malicious code that implements a Telegram bot providing remote shell access and data exfiltration capabilities. It executes arbitrary shell commands received via Telegram messages with the privileges of the running process and can exfiltrate files and environment variables without user consent. The package was deliberately created for unauthorized access and credential theft.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
infogram-bot versions 1.0.0 to 1.9.0 implement a Telegram bot that accepts text messages from remote users and executes them as shell commands on the host via subprocess.check_output(cmd, shell=True). It exposes handlers that allow full remote shell access and data exfiltration, including walking the working directory, zipping and uploading files in chunks, streaming requested files back to Telegram, and leaking environment variables. The package includes placeholder maintainer metadata consistent with low attribution and was deliberately designed to hack machines and steal files and credentials.
Potential Impact
An attacker with access to the Telegram bot can execute arbitrary shell commands on the host with the privileges of the running process, effectively gaining full remote control. The attacker can also exfiltrate files and environment variables, leading to potential data breaches and credential theft. This creates a severe security risk including unauthorized access, data loss, and persistence on the compromised system.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately uninstall the infogram-bot package and avoid running it in any environment. Since this is a malicious package, do not trust or use any versions listed. Monitor for any unauthorized Telegram bots or suspicious processes and remove them. Check for any signs of compromise if this package was installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14131
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a84fa65c6e8be0332ef1303
Added to database: 08/19/2026, 00:35:49 UTC
Last enriched: 08/19/2026, 00:51:15 UTC
Last updated: 08/19/2026, 00:53:49 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.