Search papers, labs, and topics across Lattice.
This study investigates the prevalence of LLM API key leakage in iOS applications, revealing that 282 out of 444 analyzed apps expose exploitable credentials. Using the LLMKeyLens framework, the authors identified three primary leakage patterns: JWT-based token leakage, unauthenticated backend proxy access, and plaintext API key transmission. Despite responsible disclosure efforts, 72% of the vulnerable applications remained unremediated three months later, highlighting a significant gap in secure development practices in the iOS ecosystem.
A staggering 282 iOS apps leak LLM API credentials, with only 28% remediating vulnerabilities after responsible disclosure.
The rapid integration of large language models (LLMs) into mobile applications has introduced a new class of credential security risk: leaked credentials that grant unauthorized access to LLM inference services, causing financial damage to developers. Prior work on credential leakage has focused primarily on Android apps; to date, no empirical study has systematically investigated LLM API key leakage in iOS applications. We present the first in-depth empirical study of API key leakage in LLM-integrated apps. We construct a high-quality dataset of 444 iOS applications, filtered from 1092 candidates through a standardized process, and develop LLMKeyLens, a dynamic analysis framework that detects LLM API key leakage via traffic interception, provider-specific key extraction, and active validity confirmation, requiring neither source code access nor binary decryption. Our analysis reveals that 282 applications expose exploitable LLM API credentials in network traffic, spanning at least ten providers. We identify three leakage patterns: JWT-based token leakage (48%), unauthenticated backend proxy access (33%), and plaintext API key transmission (19%). To assess remediation, we re-analyzed the same 282 vulnerable applications three months after responsible disclosure; only 28% had remediated the reported vulnerability, while 72% remained exploitable, with persistent issues stemming from unauthenticated backends and broken JWT implementations. Our findings show that LLM API key leakage is both prevalent and persistent in the iOS ecosystem, exposing a systemic gap between developer practice and secure integration principles, and suggest that secure LLM integration requires not only developer awareness but also explicit security guidance from providers and platform-level enforcement.