unscoredMalware report
MAL-2026-19051
Malicious code in shanks (PyPI)
Impact
The module shanks/shanks.py, when imported, looks up the machine's public IP address and location from a geolocation service and posts the IP address, city, state, postal code, latitude and longitude, with an @everyone mention, to a hard-coded Discord webhook. The package describes itself only as "A small example pkg". Version examined: 0.0.4; sdist SHA-256 dc417305d4b083a60ffda7aa310952306258fc12afc536a0641fc4a79c95bed8.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | shanks | unknown | none recorded |