21 comments

  • IvanGoncharov15 minutes ago
    Wow, after reading this article, I figured out I was hacked, but with a way more sophisticated attack.<p>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&#x27;s an OSS product), so he asked me to clone the repo and check the setup.<p>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&#x27;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>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&#x27;s my only explanation for why someone would carry out such a sophisticated social-engineering attack against me.<p>P.P.S. It&#x27;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.
  • wxw2 hours ago
    &gt; They embedded a script that checks the victim’s host operating system and silently executes a remote payload.<p>Seems like this is becoming a recurring theme, similar story was on the front page last month.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=48546294">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=48546294</a>
    • gowld57 minutes ago
      The OP says as much, and links to a Google Search results that says the same.
  • ivanjermakov1 hour ago
    &gt; Why use a raw IP address? If anything, this screams “malware.”<p>If the victim is deep enough to check hook&#x27;s content, it&#x27;s unlikely they will just stop here losing suspicion. I&#x27;m sure most devs wouldn&#x27;t think that doing `git commit` can be malicious (git security oversight?).
  • vardalab56 minutes ago
    My takeaway from this was that Claude was being completely useless as a helper Thanks to all the safety safeguards and that nonsense.
  • nphardon2 hours ago
    always a good day when we get an a post on front actually related to hacking on hackernews.
    • ivanjermakov1 hour ago
      Except hackernews is about different kind of hackers.<p><a href="http:&#x2F;&#x2F;www.catb.org&#x2F;jargon&#x2F;html&#x2F;H&#x2F;hacker.html" rel="nofollow">http:&#x2F;&#x2F;www.catb.org&#x2F;jargon&#x2F;html&#x2F;H&#x2F;hacker.html</a><p>&gt; 1. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary. RFC1392, the Internet Users&#x27; Glossary, usefully amplifies this as: A person who delights in having an intimate understanding of the internal workings of a system, computers and computer networks in particular.<p>&gt; 2. One who programs enthusiastically (even obsessively) or who enjoys programming rather than just theorizing about programming.
  • lantry2 hours ago
    &gt; Side note: Why use a raw IP address? If anything, this screams “malware.” At least register a decoy domain like lint-checker.com or jenkins-ci-runner.net. If the threat actors who wrote this are reading: take notes people!<p>Maybe they don&#x27;t want to give any identifying info to the domain registrar? Or just minimizing their online presence?
    • HPsquared1 hour ago
      That&#x27;s probably the reason bare IP addresses are associated with sketchy stuff.
    • cromka25 minutes ago
      Or possibly these hosts fell victims of their malware, too, and see now used as proxies.
    • CITIZENDOT1 hour ago
      fair point
  • ge962 hours ago
    There was a funny video I saw recently someone&#x27;s running Red Star OS on their computer and a scammer is trying to scam them thinking it&#x27;s Windows<p>Unrelated to this git pre commit hook attack but yeah
  • syntaxing24 minutes ago
    That was a fun read, I wonder if vscode would still load the script if you click “don’t trust author”? That being said, can you embed something yourself and push the commit?
    • CITIZENDOT10 minutes ago
      &gt; I wonder if vscode would still load the script if you click “don’t trust author”<p>It doesn&#x27;t. VSCode dev replied here on it here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46719712">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46719712</a>.<p>But, I don&#x27;t think anybody pays attention to the workspace trust. When &quot;.vscode&quot; has launch commands, it should rather say, &quot;Trusting this workspace runs the following command on your behalf&quot; or something similar.
  • darth_avocado2 hours ago
    If LinkedIn actually cared about preventing scams, they could implement verification using company emails if you want to list your current employment. And if it is too much of a heavy burden, then at the minimum you should have it as an optional feature that recruiters would have to comply with, if they want to be legitimate.
    • CITIZENDOT1 hour ago
      &gt; they could implement verification using company emails<p>they added this back in 2023 (<a href="https:&#x2F;&#x2F;news.linkedin.com&#x2F;2023&#x2F;april&#x2F;linkedin-s-new-verification-features-include-clear--microsoft-en" rel="nofollow">https:&#x2F;&#x2F;news.linkedin.com&#x2F;2023&#x2F;april&#x2F;linkedin-s-new-verifica...</a>), but very less people actually bother to verify with their email, so not having it doesn&#x27;t always mean it&#x27;s illegitimate.
      • darth_avocado1 hour ago
        The legitimate recruiters should start using it then.
  • ChrisMarshallNY2 hours ago
    I assume these types of things are going to become more and more common.<p>Looks like these folks really did their homework.<p>It&#x27;s nasty, but I have to respect their skills. I&#x27;ll bet it works, quite often.
    • CITIZENDOT2 hours ago
      yea, i had fun looking around, this felt like a ctf challenge lol. if they had any vuln on their server, it would&#x27;ve been even better.
    • LoganDark2 hours ago
      Their &quot;skills&quot; might just be borrowed from some LLM.
      • ChrisMarshallNY2 hours ago
        I dunno. The Norks seem to be really good at this, and have been, for a long time.<p>I suspect it&#x27;s clever, experienced, engineers, leveraging LLMs.
      • throw_m2393392 hours ago
        Yeah, this scam is probably all automated at first place. Welcome to the &quot;agent era&quot;...
  • luciana1u22 minutes ago
    at some point companies will realize they can just post all their backlog as take-home assignments and eliminate the engineering department entirely
  • fitsumbelay52 minutes ago
    TIL about tree ...<p>I stopped being surprised by new stuff I learn about an OS I&#x27;ve been using for 25+ and 10+ as my daily whip and just enjoy the discovery-buzz<p>these take-home interview nightmare stories are so common ... I&#x27;d hate to see a bad actor take advantage by offering a &quot;service&quot; to unsuspecting and underinformed folks like ... erm ... me
  • pudgywalsh21 minutes ago
    Did no one else read far enough to see this was a DPRK (Best Korea) APT campaign?
    • CITIZENDOT15 minutes ago
      i should&#x27;ve highlighted that better, it has more gravitas (<a href="https:&#x2F;&#x2F;youtube.com&#x2F;shorts&#x2F;LpevGTOP1-A?si=DRJUH4EMujesXiXN" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;shorts&#x2F;LpevGTOP1-A?si=DRJUH4EMujesXiXN</a>)
  • tclancy36 minutes ago
    Had something similar but less dangerous recently: I “won” a month’s subscription to a brand new “high paying, not on the public sites” job board where if I wrote a cool integration I would make a bunch of money (except the fine print said they could just take it). It took about a minute and a half of playing with the API to see they hadn’t even bothered to fully trim the listings they scraped from other sites. Each job application required you to answer a fairly detailed engineering issue. Best I could tell is they stole your answer, applied to the gig and then did one of those bait and switch interviews with the actual company.
  • gtowey2 hours ago
    My takeaway from this is that I should use the same defense as when someone calls you &quot;from you bank&quot;. When they reach out directly, go to the real company&#x27;s site to apply and contact a real recruiter. If you can&#x27;t validate that the business is legit before, then assume malfeasance.
    • technion2 hours ago
      Companies make this hard, a bit like various email scams where legit company communication comes from seemingly random domains (hello paypal). Often the company is legit, but theres no public contact that knows anything about the recruiter thats working for them.
      • bombcar2 hours ago
        Healthcare companies are the WORST at this - they will send you legitimate email from h34lthc4re.biz with a heart-happy-health.phishing.info link that you HAVE to use - and it&#x27;s all legit.
    • paxys2 hours ago
      Even if the attempt is legit, going to the company’s website&#x2F;careers page to try and reach them is pointless. You application will just get lost among the thousands of others. Your best bet is to ask the recruiter to email you and check for a @&lt;company.com&gt; email address. And even if the attempt checks out don’t run untrusted code on your machine.
    • yieldcrv2 hours ago
      it was in this moment, that gtowey’s outdated job solutions transitioned them from unc to boomer
      • gtowey2 hours ago
        I think you misunderstood.<p>I&#x27;m not talking about switching to cold contacting companies as a job hunting strategy. I&#x27;m saying if you get a suspicious outreach from a rando on linked in on behalf of a company THEN you only continue if you can reach out to the same person via official company channels.
  • drnick11 hour ago
    Are these kinds of tests still relevant in the AI age? Genuine question, I have not interviewed for a very long time. They seem as useful as take home college exams.
  • sailfast1 hour ago
    Really hate that the USG overreaction on Fable has given us a neutered version of AIs for DEFENSIVE capabilities even when we just want an explanation of what we’re being subjected to with this malware.<p>Give defenders a better shot…
  • wslh1 hour ago
    I assume an standard way to do this is through a VM provided by the recruiter, right?
    • simoneree22 minutes ago
      I don&#x27;t think you should trust the recruiter&#x27;s VM any more than their code. Spin up instead your own disposable VM or container with no creds or host mounts.<p>Clearly, judging by recent openai news, sandboxes are not unbreakable, but at least there&#x27;s nothing worth stealing and you throw it away afterward.
    • CITIZENDOT58 minutes ago
      yea, i&#x27;m just lazy
  • rdksu2 hours ago
    Bruh the harry potter theme song scared the shit out of me as it turned itself on. Bad UX for a personal site. Great article btw !
    • ladybro2 hours ago
      Where can one be whimsical and fun if not for a personal site?
    • CITIZENDOT2 hours ago
      sorry, i added it to set the mood for my site :&#x27;) yk, like moving lamps at the top, hanging dementor at the right side (only visible on desktops).<p>should i remove it?
      • seanobannon2 hours ago
        absolutely not! it is a delightful source of whimsy on an increasingly uniform web
      • Lammy2 hours ago
        Middle ground: make it respect `prefers-reduced-motion` :)
      • projektfu2 hours ago
        No, it&#x27;s your playground. My podcast was talking about the music the guest was making and I thought he was playing something Potter related.
      • eightysixfour2 hours ago
        No, it made me laugh.
      • john_strinlai2 hours ago
        &gt;<i>should i remove it?</i><p>there is no place for fun, whimsy, moods, or personalization on the web. sorry.<p>(no, at least not at the request of random internet stranger #10545346)
        • ChrisMarshallNY1 hour ago
          Around here, many people have their sense of humor, removed, during their first colonoscopy.<p>I joke, anyway, and bear the downvotes. Totally worth it.
      • girvo1 hour ago
        Nah, it&#x27;s fine! I just muted the tab, no big deal
      • aftbit1 hour ago
        I used developer tools to delete the dementor, then I muted the site when it started playing music.
      • Quarrelsome1 hour ago
        NEVER PURGE YOUR WHIMSY.
      • busymom01 hour ago
        Nah, keep it. It&#x27;s your site and that&#x27;s where you get to have fun!
      • ikistuach2 hours ago
        yes