Malicious code in sysdiagd (PyPI)
Description
The sysdiagd package on PyPI is a malicious package disguised as a system monitoring tool. It functions as a Discord bot infostealer that exfiltrates credentials, browser data, files, and records audio, screenshots, and video. The malicious code requires bot credentials to operate and is not functional without them. The campaign associated with this package demonstrates clear malicious intent, including spyware-like behavior and persistence mechanisms.
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
The sysdiagd package versions 1.2.1, 1.2.2, and 1.2.3 on PyPI contain malicious code masquerading as a system monitoring tool. Instead of legitimate functionality, it operates as a Discord bot designed to steal sensitive information such as credentials, browser data, and files, while also capturing audio, screenshots, and video. The code requires the attacker to provide Discord bot credentials to activate its infostealer capabilities. This package is part of a campaign identified as 2026-10-sysdiagd, characterized by remote access trojan (RAT) behavior, data exfiltration, persistence, and spyware-like actions.
Potential Impact
If installed and activated with the required bot credentials, the malicious sysdiagd package can lead to significant data theft including user credentials, browser data, and files. It can also capture audio, screenshots, and video, compromising user privacy and security. This can result in unauthorized access, data leakage, and potential further compromise of affected systems.
Defensive Guidance
No official patch or remediation is indicated for this malicious package. The primary mitigation is to avoid installing the sysdiagd package versions 1.2.1, 1.2.2, and 1.2.3 from PyPI. Users should verify the authenticity of packages before installation and remove any instances of this package if found. Since the malicious functionality requires bot credentials to operate, ensuring that such credentials are not provided or are revoked can prevent activation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17861
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6acea9252cdf04f656b66fcb
Added to database: 10/13/2026, 21:56:53 UTC
Last enriched: 10/13/2026, 22:01:28 UTC
Last updated: 10/13/2026, 22:01:28 UTC
Views: 6
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.
External Links
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.