← Lab /Software

LLM API keys leaked in 282 of 444 iOS apps, 72% remain vulnerable after disclosure

LLM API key leakage is prevalent and persistent in iOS applications

Software arXiv 10 Jun 2026 Measurement Prototype evidence

Published as “Mind your key: An Empirical Study of LLM API Credential Leakage in iOS Apps”

Why it matters

Developers must adopt authenticated backend proxies and correct JWT lifetimes, while LLM providers should supply secure integration guidance and anomaly detection to prevent financial abuse.

Summary

64% of the 444 iOS apps that embed LLM functionality expose credentials in network traffic, and only 28% of those vulnerable apps were fixed after responsible disclosure. The study used a dynamic MITM-based analysis (LLMKeyLens) to capture and validate leaked keys, confirming full exploitability for 52% of the leaking apps. Evidence is based on a real-world sample of 444 apps, but the authors note that many apps bypass interception, so the prevalence figure is a lower bound.

What they found 3

  1. 64% of examined iOS LLM apps leak credentials in network traffic

    “Our analysis reveals that 282 applications expose exploitable LLM API credentials in network traffic”

  2. Only 28% of vulnerable apps remediated after disclosure

    “28% of vulnerable Apps showed evidence of remediation after three months of responsible disclosure.”

  3. JWT-based token leakage is the most common pattern (48%)

    “48% of the apps leaked JWT-based tokens that enabled LLM API service abuse”

Caveats 4

  • 85 of 143 protected Apps (59%) resisted all interception attempts, meaning our reported leakage rates represent a lower bound on the true prevalence.
  • LLMKeyLens relies on MITM proxy interception, so it can miss the Apps that employ HTTP proxy bypass and route traffic outside the system proxy.
  • Our leakage definition is scoped to credentials observable in intercepted network traffic, and does not account for server-side vulnerabilities or credentials stored insecurely ondevice.
  • Our dataset comprises 444 LLM-integrated iOS Apps collected from the US App Store in Oct 2025.

What’s new here 4

  • First systematic empirical study of LLM API key leakage on iOS, where static analysis is hindered by FairPlay DRM.
  • Introduces LLMKeyLens, a dynamic traffic-interception framework that extracts and actively validates credentials without jailbreaking.
  • Classifies leakage patterns (JWT tokens, unauthenticated proxies, plaintext keys) and measures real-world exploitability.
  • Tracks remediation over a 90-day period after responsible disclosure, revealing low fix rates.