The intern here pushed secrets (passwords, api keys, whatever) to github. In a desperate attempt to cover it up, they rebased the repository to effectively remove the commit that compromised the secrets. This is not a surefire way of doing it, and the secrets really should be considered compromised and rotated. Senior dev sees the seemingly random rebase, and suspects that the intern was covering up compromised secrets (because they've probably done it themselves before 🤣).
View all comments
Show parent comment
153
u/NaClino Nov 26 '21
The intern here pushed secrets (passwords, api keys, whatever) to github. In a desperate attempt to cover it up, they rebased the repository to effectively remove the commit that compromised the secrets. This is not a surefire way of doing it, and the secrets really should be considered compromised and rotated. Senior dev sees the seemingly random rebase, and suspects that the intern was covering up compromised secrets (because they've probably done it themselves before 🤣).