Now on AppleNow on AndroidScan free

← All posts

Leaked GitHub token? Ember's two-minute check

What if a GitHub token escaped into JavaScript, a public .env, or your repo? Detective Ember noses in.

GitHub says never hardcode credentials or push unencrypted tokens — even to a private repository.

The two-minute check

  1. Look for classic ghp_ or fine-grained github_pat_ tokens. Leaked? Generate a replacement, replace it everywhere, then delete the compromised token. Our guide walks through it.
  2. Prefer a fine-grained token with only the repositories and permissions you need, and an expiration. Check Settings → Security log for unfamiliar actions from the last 90 days.
  3. Then scan your own app on SniffPup for other exposed secrets.

Full fixes free for every critical issue (no critical? one other fix is free).

Want one 2-minute check like this every morning? Sign up below.

Named after Ember, my black Pomeranian. Built by a software engineer and vibe-coding hobbyist to help you ship safely.