Skip to content
Developer toolsNew techTop 18% of today's analysed ideas

Pre-commit secret scanner for leaking .env files

Build a lightweight pre-commit hook or CLI that scans staged changes and commit history for leaked .env secrets, API keys and tokens before they hit git, with a GitHub Action and simple team dashboard for alerts. Target solo developers and small teams who don't have enterprise-grade secret scanning set up.

Original post

What to build

A lightweight CLI and pre-commit hook that scans staged changes and commit history for leaked .env secrets, API keys, and tokens, paired with a GitHub Action and a simple team dashboard for alerts — aimed at solo developers and small teams without enterprise secret-scanning setups.

Solo devs and small teams keep leaking secrets into git because existing secret-scanning tools are either enterprise-grade and costly, or CLI-only with no team visibility — there's room for a simple, affordable hook-plus-dashboard combo.

Demand

Solo developers and small teams shipping fast with AI tools are the ones most likely to accidentally commit .env files and API keys, and they want a drop-in safeguard without adopting enterprise security infrastructure.

  • Product HuntLaunch

    Product Hunt listing for omerta: 'Catch .env secrets leaking into git' — launched with discussion thread.

Stack

  • Node.js or Go CLI
  • Husky or native git hooks
  • GitHub Actions API
  • Regex/entropy-based secret detection (gitleaks rules as reference)
  • Supabase (dashboard + alert storage)
  • Next.js (team dashboard UI)

Solo + AI difficulty

Easy to get a basic regex-based scanner and pre-commit hook working in days; the GitHub Action wrapper is also quick. Harder parts are tuning detection to avoid false positives/negatives and building trust for repo access. Rough MVP: 1-2 weeks; dashboard adds another 1-2 weeks.

Entry threshold
Low barrier to build a regex/entropy-based scanner as a CLI or pre-commit hook in a few days; the real challenge is standing out against established free tools like gitleaks and GitHub's native secret scanning.
Window
ongoing, no specific trigger event

Where to find first users

  • Product Hunt launch
  • r/devops and r/webdev
  • Indie Hackers community
  • GitHub Marketplace listing for the Action

Competitors

Counter-signals & risks

  • Mature, widely-adopted free tools already exist in this space (gitleaks, trufflehog, git-secrets, GitHub's native secret scanning and push protection), raising the bar for differentiation.

  • Low opportunity score (0.45) and no historical match suggest limited validated signal strength or market pull.

  • Secret-scanning tools require deep repo and credential-adjacent access, creating liability/trust risk that may deter adoption without strong security credibility.

Original title: omerta

  • Developer tools#1

    Spend-capping proxy for AI API usage

    Build a lightweight proxy/middleware that sits between apps and AI providers (OpenAI, Anthropic, Gemini, fal, Replicate) to enforce daily and hourly spend caps per key, agent or customer, auto-detect runaway loops of repeated calls, and fire instant alerts via Telegram, email or Slack. Target indie AI builders and small teams running agents or video/image generation pipelines who currently have no way to cap spend below the provider's monthly limit.

    Demand
    6/10
    est.
    Buildability
    8/10
    est.
    Competition
    6/10
    est.
    via Reddit
    33 competitors
  • Developer tools#5

    Local memory layer for AI coding agents

    Build and sell a lightweight, local-first memory layer for coding agents (Claude Code, opencode, Cursor, Aider users) that persists project context across sessions without a daemon, cloud account, or LLM call. Ship it as a paid CLI/plugin with team-sync, encrypted cloud backup, or hosted search tiers for solo devs and small teams who want Claude Code-style memory without vendor lock-in.

    Demand
    1/10
    measured
    Buildability
    9/10
    est.
    Competition
    6/10
    est.
    via Hacker News
    33 competitors
  • Developer tools#7

    PR screening bot for AI-generated contributions

    Build a GitHub App or CI bot for open-source maintainers that scans incoming pull requests for signs of AI-generated code (boilerplate patterns, hallucinated APIs, inconsistent style, missing tests, template-like PR descriptions) and auto-labels or flags them for review, helping projects enforce new no-AI or disclose-AI-usage contribution policies. Secondary market: companies with internal contribution guidelines wanting the same triage on pull requests.

    Demand
    4/10
    measured
    Buildability
    7/10
    est.
    Competition
    10/10
    est.
    via Hacker News
    0No named competitors
Pre-commit secret scanner for leaking .env files — Nichr