---
id: "MAL-2026-19051"
page: "https://infrastack.ai/live/MAL-2026-19051"
kind: "package"
aliases: ["MAL-2026-19051"]
title: "Malicious code in shanks (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "shanks", "fixed": [], "affected": "= 0.0.4", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-11-07T03:16:10+00:00"
first_seen_at: "2026-11-10T00:26:22+00:00"
updated_at: "2026-11-10T00:27:33+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-19051", "first_seen_at": "2026-11-10T00:26:22+00:00"}]
exploit_sources: []
---

# Malicious code in shanks (PyPI)

Link for people: https://infrastack.ai/live/MAL-2026-19051 (this .md is for agents)

## Affected

- pypi:shanks affected = 0.0.4 fixed no fixed version listed

## Timeline

- 2026-11-10T00:26:22+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-19051

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
