National Cyber Warfare Foundation (NCWF)login

keyFinder for passive secret discovery while you browse


0 user ratings
2026-10-24 23:27:22
milo
Red Team (CNA)
"keyFinder

keyFinder is a passive browser extension for Chrome and Firefox that scans every page you visit for leaked API keys, tokens, and credentials, aimed at authorized testers and defenders.








Toolmomenbasel/keyFinder — passive API key and secret discovery browser extension for Chrome and Firefox
CategoryBrowser-based secret scanning / reconnaissance
Primary UsePassively surfacing accidentally leaked API keys, tokens, and connection strings during authorized web app testing, bug bounty recon, and review of your own applications.
Safe UseThe README's disclaimer restricts use to security research and authorized testing — finding leaked secrets on your own applications or during authorized penetration tests; extracted secrets must never be used against systems you do not own.
Telemetry NotePurely client-side and passive — it sends no traffic to targets, so it leaves virtually no server-side footprint; findings stay in local extension storage capped at 5000 entries, exportable only by the operator.

Browser-based secret leakage remains one of the quietest failure modes in web applications, and momenbasel/keyFinder attacks the problem from an unusual angle: instead of a CI pipeline scanner or a Burp extension, it embeds detection directly into the browsing session. Once installed as a Chrome or Firefox extension, it silently inspects every page the operator visits, looking for AWS access keys, GitHub PATs, Stripe secrets, OpenAI keys, JWTs, private keys, and dozens of other credential formats. The project has accumulated 716 stars, is written in pure vanilla JavaScript with zero dependencies, and ships under an MIT license, which matters for a tool you are deliberately placing inside your browser's trust boundary.


The detection corpus is the first thing worth examining: over 80 regex patterns defined in js/patterns.js, organized across cloud, source control, payments, communication, AI/ML, database, SaaS, infrastructure, crypto, and generic categories. Cloud coverage includes AWS access keys, secret keys, session tokens and Cognito material, Google Cloud API keys and OAuth values, and Azure storage keys, SAS tokens, and connection strings. Source control patterns target GitHub classic and fine-grained PATs plus OAuth tokens, GitLab PATs, pipeline and runner tokens, and Bitbucket credentials. Payment detection spans the full Stripe family — secret, publishable, restricted, and webhook keys — alongside PayPal Braintree and Square.


Communication and SaaS providers get equally thorough treatment: Slack bot, user, app tokens and webhooks, Discord bot tokens, Telegram, Twilio, and SendGrid keys, plus Shopify, Sentry, New Relic, PlanetScale, Linear, Notion, Datadog, Algolia, and Mapbox credentials. The AI category reflects how recent this tool's pattern set is: OpenAI, Anthropic, HuggingFace, and Replicate tokens are all covered — credential classes that barely existed as scanning targets a few years ago. Database connection strings for MongoDB, PostgreSQL, MySQL, and Redis round out the structured patterns, and a generic tier catches JWTs, Bearer tokens, Basic Auth headers, credential-bearing URLs, and raw private key formats like RSA, EC, OpenSSH, PGP, and DSA.


What elevates keyFinder above a naive regex overlay is the breadth of attack surfaces it monitors — ten per page load, per the README. It checks src attributes on script tags for tokens in query parameters, scans inline

 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.