{"by":"amaldavid","descendants":7,"id":45786192,"kids":[45786965,45787725],"score":30,"text":"I built this after seeing multiple teams accidentally ship API keys in their frontend code.<p>The problem: Modern web development moves fast. You&#x27;re vibe-coding, shipping features, and suddenly your AWS keys are sitting in a &lt;script&gt; tag visible to anyone who opens DevTools. I&#x27;ve personally witnessed this happen to at least 3-4 production apps in the past year alone.<p>KeyLeak Detector runs through your site (headless browser + network interception) and checks for 50+ types of leaked secrets: AWS&#x2F;Google keys, Stripe tokens, database connection strings, LLM API keys (OpenAI, Claude, etc.), JWT tokens, and more.<p>It&#x27;s not perfect, there are false positives but it&#x27;s caught real issues in my own projects. Think of it as a quick sanity check before you ship.<p>Use case: Run it on staging before deploying, or audit your existing sites. Takes ~30 seconds per page.<p>MIT licensed, for authorized testing only.<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;Amal-David&#x2F;keyleak-detector\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;Amal-David&#x2F;keyleak-detector</a>","time":1762037542,"title":"Show HN: KeyLeak Detector – Scan websites for exposed API keys and secrets","type":"story","url":"https://github.com/Amal-David/keyleak-detector"}