Dragos Study Reveals AI Inference Intermediaries Leak AWS Keys, Expose Prompts; OpenRouter Revokes ZDR for 125 Endpoints

·
·
3 min read
·
AI-assisted
Author Profile
by Albert Schaper
Share
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

About the Author

Albert Schaper avatar

Written by

Albert Schaper

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 Albert

Was this article helpful?

Found outdated info or have suggestions? Send us a note.

Discover AI Tools

Find your perfect AI solution from our curated directory of top-rated tools

Less noise. More results.

One monthly email with the industry news tools that matter - and why.

No spam. Unsubscribe anytime. We never sell your data. See our Privacy Policy.

What's Next?

Continue your AI journey with our tools and resources. Whether you're looking to compare AI tools, learn about artificial intelligence fundamentals, or stay updated with the latest AI news and trends, see what fits your needs. Explore our curated content to find the right AI tools for your workflow.