VYPR

pypi · Malicious package advisory

Malware

python-datetil

GHSA-8v43-7xjf-92vf

Malicious code in python-datetil (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.1.0`

## Source: kam193 (ade289b57baa6b63431a9653e51023f1e631fbc0e36471acdb51c821410ea8dc)
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-datetil/MAL-2025-47798.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/python-datetil
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-datetil/MAL-2025-47798.json
- https://github.com/advisories/GHSA-8v43-7xjf-92vf

Compromised versions (1)

  • = 1.1.0

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