Protecting AI apps from bots and bad actors with Vercel and Kasada
Mar 22, 2024

Summary
This post details the integration of Kasada's bot protection technology with Vercel's AI SDK Playground. It highlights the use of Next.js Middleware to enforce a 1st-party-request-only protocol, allowing for bot classification and blocking based on Kasada's analysis. The implementation resulted in a significant reduction of bot traffic from 84% to negligible levels. The post also discusses the threat vectors specific to AI applications, such as Denial of Wallet and Prompt Injection attacks, and Vercel's existing DDoS mitigation and Firewall capabilities.