Attackers Hijack Exposed AI Endpoints to Steal Tokens and Launch Follow-on Attacks
Emerging Technology Risk · 2 sources · Updated 5mo ago · First seen Jul 6, 2026

Researchers running a global honeypot network reported active scanning and exploitation of Internet-facing AI inference and agent services, including Ollama, LiteLLM, OpenClaw, and LangServe. Attackers first profiled exposed endpoints to identify available models and capabilities, then exploited recently disclosed LiteLLM flaws to gain remote code execution and steal environment variables and access tokens. Between March and May 2026, three separate operators were observed taking over exposed Ollama and LiteLLM instances and repurposing them for offensive activity, including use of Strix, HexStrike, and an OpenAI Codex agent configured to suppress safety refusals.
The compromised AI infrastructure was then used as backend capacity for attacks against downstream victims, while the exposed services also served as a source of stolen credentials and tokens. Researchers said they blocked attempted attacks on live targets and privately notified affected parties, warning that unauthenticated AI endpoints are now being abused both for credential theft and as operational infrastructure for malicious campaigns.
Why it matters
Impact assessment
Internet-facing AI inference and agent services are directly affected, especially deployments of Ollama, LiteLLM, OpenClaw, and LangServe exposed without authentication. The impact is high because attackers are using these systems both to steal sensitive tokens and environment variables and to repurpose compromised AI infrastructure as operational backend capacity for follow-on attacks.
The exposure appears broad rather than narrowly targeted: researchers observed hundreds of probing requests from 57 IP addresses across a six-month global honeypot deployment, and three separate operators hijacked exposed Ollama and LiteLLM instances between March and May 2026. Exploitation in the wild is confirmed, including attempted attacks on downstream victims that researchers said they blocked and privately disclosed.
Supporting facts
- Affected products/entities:
- Ollama
- LiteLLM
- OpenClaw
- LangServe
- Strix
- HexStrike
- OpenAI Codex
- Zenity Labs
- Affected populations:
- Organizations exposing AI inference or agent endpoints to the Internet
- Teams storing provider keys, master keys, AWS keys, or other secrets in environment variables on AI hosts
- Downstream victims targeted through compromised AI infrastructure
- Severity drivers:
- Credential and token theft from environment variables
- Remote code execution on exposed LiteLLM instances
- Abuse of compromised endpoints as attack infrastructure
- Potential financial impact from stolen model/provider access tokens
- Reputational and legal risk if compromised AI services are used to attack third parties
- Scope indicators:
- Hundreds of probing requests observed
- 57 source IP addresses involved in reconnaissance
- Three distinct operators observed hijacking exposed endpoints
- Known in-the-wild activity:
- Active scanning and exploitation observed by researchers
- Attempted downstream attacks launched through compromised endpoints
- Researchers blocked live attacks and notified affected parties

