The breach isn’t the problem. The spread is. →Free Assessment

Executive Summary

On October 21, 2026, LiteLLM's release pipeline was compromised, resulting in the publication of malicious package version 1.107.0 to PyPI, Docker Hub, and GHCR. Attackers exploited GitHub CLI OAuth tokens that had been inadvertently logged by Claude Code in LiteLLM's internally exposed AI gateway deployment. Using these stolen credentials, the attacker disabled branch protections, redirected the signing workflow to a lookalike repository, and published a poisoned artifact embedding a credential stealer and a persistent RAT. Within 4.5 hours of exfiltration, attackers began validating stolen AWS credentials and performing LLMjacking reconnaissance against Bedrock and IAM services.

This incident underscores an emerging and underappreciated risk: AI coding assistants and LLM gateway proxies can inadvertently log sensitive authentication tokens, creating a new credential-leak surface. As enterprises accelerate AI adoption, supply-chain attacks targeting AI infrastructure tooling are becoming a primary threat vector, demanding stricter secrets hygiene, pipeline integrity controls, and real-time egress monitoring for developer environments.

Why This Matters Now

AI gateway tools like LiteLLM are now deeply embedded in enterprise CI/CD and cloud workflows, making them high-value supply-chain targets. The logging of OAuth tokens by AI coding assistants such as Claude Code introduces a novel, largely unmonitored credential-exposure vector. With LLMjacking incidents rising and attackers pivoting to AI infrastructure within hours of compromise, organizations must treat AI tooling logs as sensitive assets requiring the same egress controls and secrets hygiene applied to production systems.

Attack Path Analysis

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

Attackers accessed an internally exposed LiteLLM deployment that was reachable from the public internet. Claude Code had inadvertently embedded GitHub CLI OAuth tokens into LLM response bodies, which were then captured in LiteLLM's gateway logs, allowing the attacker to harvest valid credentials without directly breaching developer machines.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.

Aviatrix Zero Trust CNSF is directly relevant to this incident because the attacker's progression depended on unrestricted access to an exposed AI gateway, uncontrolled CI/CD trust boundaries, and unfiltered egress paths to attacker-controlled infrastructure. Had Zero Trust segmentation and controlled egress policies been in place, the attacker's reachability across pipeline, cloud, and Kubernetes environments would likely have been significantly constrained at multiple stages.

Initial Compromise

Control: Cloud Native Security Fabric (CNSF)

Mitigation: Inline traffic inspection across the AI gateway boundary could likely have flagged anomalous token patterns in outbound log pipelines, and URL-based access controls may have reduced reachability to the exposed internal LiteLLM deployment from unauthorized external sources.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Identity-aware segmentation policies enforcing least-privilege boundaries around CI/CD workflow permissions could likely have reduced the scope of what a single compromised token was permitted to authorize, constraining the attacker's ability to override branch protections from a stolen credential alone.

Lateral Movement

Control: East-West Traffic Security

Mitigation: East-west enforcement monitoring workload-to-workload interactions within the CI/CD pipeline could likely have detected the workflow's unexpected redirect to an unrecognized external repository, and service identity controls may have constrained the pipeline's ability to interact with repositories outside approved namespaces or identity boundaries.

Command & Control

Control: Multicloud Visibility & Control

Mitigation: Centralized traffic observability across cloud workloads could likely have identified the repeated periodic outbound calls to the GitHub dead drop as anomalous beaconing behavior, and FQDN-based egress filtering may have reduced reachability to the attacker-controlled C2 domain resolved through the dead drop mechanism.

Exfiltration

Control: Egress Security & Policy Enforcement

Mitigation: FQDN-based outbound filtering enforced at the egress boundary could likely have blocked HTTP POST traffic destined for the spoofed litellm[.]dev domain, and inline signature-based inspection may have reduced the likelihood of credential payload transmission reaching attacker-controlled infrastructure undetected.

Impact (Mitigations)

Had prior CNSF controls reduced the attacker's reachability across the AI gateway, pipeline, and egress boundaries, the pool of harvested credentials reaching the attacker would likely have been smaller, constraining the scope of cloud API access available for LLMjacking and IAM enumeration and reducing the overall blast radius of post-compromise activity.

Impact at a Glance

Affected Business Functions

  • AI Gateway and LLM Proxy Services
  • CI/CD Release Pipeline Integrity
  • Cloud Credential and IAM Security (AWS, Kubernetes)
  • Developer Toolchain and Software Supply Chain
Operational Disruption

Estimated downtime: 2 days

Financial Impact

Estimated loss: N/A

Data Exposure

The malicious LiteLLM v1.107.0 package deployed a credential-harvesting routine ('privcollect') that collected and exfiltrated system credentials, browser-stored secrets, developer tokens, cloud provider keys (including AWS instance role credentials from CI runners and Kubernetes nodes), and AI tool API keys via HTTP POST to the attacker-controlled domain 'litellm[.]dev/healthcheck'. Post-exfiltration, attackers validated stolen AWS credentials using sts:GetCallerIdentity and performed LLMjacking reconnaissance (bedrock:ListFoundationModels), and in a subset of environments conducted IAM enumeration (ListRoles, ListUsers, ListAccessKeys) and general cloud discovery (ListAccounts, DescribeTrails). Any developer or organization that installed an unpinned LiteLLM package between 11:39 and 13:23 UTC on October 21, 2026, or pulled affected Docker image tags (v1.107.0, latest, main-latest, main-stable) between 11:46 and 14:20 UTC is at risk of full credential compromise across cloud, AI, and developer environments. Financial loss is not confirmed at time of synthesis but exposure of cloud credentials at scale represents high potential for LLMjacking cost abuse and unauthorized resource provisioning.

Recommended Actions

  • • Apply CNSF Cloud Native Security Fabric inline enforcement and real-time inspection on AI gateway and LLM proxy log pipelines to detect and alert on inadvertent embedding of secrets, OAuth tokens, or credentials in AI agent response bodies before they reach persistent log storage.
  • • Enforce Egress Security and Policy Enforcement with strict FQDN allowlisting and outbound traffic controls on all CI/CD runner and Kubernetes node workloads to block unauthorized periodic beaconing to GitHub dead drops and unknown C2 domains, directly disrupting the RAT's hourly payload retrieval loop.
  • • Deploy Zero Trust Segmentation with identity-based policy and least-privilege controls across CI/CD pipeline service identities, enforcing that no single GitHub token can simultaneously hold branch protection override rights and workflow trigger permissions, minimizing blast radius from any single credential compromise.
  • • Enable Multicloud Visibility and Control with centralized traffic observability across cloud workloads and Kubernetes nodes to baseline normal cloud API call patterns and generate high-fidelity alerts on anomalous sequences such as sts:GetCallerIdentity followed by Bedrock LLM API enumeration, consistent with LLMjacking behavior observed post-exfiltration.
  • • Implement Kubernetes Security (AKF) pod-level egress controls and namespace enforcement to prevent compromised CI runner or Kubernetes node credentials from being used to make unauthorized outbound calls to cloud provider IAM and AI service APIs, and ensure all internal LiteLLM deployments are governed by Cloud Firewall (ACF) policies that block public internet exposure of administrative interfaces.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image