Cyber Security News

New Phishing Scam Aims at PyPI Maintainers to Steal Login Information

A fresh wave of domain-confusion phishing emails is sweeping through the Python community, once again setting its sights on PyPI maintainers.

As malicious actors continually swap out domain names, PyPI users must remain vigilant and adopt stronger safeguards to protect their accounts.

In this latest iteration, maintainers receive an unsolicited email urging them to “verify your email address” under the guise of “account maintenance and security procedures.”

The message warns that failing to comply may result in account suspension, prompting recipients to click a link that leads to pypi-mirror.org, a site unaffiliated with the Python Packaging Authority (PSF) or the official PyPI registry. The correspondence mimics legitimate PyPI notifications, using similar branding, layout, and tone.

This campaign mirrors the scheme uncovered in July 2025 but employs a different deceptive domain to dupe open-source contributors into revealing their login credentials.

Upon arriving at the fraudulent page, unsuspecting maintainers are prompted to input their usernames and passwords.

Harvested credentials are then funneled to the attackers, granting them potential access to sensitive package metadata or even allowing them to publish malicious versions of popular libraries.

This technique leverages human trust in familiar interfaces while evading simple domain filters by registering look-alike addresses.

Although PyPI successfully collaborated with domain registrars to take down pypi-mirror.org, the underlying tactic persists.

New domains can be spun up in minutes, and the cycle repeats, placing every maintainer at risk until more robust defenses are adopted.

PyPI’s Defensive Measures

PyPI’s security team has deployed multiple countermeasures to thwart this campaign. First, registrars and content-delivery networks hosting the malicious domains have been notified and asked to disable the offending addresses.

Next, each phishing URL is submitted to industry-wide threat intelligence feeds and browser-based blocklists, ensuring users encounter warning screens before proceeding.

In parallel, PyPI is collaborating with maintainers of other open-source package ecosystems to share best practices for rapid domain takedown requests.

This collective response aims to shrink the window of exposure between domain registration and takedown. Additionally, the PyPI team is evaluating enhancements to its existing two-factor authentication (2FA) framework.

While TOTP-based 2FA remains a valuable layer of defense, the team recognizes its limitations against real-time phishing and is exploring integration of hardware security keys to provide phishing-resistant authentication.

Despite these steps, PyPI underscores that no solution is foolproof without maintainer participation. The platform continues to monitor phishing trends, refine detection heuristics, and educate users on emerging threats.

Best Practices for Maintainers

Maintainers can significantly reduce the effectiveness of phishing campaigns by adopting rigorous operational habits.

First, never click links in unsolicited emails; instead, navigate directly to pypi.org to verify any account notifications. Using a password manager that strictly auto-fills credentials based on the precise domain is another powerful defense.

If auto-fill fails on a page that normally prompts credentials, treat it as an immediate red flag.

Transitioning to phishing-resistant 2FA methods, such as hardware tokens compliant with FIDO2, adds an additional barrier that real-time credential thieves cannot easily bypass.

For individuals still relying on TOTP apps, reviewing recent security history in account settings after any suspicious email can reveal unauthorized login attempts or credential changes.

When in doubt, consult with peers or security channels before taking any email-triggered action. Sharing suspect emails with colleagues not only provides a second opinion but also helps spread awareness within the community.

Finally, maintainers should amplify warnings through developer forums, mailing lists, and social media to alert as many contributors as possible.

Phishing campaigns will persist as long as open source remains a critical infrastructure pillar; collective vigilance and rapid information sharing are our most effective defenses.

If you believe you have been targeted or have clicked the malicious link, immediately change your PyPI password and inspect your account’s Security History for anomalies.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Mayura Kathir

Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago