Skip to main content

tesserakit-config

Inventory a project's configuration, check for leaked secrets, and report config drift.

tessera-config scans env files and source code, aggregates every configuration key, redacts secret values at load time, and reports the gaps between what is documented, what is set, and what is actually used. No code is executed and no network calls are made.

What it scans

  • Real env files (.env, .env.local, ...) → keys and (redacted) values.
  • Example files (.env.example, .env.sample, .env.template) → documented keys.
  • Source code (.py, .js, .ts, .rb, .go, ...) → env-var references: os.getenv("X"), os.environ["X"], os.environ.get("X"), getenv("X"), process.env.X, process.env["X"].

Secret safety

Values for secret-named keys (*TOKEN*, *SECRET*, *PASSWORD*, *API_KEY*, *CREDENTIAL*, ...) are masked before any record or artifact is written. The inventory shows (set) for non-secret values and a masked preview for secret ones; the raw value never leaves the source file.

Audit a project

tessera config audit --input . --output ./out/config_pack

Artifacts written:

config_inventory.jsonl   one ConfigKey per key (env/example/code flags, masked value)
index.md                 the inventory table
validation_report.md     findings (leaked secrets, drift)
coverage_report.md       documented %, used %, secret count
drift_report.md          used-but-undocumented / set-but-undocumented / documented-but-unused

Validation rules

  • possible_committed_secret — a secret-named key has a value in a real .env
  • secret_value_in_nonsecret_key — a value shaped like a secret (e.g. MY_THING=ghp_…) under a key whose name isn't secret-like; name-based detection alone would miss it
  • missing_in_example — used in code but not documented in any .env.example
  • undocumented_env_key — set in .env but not in any example
  • unused_documented_key — documented in an example but never used or set
  • no_config_keys — nothing found

Secret detection screens values by shape (AWS/GitHub/Slack/Stripe/JWT/etc. + a conservative high-entropy heuristic) in addition to key names, with UUIDs excluded.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesserakit_config-0.4.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesserakit_config-0.4.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file tesserakit_config-0.4.0.tar.gz.

File metadata

  • Download URL: tesserakit_config-0.4.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tesserakit_config-0.4.0.tar.gz
Algorithm Hash digest
SHA256 70a547fbc3503f053463001abbff9303c54ee28d520f08af44e5e8aa8b0734e6
MD5 77ba082ae7c228fe0a517310b4282681
BLAKE2b-256 9a18c29810b98ca86d610e55008aaf67251cc5be4a18376eebb8710eaa46f8a3

See more details on using hashes here.

File details

Details for the file tesserakit_config-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_config-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1535e2565266e4dc5ab7aab0479a586050f55f179f991637f6623350f6afcaee
MD5 7c424378b0641004713e1d1b2e4ffa12
BLAKE2b-256 3565402d9fd7d6858d6ee0291e75170119427461291cb865eac3dc7cd28f8940

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page