Dragos Study Reveals AI Inference Intermediaries Leak AWS Keys, Expose Prompts; OpenRouter Revokes ZDR for 125 Endpoints
Security researchers at Dragos uncovered critical vulnerabilities in AI inference intermediaries, revealing that these services leak API keys and snoop on user prompts. From July to November 2026, Dragos planted two million fake credentials (canary tokens) in AI requests, identifying at least three compromised providers actively harvesting user data, including hundreds of AWS keys and attempts to access S3 storage.
AI Intermediaries Compromised
The Dragos research highlighted how routing AI traffic through certain intermediaries can expose the full content of user requests, including sensitive credentials, to unknown third parties. Attackers were observed harvesting hundreds of AWS keys, with some being tested within hours of exposure. These keys were then used to browse S3 storage and attempt to gain persistent access to user environments.
The study also uncovered that a Chinese AI lab accessed secret test URLs in over half of all requests, even when these requests were routed through US-based providers. One specific test link appeared in an internal Feishu (Lark) chat 24 days later and was opened within two minutes on three computers and three phones located in Beijing and Shanghai, demonstrating the extent of data exfiltration and monitoring.
Broken Privacy Promises and Data Retention Issues
The investigation found that privacy assurances, such as "Zero Data Retention" (ZDR), were frequently not upheld in practice. Marketplace resellers, by listing models at the lowest price with logging enabled, could read customer requests. Furthermore, one major US provider continued to crawl a Dragos test URL for more than two months after a single request, indicating prolonged data retention beyond user expectations.
In response to these findings, OpenRouter removed three providers from its platform and revoked ZDR approval for 125 endpoints. Novita, Phala, and Together also published preliminary incident reports acknowledging the issues.
Recommendations for Secure AI Integration
Dragos emphasizes that prompt routing should be considered a critical security decision, not merely a cost-saving measure, for teams building on third-party model APIs. To mitigate risks, Dragos recommends several key practices:
- Never send credentials through AI intermediaries.
- Maintain strict control over AI request routing.
- Regularly check and configure privacy settings for AI services.
- Implement canary tokens to detect unauthorized data access.
These measures are crucial for protecting sensitive information when interacting with AI models through third-party services. Organizations should prioritize understanding the data handling practices of their chosen AI providers and intermediaries.
Conclusion
The Dragos study underscores the critical security challenges associated with using AI inference intermediaries. The findings reveal that API keys and user prompts are vulnerable to leakage and unauthorized monitoring, highlighting the need for robust security practices. As the AI landscape evolves, organizations must exercise caution and implement stringent controls to safeguard their data and maintain the integrity of their AI operations. Prioritizing secure routing and data handling is essential for mitigating these emerging threats.
Sources
- Consumer, Commercial and Industrial IoT (In)Security: Attack Taxonomy and Case Studies
- [2205.11783] Smart Grid: Cyber Attacks, Critical Defense Approaches, and Digital Twin
- Hackers Tied to Russia's GRU Targeted the US Grid for Years, Researchers Warn | WIRED
- Russia's Cyberwar on Ukraine Is a Blueprint for What's to Come | WIRED
- Dragos Inc - Company Profile and News - Bloomberg Markets
Recommended AI tools
n8n
Productivity & Collaboration
Open-source workflow automation with native AI
DeepL
Writing & Translation
The world’s most accurate AI translator
Gemini Enterprise Agent Platform
Data Analytics
Google Cloud’s enterprise platform for building and running AI agents — formerly Vertex AI.
CustomGPT.ai
Conversational AI
Create Custom AI Chatbots From Your Business Data in Minutes
Aura
Search & Discovery
Intelligent Digital Safety for the Whole Family
hCaptcha
Code Assistance
Privacy-first bot protection
About the Author

Albert Schaper is a co-founder of Best-AI.org. He focuses on product strategy, AI adoption, practical tool selection, and educational content that helps users compare AI products with clearer context.
More from AlbertWas this article helpful?
Found outdated info or have suggestions? Send us a note.