r/androiddev • • 2h ago

Experience Exchange "Interview take-home task" zip had git hooks that run malware when you checkout a branch or commit. Got this today

Got suspicious, so instead of opening the zip on my laptop I gave it to Claude to analyse. Claude unzipped it in its cloud sandbox and read the files without running anything. It spotted two non-default git hooks in .git/hooks/ (post-checkout and pre-commit) that curl a script from a remote server and pipe it into bash or cmd.exe. It also found the trap: the task said to check out the problems branch and commit as you go, which would have fired both hooks. The actual app code was clean, just bait. It took a couple of minutes, and nothing touched my machine.

LinkedIn of person who reached out to me :- https://www.linkedin.com/in/julen-sanchez-santana-368408440/
Mail of Guy who took the interview :- michael@leadmichael.tech

(Edited with AI)

31 Upvotes

5 comments sorted by

11

u/scissortag 1h ago

The email address michael@leadmichael.tech says massive idiot to me

-11

u/redoctobershtanding 2h ago

And this has what to do with Android dev?

11

u/Competitive-Edge6478 2h ago

Its a role for React Native / Android / IOS. And got that project in kotlin even I am not aware of kotlin much. Its just awareness to all as possible.

18

u/mntgoat 1h ago

Honestly, I don't care if this has to do with android dev or not. This type of thing needs to be splattered on any sub that might have software developers because anyone could fall for this.

14

u/tadfisher 1h ago

I agree this isn't strictly related, but I'm leaving it up because it is valuable as a PSA.