Executive Summary
In September 2025, the Python Package Index (PyPI) suffered a targeted supply-chain phishing campaign, where threat actors impersonated PyPI via convincing emails and domain lookalikes (such as pypi-mirror.org). Attackers sent phishing emails to PyPI maintainers, warning of account suspension and requesting email verification. Unsuspecting victims who followed malicious links and entered credentials risked account compromise, enabling attackers to breach legitimate developer accounts. The likely aim was to either infect existing packages with malware or introduce new malicious packages into trusted software repositories, potentially impacting the broader Python ecosystem.
This incident underscores the growing sophistication of software supply-chain threats, especially as open-source repositories face sustained phishing campaigns and credential harvesting tactics. As phishing campaigns increasingly target developers and critical infrastructure, strong phishing-resistant authentication and vigilant domain monitoring are now essential industry-wide defenses.
Why This Matters Now
The recent PyPI phishing attack highlights a rising wave of cyberattacks targeting the open-source software supply chain, posing significant risks to downstream organizations relying on trusted packages. Immediate action is imperative as successful credential theft could rapidly lead to malware propagation at scale, undermining both developer trust and software integrity.
Attack Path Analysis
Attackers initiated their campaign by sending phishing emails impersonating PyPI, tricking users into entering credentials on fake sites. Stolen credentials enabled the threat actors to access victim accounts and potentially escalate privileges to manipulate or upload malicious packages. With access, adversaries could move laterally within PyPI or linked environments, seeking additional sensitive assets or accounts. The attackers maintained command and control by establishing outbound communications to remotely manage compromised accounts. Data exfiltration likely involved exporting secrets or code, or pushing malicious packages to external parties. The ultimate impact was the potential spread of malicious software through the supply chain, risking widespread compromise of downstream Python projects.
Kill Chain Progression
Initial Compromise
Description
Attackers used targeted phishing campaigns with fake PyPI websites to harvest user credentials.
MITRE ATT&CK® Techniques
Phishing: Spearphishing Attachment
Phishing: Spearphishing Link
Spearphishing Link
Valid Accounts
Brute Force
Steal or Forge Authentication Certificates
Drive-by Compromise
Use Alternate Authentication Material: Pass the Token
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Strong Authentication for User Access
Control ID: 8.3.1
NYDFS 23 NYCRR 500 – Multi-Factor Authentication
Control ID: 500.12
DORA – ICT Risk Management Framework
Control ID: Art. 10
CISA Zero Trust Maturity Model 2.0 – Phishing-resistant Multi-Factor Authentication
Control ID: Identity Pillar: Phishing-Resistant MFA
NIS2 Directive – Incident Handling and Supply Chain Security
Control ID: Art. 21(2)(d)
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Direct exposure to PyPI supply-chain phishing targeting Python developers, risking malicious package injection and compromised software distribution channels affecting development workflows.
Information Technology/IT
Critical vulnerability through Python package dependencies in IT infrastructure, enabling lateral movement and east-west traffic compromise via malicious PyPI packages.
Financial Services
High-risk exposure through Python-based fintech applications and trading systems, with potential compliance violations under PCI and regulatory frameworks from compromised packages.
Health Care / Life Sciences
Significant threat to Python-powered healthcare analytics and research systems, risking HIPAA compliance breaches and patient data exposure through supply-chain attacks.
Sources
- PyPI urges users to reset credentials after new phishing attackshttps://www.bleepingcomputer.com/news/security/pypi-urges-users-to-reset-credentials-after-new-phishing-attacks/Verified
- PyPI Users Email Phishing Attackhttps://blog.pypi.org/posts/2025-07-28-pypi-phishing-attack/Verified
- Phishing attacks with new domains likely to continuehttps://blog.pypi.org/posts/2025-09-23-plenty-of-phish-in-the-sea/Verified
- PyPI invalidates tokens stolen in GhostAction supply chain attackhttps://www.bleepingcomputer.com/news/security/pypi-invalidates-tokens-stolen-in-ghostaction-supply-chain-attack/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Applying Zero Trust segmentation, egress policy enforcement, and continuous threat detection would have limited adversary movement, contained credential misuse, and detected suspicious behavior throughout the kill chain. Distributed CNSF controls—such as east-west security and centralized visibility—help prevent or rapidly detect the exploitation and abuse of cloud and SaaS resources.
Control: Multicloud Visibility & Control
Mitigation: Enhanced monitoring detects anomalous access or suspicious credential usage.
Control: Zero Trust Segmentation
Mitigation: Limits the blast radius by enforcing least privilege access and restricting lateral privilege gain.
Control: East-West Traffic Security
Mitigation: Detects and blocks suspicious internal movement between workloads or services.
Control: Egress Security & Policy Enforcement
Mitigation: Outbound malicious traffic to attacker infrastructure is blocked or flagged.
Control: Encrypted Traffic (HPE)
Mitigation: Prevents exfiltration over unencrypted channels and detects anomalous volume or patterns.
Rapid identification and containment of malicious or unauthorized changes.
Impact at a Glance
Affected Business Functions
- Software Development
- Package Distribution
Estimated downtime: 3 days
Estimated loss: $50,000
Potential exposure of developer credentials leading to unauthorized access to package repositories and possible distribution of malicious code.
Recommended Actions
Key Takeaways & Next Steps
- • Enforce continuous Zero Trust segmentation and least privilege access to limit lateral movement from compromised identities.
- • Deploy multicloud visibility solutions for real-time monitoring and anomaly detection of credential use and application behavior.
- • Implement robust egress filtering and policy enforcement to block unauthorized outbound communications and data exfiltration.
- • Mandate strong encryption for all data-in-transit, ensuring sensitive information cannot be siphoned by attackers.
- • Automate threat detection and incident response to rapidly identify suspicious package publication or repository manipulation activities.



