VYPR

pypi · Malicious package advisory

Malware

python-dateitil

GHSA-4334-7hp3-2w9p

Malicious code in python-dateitil (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.2`

## Source: kam193 (f7d09226c2d76a03909b10c844a44149abf2606a5f1f55232ee7620580835787)
Package consist of a revshell only. The effective danger is low as it's clearly designed to connect to a localhost only and be used as awareness.


---

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: 2025-08-python-dateitil


Reasons (based on the campaign):


 - typosquatting


 - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-dateitil/MAL-2025-47797.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/python-dateitil
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-dateitil/MAL-2025-47797.json
- https://github.com/advisories/GHSA-4334-7hp3-2w9p

Compromised versions (1)

  • = 0.1.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.