CacheProbe: 审计网关API中的提示缓存隔离
CacheProbe: Auditing Prompt Cache Isolation in Gateway APIs
AI总结:
本文通过CacheProbe方法审计OpenRouter API网关架构,发现其共享组织凭证的路由机制可能绕过提供商级别的提示缓存隔离,导致全局缓存共享漏洞。
摘要:
在过去一年中,大型语言模型(LLM)推理API中的提示缓存变得越来越流行。提示缓存通过重用特定提示的KV缓存部分来处理另一个请求,从而节省宝贵的计算资源并加快响应时间。然而,许多提示缓存的实现无法抵御时序攻击甚至基本的元数据泄露。Gu等人(ICML 2025)开发了一种审计LLM中提示缓存的方法。本文研究OpenRouter的API网关架构是否引入了提示缓存漏洞,从而绕过了提供商级别的提示缓存隔离保证。大多数LLM推理提供商实现按账户或按组织的提示缓存以防止数据泄露,但通过OpenRouter使用共享组织凭证进行路由是否会在所有OpenRouter用户之间无意中创建全局缓存共享?
英文摘要:
Over the past year, prompt caching in Large Language Models (LLMs) has become increasingly more popular across inference APIs. Prompt caching helps save precious compute resources and speeds up response times by reusing parts of the KV cache of a specific prompt for another request. However, many implementations of prompt caching are not secure against timing attacks or even basic metadata disclosure. Gu et al. (ICML 2025) develop a method to audit prompt caching in LLMs. This paper investigates whether OpenRouter's API gateway architecture introduces prompt caching vulnerabilities that bypass provider-level prompt cache isolation guarantees. Most LLM inference providers implement per-account or per-organization prompt caching to prevent data leaks, but does routing through OpenRouter with shared organizational credentials inadvertently create global cache sharing across all OpenRouter users?
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。