NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

cometloggerPyPI

Advisory published Updated

cometlogger is a confirmed malicious PyPI package (MAL-2024-11562) that steals credentials and exfiltrates sensitive data (malicious version 0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in cometlogger (PyPI)

MAL-2024-11562
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall cometlogger

What this malware does

Multi-purpose infostealer, including grabbing cookies, files, information from cryptowallets; injecting code into discord application. This package is a builder for the actual malware

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

Campaign: 2024-11-cometlogger

Reasons (based on the campaign):

  • infostealer

  • files-exfiltration

  • peristence-autorun

  • clipboard-stealing

  • exfiltration-generic

  • exfiltration-crypto

  • exfiltration-browser-data

  • The package contains code to detect if it is running in a sandbox environment.

Malicious versions

1 flagged
0.1

Indicators of compromise (SHA-256)

3def40076d6d9157e2c591320bc4028c4a449271b75f6719eab3c47957603f86
abdbb464ce08802fc7aa95512fc31af0a0fceaf4ade6d9ac98b67790a5323cd6
8783c1b024641baf7c5fd01e1fc0a300451e5eca34247485ec704939ebc64d69
627a435be86fedd2eccd2f0af61fa8b19c8c12dd781fc1bdc064d836e1eff19a
1006c0d5b4094e7049bf308e95dc9cf5cddf0fa0cef7b8bd4f0c1a9b123a9faf
c5a6c82583317a94093d7ecb14331808b88ecf9d2e3c5b1f97b37314116e7987

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for cometlogger (version 0.1).

  2. If you installed it — respond

    cometlogger is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If cometlogger was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. cometlogger on PyPI has been identified as a malicious package (version 0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-11009RLUA-2025-004492024-11-cometloggerRLUA-2026-00219

References

Credits

  • Kamil Mańkowski (kam193)
  • ReversingLabs · finder

Detect & block this

O3 blocks cometlogger-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

cometlogger (PyPI) malicious package — MAL-2024-11562 | O3 Security