# GHSA-547V-Q874-636X: Malicious code in shanks (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-10
- Modified: 2026-11-10

## Affected versions

- shanks (PyPI): 0.0.4

## Description

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))

## References

- https://github.com/ossf/malicious-packages/blob/d7ba0c554f88bb0ec85a8550f687ec09e5fa2007/osv/malicious/pypi/shanks/MAL-2026-19051.json
- https://github.com/advisories/GHSA-547v-q874-636x

Page: https://cve.now/GHSA-547V-Q874-636X

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
