Remix.run Logo
IvanGoncharov a day ago

Wow, after reading this article, I figured out I was hacked, but with a way more sophisticated attack.

A few weeks ago, I had an interview with a CTO of a totally legit company. It was weird because he had disabled the camera, and the person had a strong accent. But everything else sounded like a normal screening interview, and the person definitely knew what he was talking about. At the end of the interview, he explained to me that during the technical interview I would need to make some modifications to their project (it's an OSS product), so he asked me to clone the repo and check the setup.

Later, the HR person said the CTO got sick, so the interview would be postponed. But a few days later, the HR profile was deleted from LinkedIn. It was super weird, but it didn't trigger my suspicion until I saw this post on HackNews. I checked, and the repo I was cloning and running during the interview had a malware payload.

P.S. I think it was a targeted attack because in the past I maintained a very popular NPM package with 43+M weekly downloads. That's my only explanation for why someone would carry out such a sophisticated social-engineering attack against me.

P.P.S. It's great that I have 2FA everywhere, and I always publish NPM packages manually without using tokens. But I need to wipe my laptop and reinstall everything.

IvanGoncharov a day ago | parent | next [-]

I just checked my calendar, and it was a 45-minute interview scheduled on Calendly. HR person sent me a link to Calendly so I could schedule an interview with the CTO. I actually talked with someone pretending to be the CTO for 45 minutes.

I checked other similar threads on HN, but they don't mention an actual Google Meet call with a scammer.

throwatdem12311 a day ago | parent | prev | next [-]

Yeah, I refuse to just clone random projects. Luckily, I’m a rails developer - and scaffolding entire applications takes literally minutes.

Just give me the specification and I will build it end to end myself.

If you’re serious you would consider it. If you don’t - I dodged a bullet.

If you consider that people are using LLMs for code generation pretty much exclusively now this should be possible with any stack.

Groxx a day ago | parent [-]

Cloning should be fine on its own - git hooks aren't installable automatically, for reasons like this, and they treat anything that makes cloning unsafe as a pretty severe security issue so new discoveries get plugged quickly. This post's malware is possible because it's from a general archive, not a clone.

Though other stuff on your system might be less preventative, and that could run stuff in the repo folder. And I kinda wish git would force review of hooks and executable config everywhere before they're run - I would absolutely enable that, security is sometimes a bit annoying and that's inescapable.

lmz a day ago | parent [-]

It's not the cloning that gets you. It's the inevitable step of running whatever you cloned to "run the tests" or "see how it works".

lathiat a day ago | parent | prev | next [-]

Yikes.

Going to need containerised vscode in this world.

manarth 19 hours ago | parent | next [-]

Kind-of exists with VSCode Remote, although for stricter isolation you'd want VSCode Server via a web-browser.

bdavbdav 17 hours ago | parent | prev [-]

DevContainers works great

CITIZENDOT a day ago | parent | prev | next [-]

wow

> I maintained a very popular NPM package with 43+M weekly downloads

makes sense why they targetted you, good that you have 2FA enabled.

anal_reactor a day ago | parent | prev | next [-]

It's so weird to me that I'm on same social media as people worthy of targeted attacks. Like, I'm a total nobody, all I get is "Free Spins For You!" and "I am a dying German billionaire...". My favorite email had a subject "Sorry I broke your vagina".

BrokenCogs 21 hours ago | parent | next [-]

What are you expecting with a name like anal_reactor?

electroglyph 19 hours ago | parent | prev [-]

If it makes you feel any better, my apology was genuine.

anal_reactor 17 hours ago | parent [-]

It's okay, I can still repurpose it and make a handbag.

NetOpWibby 19 hours ago | parent | prev | next [-]

2FA FTW!

Glad the scumbags didn’t get anything but your time.

skeptic_ai a day ago | parent | prev | next [-]

Sorry but not using a devpod or a vm for that in this age is just irresponsible. A random npm package can already do a lot of damage.

pwillia7 a day ago | parent | prev [-]

whoa