Skip to main content

omerta

Catch .env 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.

uvx omerta check --all    # every tracked file
uvx omerta history        # every commit, tag and message
  • Matches your actual values, as written and as encoded in URLs, JSON and base64, so it catches secrets of any format; it complements pattern scanners, which find what looks like a key.
  • Reports the file, the line and the variable's name, never the value; a tracked env file is a leak in itself.
  • Runs entirely offline.

As a pre-commit hook:

repos:
  - repo: https://github.com/shcherbak-ai/omerta
    rev: v0.1.3
    hooks:
      - id: omerta

With Husky, Lefthook or a plain git hook: uvx omerta@0.1.3 check.

See the repository for the options, CI and configuration.

Licensed under MIT.

Metadata

Release files for omerta 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omerta 0.1.3
File Size Uploaded Provenance Actions
omerta-0.1.3.tar.gz 25.9 kB With provenance Details for omerta-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omerta 0.1.3
File Interpreter ABI Platform Actions
omerta-0.1.3-py3-none-any.whl Python 3 none any Details for omerta-0.1.3-py3-none-any.whl

Total release size: 55.2 kB

Release files / omerta-0.1.3.tar.gz

Download URL omerta-0.1.3.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d04669a42db4c36e77064b3bb49f198c3e4c8d7ac0ca90f370f66593d5277d86
BLAKE2b-256 checksum
How to use checksums
aecc4c83564057b687be639001919df604e5453dbddc2ccef99047cfae78a843
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / omerta-0.1.3-py3-none-any.whl

Download URL omerta-0.1.3-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bab22650f731a2f79266334957855a8a87337ea2f81d2f694092c8b588eff9fb
BLAKE2b-256 checksum
How to use checksums
30041cceb27b0149773bc2a41fca04569d91502ff4579c5cdd6f344b56f8e4ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for omerta 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omerta-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page