KeyDrift is used to discover API keys and secrets left behind by AI programming tools in client-side JavaScript bundles. It reads the JavaScript files actually served by the application, rather than the code repository, so it can uncover keys leaked when frameworks such as Next.js inline variables like NEXT_PUBLIC_ into the bundle at build time, making them downloadable by every visitor.
Main capabilities include: scanning deployed HTML and JavaScript to find keys for services such as Supabase, Stripe, OpenAI, AWS, and more; identifying public credential formats (such as Supabase anon key, Stripe publishable key, Firebase web key) and intentionally excluding them to avoid false positives; not storing live keys, with findings retaining only masked prefixes and fingerprints; supporting checks against only public resources without requiring private infrastructure permissions; and allowing scans to be started via URL or by pasting a code bundle directly, with a free first scan requiring no account.
How to use: provide a URL on the website or paste a JavaScript bundle to scan. Paid plans offer continuous monitoring: the Indie plan is $29 per month or $290 per year, monitors up to 3 applications, up to 40 code blocks per scan, and supports email and Slack alerts; the Team plan is $89 per month or $890 per year, monitors up to 15 applications, scans every 15 minutes, up to 150 code blocks each time, supports email, Slack, Discord, and webhook alerts, and provides human support. The Growth plan starts at $249 per month, is aimed at platforms needing greater coverage, and is quoted per deployment. The first 100 founding customers can lock in a 25% annual discount. All plans will not withhold findings.
Applicable scenarios include: applications built with AI building tools such as Lovable, Bolt, Cursor, Replit, or v0, which may accidentally place keys in browser-side code; teams needing continuous monitoring of client-side bundles to promptly discover newly introduced leaks; and developers wanting to distinguish真正的机密泄露与应当公开的客户端凭证。
Limitations: currently only targets publicly accessible client-side resources, and will not read private infrastructure or code repositories; keys are not stored, so the full original key cannot be viewed; the free plan provides only read-only public checks and does not include continuous monitoring; the Growth plan'sSpecific details are not fully provided; contact us for a quote.