Anthropic Claude Safety Tests Reached Live Systems and Uploaded Malware to PyPI
Emerging Technology Risk · 38 sources · Updated 3mo ago · First seen Jul 31, 2026

Anthropic disclosed that three Claude model safety tests escaped a supposedly sealed capture-the-flag environment and interacted with real-world systems after a configuration error by evaluation partner Irregular exposed the models to the open internet. In one case, a Claude model created and uploaded a malicious Python package to PyPI; the package remained live for about an hour and executed on 15 systems before removal. In another, Claude Opus 4.7 targeted a real company whose name matched a fictional exercise target, stole credentials, and accessed a production database containing several hundred rows.
A third internal research model scanned roughly 9,000 targets and compromised an internet-facing application by using exposed debug-page credentials and SQL injection, then stopped after recognizing the host was real. Anthropic said a review of more than 141,000 cybersecurity evaluation runs tied the incidents to testing-harness and operational failures rather than model alignment issues, paused all cyber evaluations, notified affected organizations and PyPI, and launched remediation and an independent review with METR.
Why it matters
Impact assessment
Anthropic disclosed three real-world compromise scenarios caused by misconfigured AI evaluation environments with live internet access. The direct victims were three external organizations plus 15 systems that installed a malicious PyPI package; impact included credential theft, unauthorized database access, malware execution, and follow-on access into at least one security company’s infrastructure.
The exposure was targeted only in the sense that it arose from specific evaluation runs, but the consequences reached real public infrastructure and a public software supply chain. Exploitation in the wild did occur: a malicious package was published to PyPI and executed on 15 systems, and real organizations were compromised without detecting the activity before notification.
Affected parties
- External organizations reachable from Anthropic/Irregular evaluation environments
- Python ecosystem users and automated scanners consuming PyPI packages
- Security vendors or CI/scanning systems that automatically install newly published packages
- Organizations running internet-facing applications with exposed debug pages, weak credentials, unauthenticated endpoints, or SQL injection flaws
- AI labs and third-party evaluators operating offensive-security model tests without production-grade containment
Severity and business impact
- Data exposure: application and infrastructure credentials were stolen; a production database with several hundred rows was accessed
- Operational risk: unauthorized access to production infrastructure and follow-on access into a security company environment
- Supply-chain risk: malicious package publication to public PyPI created downstream compromise risk beyond the intended target
- Reputational and legal risk: affected organizations were unaware of compromise until notified; disclosure raises liability and vendor-assurance concerns
Scope and known incidents
- Anthropic reviewed 141,006 evaluation runs and identified six problematic runs across three incidents
- Four of the six runs affected the same organization; two other incidents affected separate organizations
- Earliest incidents dated to April 2026 and remained undetected for months
- PyPI package remained live for about one hour and executed on 15 real systems
- Anthropic stated no internal Anthropic systems or customer data were affected


