Menu

1 / 2

A fake recruiter sent me a coding test. The repo was malware

DEV Community: github·Guilherme Michels·about 14 hours ago
#eBDZXyo4
#devtogithub#technology#devto#dev#repository
Reading 0:00
15s threshold

A few weeks ago I got targeted by a fake recruiter scam. I wrote about it on LinkedIn and it reached far more people than I expected. Here is the full version, with what I learned and what I now do before running any take-home test.

How it started

The recruiter's LinkedIn profile was very convincing. We had mutual connections, the company was real, and he even sent me a presentation of the project I would be working on. It looked like a normal hiring process.

Then came the technical test: a repository to clone and run on my machine.

The detail I almost missed

Something felt off, so before cloning it I asked Claude to analyze the URL. It said the repository didn't exist. Even the AI didn't catch the trick.

I took a closer look and noticed that the repository name swapped a lowercase "l" for an uppercase "I" . In the browser's default font, they look almost identical.

When I analyzed the real repository, I found the malware. I reported it to GitHub and they took it down within a minute.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.