Advisory

MAL-2024-11560

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in colotama (PyPI)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: kam193 (fa7312f48aedc863c1eb3377178692b7cb1fe1503114d3cbc6cdc97572b9a6c0)
The pyprettifier library has a feature to send out the user home path throuh the logger. It's attached to the __init__ of EmojiConverter class. Other related packages utilize a typosquatting to imitate real packages, and attempts to call the EmojiConverter from pyprettifier, triggering notifying the author about the user's home path.

---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: 2024-09-pyprettifier

Reasons (based on the campaign):

  • typosquatting
  • The malicious code is intentionally included in a dependency of the package
  • action-hidden-in-lib-usage
  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

Source: ossf-package-analysis (18c9d3a75d7d00423b531ffce7bf8ecbe34e723046045707f3ce1bd6043255fe)
The OpenSSF Package Analysis project identified 'colotama' @ 0.4.8 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Severity

Not rated by the source.

Dates

Published
2024-09-29 16:36 UTC
Modified
2025-12-31 02:52 UTC

Affected packages and fixes

colotama

PyPI · All systems

Affected

  • Versions: 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.5.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences