frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: KeyLeak Detector – Scan websites for exposed API keys and secrets

https://github.com/Amal-David/keyleak-detector
18•amaldavid•9h ago
I built this after seeing multiple teams accidentally ship API keys in their frontend code.

The problem: Modern web development moves fast. You're vibe-coding, shipping features, and suddenly your AWS keys are sitting in a <script> tag visible to anyone who opens DevTools. I've personally witnessed this happen to at least 3-4 production apps in the past year alone.

KeyLeak Detector runs through your site (headless browser + network interception) and checks for 50+ types of leaked secrets: AWS/Google keys, Stripe tokens, database connection strings, LLM API keys (OpenAI, Claude, etc.), JWT tokens, and more.

It's not perfect, there are false positives but it's caught real issues in my own projects. Think of it as a quick sanity check before you ship.

Use case: Run it on staging before deploying, or audit your existing sites. Takes ~30 seconds per page.

MIT licensed, for authorized testing only.

https://github.com/Amal-David/keyleak-detector

Comments

basilikum•7h ago
> I've personally witnessed this happen to at least 3-4 production apps in the past year alone.

There is something seriously wrong in your organization when that's a repeating pattern. Secrets don't just accidentally make their way into the frontend unless the way you manage secrets is fatally flawed. Offensive security tools are great for finding issues by playing the role of an adversary, but they are not the solution to such an already known grave, fundamental, organizational problem.

hrimfaxi•7h ago
You're not wrong. How are these things passing review? Are prs too big and should be broken down into more manageable pieces? Or people just yolo to prod?

Secrets exposure is just one of your problems if there are not processes in place to catch this upstream.

That being said, this is a show hn and we should be gentler with criticism. The tool is still very useful even for mature organizations to identify blind spots and process failures.

amaldavid•4h ago
Yep, Github does a wonderful job flagging secrets most times but irrespective of that this is happening in some sites. This was built out of personal curiosity and I had put it out for public because I myself was not aware if this will be actually useful and if so in what form. People do YOLO to prod, we have more kids building AI wrappers than I can count, and somewhere in that chaos secrets slip through the cracks.

Ideally I would have loved this to be a chrome plugin or part of the CI/CD pipeline or put it out as an adversary agent for all of these new vibe coded apps but don't think I'm that vested into the idea yet. Thanks for being gentle :)

amaldavid•4h ago
Well, when i meant "personally" not in the app I manage. I have a quirk of checking sites to understand what they are using and how they are using and have stumbled upon sites with exposed Gemini, Google Maps, OpenAI keys etc.

https://news.ycombinator.com/item?id=45741569 - It was also partly inspired by this as I have seen legacy sites making these mistakes quite often.

With all the vibe coded apps that are getting launched or were launched early, there are enough holes to plug. This is just an attempt to help individuals or orgs to ensure they are not exposed. Just pushed it out what I had in mind based on my experience.

And I agree with you that an adversary approach won't work if we can't fix the underlying problem but the world has changed with enough vibe coded apps that are getting shipped everyday and very little of them care or know about security.

toomuchtodo•4h ago
How does this compare to https://github.com/gitleaks/gitleaks ?
amaldavid•3h ago
Gitleaks is too good to be compared to this, the only areas where keyleak is comparable is it does runtime detection where sometimes your build process injects secrets via env vars into the bundle or any of your responses expose a config file or secrets.

Show HN: Why write code if the LLM can just do the thing? (web app experiment)

https://github.com/samrolken/nokode
302•samrolken•14h ago•215 comments

Show HN: Strange Attractors

https://blog.shashanktomar.com/posts/strange-attractors
749•shashanktomar•1d ago•73 comments

Show HN: KeyLeak Detector – Scan websites for exposed API keys and secrets

https://github.com/Amal-David/keyleak-detector
18•amaldavid•9h ago•6 comments

Show HN: A simple drag and drop tool to document and label fuse boxes

https://github.com/alexadam/fuse-box-labels
13•eg312•1d ago•3 comments

Show HN: Duper – The Format That's Super

https://duper.dev.br/
20•epiceric•9h ago•10 comments

Show HN: Find and download fonts from any website (weekend project)

https://typecatch.com
11•zdenham•10h ago•0 comments

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
115•lchoquel•4d ago•24 comments

Show HN: UnisonDB – Log-native KV database that replicates like a message bus

https://unisondb.io
10•ankuranand•13h ago•0 comments

Show HN: I made a YouTube thumbnail always display the latest comment [video]

https://www.youtube.com/watch?v=HbUgsprjNVY
2•dotspencer•2h ago•0 comments

Show HN: In a single HTML file, an app to encourage my children to invest

https://roberdam.com/en/dinversiones.html
243•roberdam•2d ago•430 comments

Show HN: Quibbler – A critic for your coding agent that learns what you want

https://github.com/fulcrumresearch/quibbler
112•etherio•2d ago•26 comments

Show HN: Micro-RLE ≤264-byte compression for UART/MCU logs, zero RAM growth

https://github.com/CoreLathe/Micro-RLE
7•CoreLathe•13h ago•2 comments

Show HN: Proxmox-GitOps: Container Automation Framework

https://github.com/stevius10/Proxmox-GitOps
4•gitopspm•14h ago•1 comments

Show HN: Settling the Score – A point-and-click adventure rhythm game

https://easel.games/@raysplaceinspace/settling-the-score/
19•BSTRhino•5d ago•7 comments

Show HN: Run a GitHub Actions step in a gVisor sandbox

https://github.com/geomys/sandboxed-step
85•FiloSottile•1w ago•3 comments

Show HN: Learn German with Games

https://www.learngermanwithgames.com/
122•predictand•3d ago•104 comments

Show HN: Front End Fuzzy and Substring and Prefix Search

https://github.com/m31coding/fuzzy-search
54•kmschaal•4d ago•4 comments

Show HN: I made a heatmap diff viewer for code reviews

https://0github.com
262•lawrencechen•2d ago•68 comments

Show HN: Just vibe coded a HN TV dashboard

https://github.com/fellowgeek/hacker-news-dashboard
2•pcbmaker20•14h ago•0 comments

Show HN: Bash Screensavers

https://github.com/attogram/bash-screensavers
245•attogram•4d ago•77 comments

Show HN: Research Hacker News, ArXiv & Google with Hierarchical Bayesian Models

https://sturdystatistics.com/deepdive-search
83•kianN•4d ago•23 comments

Show HN: LocalSend Alternative Built with Iroh

https://github.com/tonyantony300/alt-sendme
4•SandraBucky•17h ago•0 comments

Show HN: ekoAcademic – Convert ArXiv papers to interactive podcasts

https://www.wadamczyk.io/projects/ekoacademic/index.html
52•wadamczyk•2d ago•14 comments

Show HN: ISS in Real Time – 25 Years Aboard the International Space Station

https://issinrealtime.org
160•bfeist•5d ago•24 comments

Show HN: C Generic Queue Data Structure

https://github.com/kostakis/Generic-Queue
2•kostakisgr•19h ago•0 comments

Show HN: Chess960v2 – Stockfish tournament with different starting positions

https://chess960v2.com/en
3•lavren1974•19h ago•4 comments

Show HN: Text Generator – online font generator

https://text-generator.app/
19•epistemovault•1d ago•2 comments

Show HN: Build your own Bracket City puzzle

https://builder.bracket.city
30•brgross•1d ago•8 comments

Show HN: Ellipticc Drive – open-source cloud drive with E2E and PQ encryption

https://ellipticc.com
20•iliasabs•2d ago•13 comments

Show HN: Status of my favorite bike share stations

https://blog.alexboden.ca/toronto-bike-share-status/
49•alexboden•1w ago•8 comments