Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

I replaced GitPython with zlib and struct, and git's own file format fought back

I spent a weekend building a secret scanner that reads a git repository's object database directly. No GitPython, no pygit2, no shelling out to git.

  • Scanner developed to find API keys in Git repository history
  • Git's variable-length integer encoding and .pack file format posed challenges
  • Git garbage collection consolidated loose objects into .pack file, hindering scanner

More from Friday 4 September →