On GitHub:
Eve writes some code in her fork of some popular project, commits as "Eve" <eve@example.com>
, and sends a pull request upstream.
Alice doesn't notice that Eve's code contains a backdoor to the popular project that she works on, thinks the code is great, and merges the pull request.
Later, everyone gets owned.
Bob, Alice's boss, would like to fire whomever landed the code. He does a git log --full
, and sees:
commit deadbeef
Author: Eve <eve@example.com>
Commit: Eve <eve@example.com>
git log --fuller
doesn't help, and Eve doesn't have direct push rights to the repository.
Bob can dig around the pull request history, and find it that way, but that sucks. Is there a way to figure this out locally?