Skip to content

gitghost v1.4.0

Choose a tag to compare

@cy3erm cy3erm released this 25 Aug 18:05
· 6 commits to main since this release

What's new since v1.3.0:

Force-push recovery (the big one)

  • Force-pushed a secret away? No clone contains it anymore — but your recent public push events still list the orphaned commit SHAs, and GitHub still serves those commits when fetched by SHA
  • gitghost now pulls your recent PushEvents, fetches every orphaned commit into the clone, and scans exactly what the force-push tried to bury: only blobs missing from HEAD are reported
  • Findings carry a "removed via force-push" badge in the dossier and count as their own score driver

Gist revision history

  • Secrets you edited out of a gist stay readable at the old revision URLs — deleting is not rotating
  • Every gist's edit history is now walked; secrets that only exist in past revisions are flagged as ghosts (labeled gist:<id>/<rev>) and deduped against the current version

Profile enrichment

  • Public name, company, location, blog, twitter, account age, follower/repo counts — shown in the console during identity scans and in the dossier header

Under the hood

  • 18 tests (up from 16), including an offline orphan-commit recovery test that reproduces the force-push scenario with real git objects
  • Green on Python 3.10–3.12, zero dependencies as always

Everything from earlier releases still applies: detection-only, public data only, findings shown as non-reversible fingerprints. Rotate, don't delete.

pipx install git+https://github.com/cy3erm/gitghost
gitghost