Malicious Code in sysdiagd: A PyPI Package Threat

sysdiagd Updated 14 Oct 2026

Summary

13/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17861: Malicious code in sysdiagd (PyPI). Affects sysdiagd versions 1.2.1 – 1.2.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The sysdiagd package, available on PyPI, is designed to function as a system monitoring tool. However, it has been found to contain malicious code that operates as a Discord bot. This bot is capable of stealing sensitive information such as credentials, browser data, files, and can even record audio, screenshots, and video. The package requires users to provide bot credentials to function, making it a significant security risk.

Vulnerability Detail

The vulnerability originates from the sysdiagd package, which disguises itself as a legitimate system monitoring tool while actually functioning as an infostealer. The malicious code exfiltrates sensitive user data, including credentials and browser information, and has spyware-like capabilities. This poses a serious threat to users' privacy and security, as the bot can persistently collect and transmit sensitive data without the user's consent.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall sysdiagd

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no effective workarounds to secure the sysdiagd package due to its inherent malicious nature. The best course of action is to uninstall the package completely.

Conclusion

The sysdiagd package poses a significant security threat due to its malicious code that acts as an infostealer. Users are strongly advised to uninstall the package immediately to protect their sensitive information. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for sysdiagd →

Share this vulnerability

FAQ

The sysdiagd package is a Python package intended for system monitoring, but it has been found to contain malicious code that acts as an infostealer.

The malicious code can exfiltrate credentials, browser data, files, and can record audio, screenshots, and video.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If you have installed sysdiagd, you should uninstall it immediately to protect your sensitive data.

As of now, there is no patch available for sysdiagd. The recommended action is to uninstall the package.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall sysdiagd

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback