NetSight
criticalMalware report

GHSA-547v-q874-636x

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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d7ba0c554f88bb0ec85a8550f687ec09e5fa2007/osv/malicious/pypi/shanks/MAL-2026-19051.json))

Affected packages

EcosystemPackageAffectedFixed in
pipshanks= 0.0.4none recorded

Weakness classification

References