Leaked LiteLLM Master Key Let Attackers Steal GitHub Tokens and Hijack Release Pipeline

Executive Summary

In late May 2026, a configuration file containing LiteLLM’s Agent Platform master key was accidentally committed to the public LiteLLM‑Labs/lite‑harness GitHub repository. The exposed key enabled threat actors to authenticate to the deployment, push a malicious version of the popular Python package, steal GitHub access tokens, and hijack the release pipeline. The incident highlights the risks of accidental credential exposure in public code repositories.

Original Description

LiteLLM on Friday revealed that an Agent Platform master key accidentally published to a public GitHub repository in late May 2026 ultimately allowed the threat actor to push a malicious version of the popular Python package. "On May 27, 2026, a configuration file was committed to the public LiteLLM-Labs/lite-harness repository which inadvertently contained the master key to a deployment of