Product upvotes vs the next 3

Waiting for data. Loading

Product comments vs the next 3

Waiting for data. Loading

Product upvote speed vs the next 3

Waiting for data. Loading

Product upvotes and comments

Waiting for data. Loading

Product vs the next 3

Loading

omerta

Catch .env secrets leaking into git

Catchenv secrets leaking into git: a pre-commit hook and CLI that fails when an API key or any value of your env files is staged, tracked or anywhere in the history. Your real values, not patterns.

Top comment

Hi Product Hunt, I'm Sergii. omerta is a free, open-source CLI and pre-commit hook that answers one question: is any value from my .env in git?

Secret scanners such as gitleaks and TruffleHog look for strings shaped like keys. Many secrets have no shape: a smaller provider's API key, a storage bucket's name, an organisation ID, a database password. And a key that does leak often turns up encoded, inside a URL or a recorded test fixture.

omerta takes the other route. It reads the values of your env files and searches git for exactly those, as written and as encoded in URLs, JSON and base64:

• omerta check: the staged changes, as a pre-commit hook

• omerta check --all: every tracked file

• omerta history: every commit, tag and commit message

It reports the file, the line and the variable's name, never the value. A committed .env counts as a leak in itself.

Fully offline. Fast (with hyperscan).

With uv installed, try it in any repository:

uvx omerta check --all

uvx omerta history

It runs with pre-commit, Husky, Lefthook or GitHub Actions, on Linux, macOS and Windows, under the MIT licence.

I'd value your feedback!

About omerta on Product Hunt

“Catch .env secrets leaking into git”

omerta launched on Product Hunt on October 26th, 2026 and earned 86 upvotes and 7 comments, placing #14 on the daily leaderboard. Catchenv secrets leaking into git: a pre-commit hook and CLI that fails when an API key or any value of your env files is staged, tracked or anywhere in the history. Your real values, not patterns.

On the analytics side, omerta competes within Open Source, Developer Tools and GitHub — topics that collectively have 632.4k followers on Product Hunt. The dashboard above tracks how omerta performed against the three products that launched closest to it on the same day.

Who hunted omerta?

omerta was hunted by Sergii Shcherbak. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

For a complete overview of omerta including community comment highlights and product details, visit the product overview.