A sophisticated phishing campaign has emerged, targeting package maintainers on the Python Package Index (PyPI), using domain spoofing tactics to steal authentication credentials from unsuspecting developers.
See also: AI Villager tool reaches 11,000 downloads on PyPI

The attack leverages deceptive emails designed to mimic official PyPI communications, directing recipients to malicious domains that closely resemble the authentic PyPI infrastructure. The phishing operation uses carefully crafted emails that ask users to “verify their email address” for supposed “account maintenance and security procedures,” warning that accounts may face suspension without immediate action. These deceptive messages create a sense of urgency, forcing administrators to act quickly without considering the legitimacy of the communication.
The phishing emails direct users to the malicious domain pypi-mirror.org, which pretends to be an official PyPI mirror but is completely unrelated to the Python Software Foundation. This campaign represents a continuation of similar attacks that have targeted PyPI and other repositories in recent months, with attackers systematically rotating domain names to evade detection and takedown efforts.
Analysts at PyPI.org identified this as part of a broader pattern of domain spoofing attacks, specifically designed to exploit trust relationships in the open source ecosystem. The attack works through a combination of social engineering and technical deception, exploiting the inherent trust that developers place in official communications from package repositories. When victims click on the malicious link, they are directed to a convincing copy of the PyPI login interface hosted on the fraudulent domain, where any credentials entered are immediately collected by the attackers.
See also: PyPI: Malicious packages exploit dependency for supply chain attacks

The technical basis of this phishing campaign relies heavily on domain spoofing techniques that exploit subtle visual similarities to the authentic PyPI infrastructure. The attackers registered pypi-mirror.org to exploit the common practice of package repositories to maintain mirrors for redundancy and geographic distribution. This nomenclature seems legitimate to users familiar with the mirror architectures commonly used by large software repositories.
The malicious domain uses HTTPS encryption and professional web design elements to enhance its credibility, making it difficult to visually detect for users who may access the site quickly or on mobile devices. The deceptive website replicates the PyPI login interface with remarkable accuracy, including correct styles, logos, and form elements that reflect the authentic experience. This level of sophistication suggests significant planning and resources dedicated to maximizing the campaign’s success rate.
See also: Fake Discord PyPI Package contains malware

PyPI security teams have responded by coordinating with domain registrars and content distribution networks to expedite removal processes, while also submitting malicious domains to threat intelligence feeds used by major browsers for phishing protection
🔑 Secure your passwords with Proton Pass
Password manager from Proton — end-to-end encryption, passkeys, built-in 2FA, and monitoring for leaks of your credentials.
- ✔ Encrypted storage of passwords & passkeys
- ✔ Notification if any of your passwords are leaked (Dark Web Monitoring)
- ✔ Free version — on all devices
The link is an affiliate link — SecNews may receive a commission at no additional cost to you. It does not affect the independence of our article writing.
