2026-04-22 · 2026-Q2
Xinference PyPI Package Compromise (Versions 2.6.0-2.6.2)
Outside the model: Adjacent ecosystemAgent tooling was not the attack surface, so no layer applies.
- Fixable
- Vendor patch
- Vendor response
- Unknown
- In the wild
- Yes
- Actor
- Not applicable
Target
Xinference (Xorbits Inference) Python package on PyPI; an open-source distributed AI model inference framework with 600,000+ downloads used to self-host LLMs, embedding models, and image generators
Impact
Three consecutive releases (2.6.0, 2.6.1, 2.6.2) shipped a base64-encoded credential-stealing payload that runs on import; harvests AWS credentials and secrets, Google Cloud configurations, Kubernetes tokens, environment variables, SSH keys, API keys, and database credentials; payload spawns a detached subprocess so it survives parent process exit
Root cause
An automated bot account "XprobeBot" (active since October 2025) was compromised and committed the malicious payload directly into `__init__.py`; payload structure mirrors prior TeamPCP attacks (double base64, exhaustive credential sweep, detached subprocess on import), but TeamPCP publicly denied responsibility for this one
Sources
Catalog
Cite this: AgentProv incident record: Xinference PyPI Package Compromise (Versions 2.6.0-2.6.2) (2026-04-22). https://agentprov.com/incidents/2026-04-22-xinference-pypi-package-compromise-versions-2-6-0-2-6-2