Follow on Instagram

10 Nov 2026 · Reel notes

The $400 morning: I pushed an API key to a public repo

My AI agent revoked my git access. Honestly? Fair. 🔒

If you ever push an API key to a public repo:

  1. Kill the old key (deleting the commit does NOT delete the key)
  2. Make a new one
  3. Put it in a .env file
  4. Add .env to .gitignore

Bots scan GitHub for keys within minutes. Two-minute fix, $400 lesson.

Comment CHECKLIST and I'll send you the setup checklist.

Commented CHECKLIST? No need to wait for a DMPushed an API key to GitHub? The checklistWhat to do in the first ten minutes after a key goes public, in the right order, and the four-line setup that stops it happening again.
Earlier reelGoogle lets AI design its chipsLater reelCan one machine run a trillion-parameter AI?