# PyPI: PyPI Dictionary Attack

- Provider: [PyPI](https://outages.live/pypi.md)
- Type: Incident
- State: Resolved
- Worst impact: Operational
- Started: 2022-11-11 22:24 UTC
- Resolved: 2022-11-17 17:47 UTC (lasted 6 days)
- Components: pypi.org - General, PyPI - pypi.org - General
- Official update: https://stspg.io/cn47g9c1mjlv

## Updates from PyPI

### resolved, 2022-11-17 17:47 UTC

This incident has been resolved.

### monitoring, 2022-11-11 22:24 UTC

Beginning on Nov 6th, 2022, PyPI began to become inundated with failed authentication attempts due to a dictionary attack (https://en.wikipedia.org/wiki/Dictionary_attack). At its peak, the attack was attempting more than 260K passwords per hour, and at the time of writing has resulted in more than 6 million invalid authentication attempts. The attacker used a large pool of IP addresses to cycle through multiple IPs as each one reached our ratelimit for authentication failures. The attacker specifically used PyPI’s ‘basic’ HTTP authentication methods associated with our upload endpoint. PyPI integrates with the Have I Been Pwned (HIBP) API (https://haveibeenpwned.com/API/v2) to prevent dictionary and credential stuffing attacks. Four times during the period of this attack, PyPI used the HIBP API to determine that a compromised password was being used to log into a user’s account, making it likely that the attacker was using a set of leaked passwords that HIBP includes in its dataset. F
