MAL-2024-12255 Malicious code in discord-api (PyPI)

Malicious package Published
Package
discord-api
Registry
PyPI

What is MAL-2024-12255?

MAL-2024-12255 is a malicious package in discord-api, published on 16 Sep 2024.

Official description

Package suggests being an api for discord. On importing the module, it attempts to find and exfiltrate leveldb databases from Discord apps and Chrome


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-09-old-discord-api

Reasons (based on the campaign):

  • impersonation

  • dependency-confusion

  • files-exfiltration

What should I do about MAL-2024-12255?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2024-12255 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free