Skip to content
All projects
Security / Developer ToolsCompletedShipped Aug 2026

Secret Scanner

Paste code, config, or a diff and find hardcoded secrets — API keys, tokens, private keys — by pattern and entropy, entirely in your browser. Nothing uploaded.

Proposed stack

  • Next.js
  • TypeScript
  • Tailwind CSS
  • Client-side parsing

Goal

Help developers catch leaked secrets before they land, without sending sensitive code anywhere.

Overview

Paste code, a config file, or a git diff and the scanner flags likely hardcoded secrets using a library of regex patterns plus a Shannon-entropy check for high-entropy strings.

Findings list the secret type, line, a masked preview, and severity, with matches highlighted in the input.

A redacted-copy output replaces all detected secrets. Everything runs in memory in the browser — nothing is uploaded, stored, or logged.

Architecture

Paste Code → Pattern + Entropy Scan → Findings → Redacted Output

Detection runs entirely in the browser — sensitive code is never uploaded, stored, or logged.

Key features

  • Paste code, config, or a git diff.
  • Pattern-based detection (AWS, GitHub, Stripe, private keys, JWTs…).
  • Shannon-entropy detection for high-entropy strings.
  • Findings with type, line, masked preview, and severity.
  • Redacted-copy output.
  • 100% client-side — nothing uploaded.

Technical challenges

  • Balancing pattern + entropy detection against false positives.
  • Covering the common secret formats without excessive noise.
  • Keeping everything client-side for privacy.

How it's built

  • 1Next.js + TypeScript + Tailwind with an in-browser scanner.
  • 2A library of secret patterns plus Shannon-entropy scoring.
  • 317 detection tests; verified in the browser.

Interested in this work?

Happy to talk through the design, trade-offs, and implementation plan.

Get in touch