Categories: Cyber Security News

PyPI to Block Domains Resurrection Attacks by Blocking Access to 1800 Expired Domains

The Python Package Index (PyPI) has deployed a significant security enhancement to combat domain resurrection attacks, a sophisticated supply-chain attack vector that exploits expired domain names to compromise user accounts. 

Since early June 2025, the platform has proactively unverified over 1,800 email addresses associated with domains entering expiration phases, marking a crucial step in protecting the Python ecosystem’s integrity.

Key Takeaways
1. PyPI blocks password resets to expired domain emails, stopping account hijacking attacks.
2. 1,800+ email addresses unverified since June 2025.
3. Combines with 2FA and monitoring to address proven attack methods.

Understanding Domain Resurrection Attack

Domain resurrection attacks represent a critical threat to package repository security, exploiting the relationship between user accounts and email verification systems. 

The attack mechanism is straightforward yet effective: when domain owners fail to renew their registrations, malicious actors can purchase these expired domains and establish email servers to intercept password reset requests.

PyPI’s vulnerability stemmed from its email verification system, which considers verified email addresses as strong indicators of account ownership. 

During account registration, users must verify their email addresses by clicking confirmation links, establishing a trusted communication channel for account-related operations, including password resets. 

However, this trust relationship becomes compromised when domain ownership transfers to unauthorized parties.

The attack timeline follows predictable domain expiration phases: Renewal Grace Period (0-45 days), Redemption Period (30 days), and Pending Delete (5 days) before domain release, reads the notice

PyPI’s implementation leverages Domainr’s Status API to monitor domain states, checking every 30 days to detect domains entering redemption periods, a critical indicator that ownership may have changed.

PyPI’s defense mechanism operates through automated domain status monitoring integrated with their email verification system. 

When domains enter redemption phases, the platform automatically unverifies previously verified email addresses, preventing password reset requests to potentially compromised destinations.

Unverified Email address

The implementation addresses both legacy and modern account security concerns. Accounts with activity after January 1, 2024, mandate Two-Factor Authentication (2FA), requiring attackers to possess both email access and secondary authentication factors. 

However, older accounts predating the 2FA requirement remain vulnerable to email-based takeovers, making this domain monitoring system essential for comprehensive protection.

PyPI’s approach isn’t foolproof; it cannot detect legitimate domain transfers between cooperating parties, and the 30-day monitoring interval may miss rapid domain state changes. 

Nevertheless, this security enhancement significantly reduces the attack surface for domain resurrection exploits.

The initiative demonstrates proactive security thinking in package ecosystem management, addressing real-world attack scenarios that have previously compromised PyPI projects. 

This defensive measure, supported by Alpha-Omega funding and collaborative guidance from the OpenSSF Securing Software Repositories Working Group, protects millions of Python developers worldwide.

Safely detonate suspicious files to uncover threats, enrich your investigations, and cut incident response time. Start with an ANYRUN sandbox trial → 

The post PyPI to Block Domains Resurrection Attacks by Blocking Access to 1800 Expired Domains appeared first on Cyber Security News.

rssfeeds-admin

Recent Posts

Witch Hat Atelier Volume 1 Drops to 99 Cents at the Kindle Store

Witch Hat Atelier is a great manga for newcomers to the medium, and the price…

37 minutes ago

Severe storms possible across Big Country Tuesday night

BIG COUNTRY, Texas (KTAB/KRBC) – The Storm Prediction Center has placed nearly the entire Big…

1 hour ago

Flip into the future: McMurry announces gymnastics program

ABILENE, Texas (KTAB/KRBC) - McMurry University has launched Abilene’s only collegiate gymnastics program. The program…

1 hour ago

Coleman’s 150th celebration to feature Lady A, Aaron Watson, William Beckmann

COLEMAN, Texas (KTAB/KRBC) - As the City of Coleman gets ready to celebrate its 150th…

1 hour ago

Abilene Pickleball complex gets official approval

ABILENE, Texas (KTAB/KRBC) - A new pickleball complex proposed in north Abilene has been given…

1 hour ago

Crime Reports: Abilene teen says she was robbed at gunpoint by suspects buying item

Editor’s Note: The Abilene Police Department supplied the following arrest and incident reports. All information…

1 hour ago

This website uses cookies.