The detail that the hook hides inside a recruiter's "documentation pack" and fires on checkout is what makes this so nasty, since people expect to clone a take-home before reading it. Treating any repo from an unknown recruiter as untrusted and opening it in a throwaway VM, or at least inspecting .git/hooks first, seems like a cheap habit worth adopting.