Cleaning Secrets from a Repo

Sarah Smith
5 min readJul 18, 2021
A person in a dark-grey hoodie,  walks — with their hands in their pockets — past a display of computer code on a very large screen. They might be glancing at the code as they pass.
Hackers constantly run bots searching for exploitable material in public repositories. Image Credit: undraw.co

Cleaning Secrets from a Repo

If you’re like me, you messed up and now you have to quickly fix things. Slow down, and carefully follow these steps — the order & detail is important. I promise you we’ll get through this together.

FIRST: Revoke the secrets from whatever assets or platform they provide access to, eg:

--

--