---
title: "Comment by Linkjob AI on \"A job offer on LinkedIn came with malware in a Git hook. It’s the “Contagious Interview” playbook\" | Hashnode"
description: "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-"
url: "https://hashnode.com/posts/contagious-interview-git-hook/6af1c5bb5e1a921f8e243de7/comment/6af210919c80d9d1b498c249"
---

[Discussion](https://hashnode.com/posts/contagious-interview-git-hook/6af1c5bb5e1a921f8e243de7)

Comment [A job offer on LinkedIn came with malware in a Git hook. It’s the “Contagious Interview” playbook](https://hashnode.com/posts/contagious-interview-git-hook/6af1c5bb5e1a921f8e243de7)

[Linkjob AI](https://hashnode.com/@linkjob)

[Nov 9](https://hashnode.com/posts/contagious-interview-git-hook/6af1c5bb5e1a921f8e243de7/comment/6af210919c80d9d1b498c249)

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.

[Huzaifa Khan](https://hashnode.com/@huzaifa207)

[Nov 9](https://hashnode.com/posts/contagious-interview-git-hook/6af1c5bb5e1a921f8e243de7/comment/6af210919c80d9d1b498c249#reply-6af21e06bd19fc838ddec123)

Thanks, that’s the habit I hope people take away.

One twist: git clone never copies hooks, so a zip is how they plant one. A clone isn’t safe either. Campaigns like PolinRider hide code in ordinary config files, and it runs the moment you start the project. Hooks are only one of the risks. core.hooksPath, editor tasks that run when a folder opens, and install scripts can all run code, sometimes on a branch you haven’t opened yet.

I built LookFirst to check all of that without extracting or running anything. It recognises PolinRider by name, and it works on a cloned folder as well as a zip. It’s free, if you want to try it on your next take-home: [github.com/huzaifa207/lookfirst/releases/latest](https://github.com/huzaifa207/lookfirst/releases/latest)
