Vercel AI Gateway adds canary audits to detect prompt leakage
Vercel introduces a detection layer for Zero Data Retention compliance, using unique URLs to verify if inference providers read data outside the secure path.
Vercel has updated its AI Gateway with a new security feature called "canary audits" designed to detect when prompt content is read by inference providers outside the intended inference path. This mechanism addresses a gap in traditional compliance: while contractual Zero Data Retention (ZDR) agreements and point-in-time security audits establish how a provider should handle data, they do not continuously verify that these rules are being followed in production infrastructure that changes frequently.
The process works by minting unique URLs that exist nowhere else, each privately mapped to a specific provider, model, and audit run. These URLs are embedded in prompts sent through the normal inference path. For providers covered by ZDR agreements, the system expects no traffic to these canary URLs, as retaining or inspecting prompt content would violate the agreement. Non-ZDR pairs are included as positive controls to ensure the detection mechanism itself is functioning. Any request to a canary URL is recorded, identifying the provider and model for investigation.
Vercel states that these canary audits complement existing contractual ZDR agreements and independent audits rather than replacing them. This addition provides an active detection layer for enterprise customers relying on Vercel's AI Gateway to manage interactions with various large language model providers, offering a technical means to verify privacy commitments beyond legal documentation.