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

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

See the repository for the options, CI and configuration.

Licensed under MIT.

Metadata

Release files for omerta 0.1.1

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.1
File Size Uploaded Provenance Actions
omerta-0.1.1.tar.gz 24.3 kB With provenance Details for omerta-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 51.6 kB

Release files / omerta-0.1.1.tar.gz

Download URL omerta-0.1.1.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e7bfd795e6cf15c0c87c01f824b3a4cdd47c5d66814907c3066ac0c1be08f5be
BLAKE2b-256 checksum
How to use checksums
53694cc7229041f3b0379d9e0d4c73e9ce69d330ea355aa5cd0e634b686c3292
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 26, 2026.

Transparency log

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

Download URL omerta-0.1.1-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07adf0014943a2252016d6c1929d764af1ee6bc0380bab6572a2c58088c3bcb3
BLAKE2b-256 checksum
How to use checksums
caba750f56681344318c3d7e570f081fe14c914ddb4a896c8b824d481eb107c7
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 26, 2026.

Transparency log

Security for omerta 0.1.1

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.1.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 26, 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