pip supply-chain alert: eMudhra's weak TLS keys exposed, upgrade to pip 26.2.2 now

TheZachMueller · x · 2026-10-23

A supply-chain security incident is hitting the Python ecosystem: Indian certificate authority eMudhra (emSign) was found using absurdly weak private keys for TLS certificates — only 8 keys, all below 256, with one valued at 4. Anyone can forge a valid certificate for any site.

The direct threat to Python users: an attacker on the same network (public WiFi, ISP, or state actor) can impersonate PyPI, making pip install download trojanized packages with zero warnings. No confirmed attacks yet, but the risk is real.

Urgent fixes:

Any ML/AI workflow relying on PyPI is affected — audit now.

Original post →

More from Safety

Safety channel →