Business logic
Revival Hijack – PyPI hijack technique exploited in the wild, puts 22K packages at risk
When a project is deleted from PyPI, its package name becomes immediately available for anyone to register, so an attacker can re-register a removed name and publish a malicious version. Anyone who upgrades or reinstalls the package, including automated CI/CD jobs, would then pull the attacker's code; the researchers saw this used in the wild against the pingdomv3 package.
PyPI