leaklatch
  1. Home
  2. How it works

How it works

Five steps, in the order they run.

Each step is useful on its own. A team can stop after the inventory and still know more than it did.

  1. Connect through official sign-in

    Install the GitHub App, the Vercel integration or the Railway integration, or create an AWS read-only role from a template. Nobody pastes a key. Every connection is read-only until you approve a change.

  2. Build the inventory

    Every repo, every branch, the full commit history, CI workflow files, and every environment variable in every environment of every project. Each key found is stored as a fingerprint: the provider, the last four characters, and a SHA-256 hash. The raw value is read, checked and discarded.

  3. Check each key

    A few read-only requests to the provider, never a charge or a write. For Stripe that is the account, balance and list endpoints. For AWS it is GetCallerIdentity, GetAccessKeyLastUsed and a permission simulation. For OpenAI, Anthropic, GitHub, Railway and Vercel it is the user, repos, teams, models or organisation endpoints. The result says live or dead, live or test mode, which account, what the key can do, and a risk level with the reason.

  4. Rotate with one approval

    The order is what keeps production up. Create the new key. Write it to the environment store. Redeploy. Check health. Only then revoke the old key. Where the provider has an API for new keys (AWS, OpenAI, Anthropic admin keys) this runs on its own. Where it does not (Stripe, GitHub) you get the exact console steps and the tool does the rest.

    When a platform is breached, pick the platform and every key stored there goes through this flow under one approval.

  5. Watch what each key does

    Spend and usage per key from the provider's own logs: AWS CloudTrail, OpenAI and Anthropic usage, Stripe events. An alert to Slack or email when a key is used from a new place or spends faster than before. Spend caps set at the provider where the API allows it.

What exists today. Steps 2 and 3 run now as a command line tool for Stripe, AWS, OpenAI, Anthropic, GitHub, Railway and Vercel keys. The hosted connections, rotation and watching are in early access.

Be one of the first teams connected

Free during early access.

Get early access