Key Info

LiteLLM introduced a new capability that scrubs secret-named fields (e.g. subscription_key, connectionString) from provider error payloads, preventing rejected requests from returning credentials to the caller.

Highlights

  • Extends LiteLLM's existing data-protection features: guardrails strip PII and API keys from requests, optional log redaction hides prompts and key details, and virtual keys are hashed with model credentials encrypted at rest.
  • The new change targets error payloads specifically, a common leak path when upstream providers echo request details back.
  • Implemented via a public pull request linked in the announcement.