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.2
    hooks:
      - id: omerta

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

See the repository for the options, CI and configuration.

Licensed under MIT.

Metadata

Release files for omerta 0.1.2

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.2
File Size Uploaded Provenance Actions
omerta-0.1.2.tar.gz 24.8 kB With provenance Details for omerta-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 52.8 kB

Release files / omerta-0.1.2.tar.gz

Download URL omerta-0.1.2.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b516915844022f840a5168175f70f6adbcd731b432809ae4f7c3a9b137ba510
BLAKE2b-256 checksum
How to use checksums
958a1862ce5f2d224639f3aaff4b7d9051d4ac8b1cd6165316587574559a5e7e
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 Oct 27, 2026.

Transparency log

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

Download URL omerta-0.1.2-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e23ce4ab3b22e9d54a91db06dff6ebb331847a2db769b10e3d5423c15f7b1846
BLAKE2b-256 checksum
How to use checksums
d9cd6b47dda4b46d55ce648cee726f2310727b3ba8846874dc47dbfed91a4d05
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 Oct 27, 2026.

Transparency log

Security for omerta 0.1.2

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.2.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 Oct 27, 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