Incident Report: CVE-2024-YIKES

(nesbitt.io)

243 points | by miniBill 3 hours ago

23 comments

  • lynndotpy 2 hours ago
    For anyone confused, this is (very good imo) fiction about supply-chain incidents. It had me very worried during a brief scan that it was real though, which made me read it more attentively :)
  • athrowaway3z 1 hour ago
    > Day 1, 14:47 UTC — Among the exfiltrated credentials: the maintainer of vulpine-lz4, a Rust library for “blazingly fast Firefox-themed LZ4 decompression.” The library’s logo is a cartoon fox with sunglasses. It has 12 stars on GitHub but is a transitive dependency of cargo itself.

    I got a bit curious and here is an incomplete list of crates to compromise to be part of the cargo build and that already have a build.rs so it doesn't stand out to much:

    flate2 tar curl-sys libgit2-sys openssl-sys libsqlite3-sys blake3 libz-sys zstd-sys cc

    As a nice bonus - if you get rights for xz2 you can compromise rustup.

    Fwiw at least they do track Cargo.lock

  • david_shaw 2 hours ago
    It's easy to be cynical because, yes, both the problems and solutions seem dead obvious in hindsight. But for a long time (and maybe even still), a hacker creed was "move fast and break things."

    It's great that there's so much momentum in fixing the glaring problems with supply chain systems like npm, but I'm concerned that we're entering a new era of security-related problems caused in large part by agentic development.

    I'm not just talking about Mythos/Glasswing surfacing vulnerabilities in pretty much everything it touches; I think the way we're developing software, pulling in dependencies, and potentially losing human thought modeling of complex systems is going to lead to a lot of hacked together software and infrastructure that humans won't fully understand.

    I hope in a few years we don't look back at today and wonder how we could have been so naive -- how we failed to actually plan for the long-tail of AI development in a way that doesn't solve problems by attempting to just use AI to rebuild complex systems.

    But the article was funny.

    • saint_yossarian 2 hours ago
      > But for a long time (and maybe even still), a hacker creed was "move fast and break things."

      Was it? I thought Zuckerberg coined this horrible phrase.

      • david_shaw 2 hours ago
        He certainly popularized it (maybe coined it), but I've seen a lot of organizations and developers repeat that mantra.

        Even without the specific words, look to product teams debating tradeoffs of going to market vs. waiting for better security controls. They're pushing for faster product release every time, at pretty much every org.

        • cassianoleal 1 hour ago
          In any case, not really a hacker's creed. This has always been withinin the realm of corporations, especially Silicon Valley or adjacent.
          • asah 1 hour ago
            MFABT is about survival. Don't hate the player, hate the game.
            • walrus01 1 minute ago
              Sir, this is not /r/linkedinlunatics/
            • jazzyjackson 47 minutes ago
              Don't know any hackers who talk like this. More "if you don't like the rules, play a different game"
            • dxdm 59 minutes ago
              Por que no los dos? Some players seem very gleeful.
            • cwillu 29 minutes ago
              I will absolutely hate the players that chose the game and designed the rules.
            • cassianoleal 1 hour ago
              I'm not sure what you're responding to.
  • wodahs1 9 minutes ago
    Maintainer uses AI to find Yubikey's site.

    Hacker uses AI to research countries without extradition to US.

    Cops use AI to analyze ransom note. Unfortunately, because the note confidently states that Vietnam has no extradition to the US, the AI recommends paying ransom.

    Vietnam's currency, the Dong, confused the AI..

    • walrus01 2 minutes ago
      AI rejects all currency exchange transactions to Dong because of a hardcoded system prompt resulting in an overly rigid Scunthorpe problem.
  • bpavuk 33 minutes ago
    the Karen one gave me a good laugh :D ;) reminds me of a `make`-based build script I once got when reviewing a classmate's project - it attempted to `rm -rf` my home folder if the hostname contains `bpavuk`. that was in seventh grade!!
  • ObiKenobi 1 hour ago
    The maintainer of left-justify receives his YubiKey from yubikey-official-store.net. It is a $4 USB drive containing a README that says “lol.”

    Got me seriously laughing... Such a troll.

    • sdenton4 28 minutes ago
      Yeah that's great. I love that plugging in the USB device from the phishing site is, itself, another attack vector...
  • red_admiral 2 hours ago
    This is the most SCP thing I've read in a while that's not actually an SCP.
  • vsgherzi 2 hours ago
    Supply chain incidents suck and we need to do better. Personally for rust I’m a proponent of the foundation supporting a few core crates that go under the same audit procedure as the main rust language and give funding to the project to limit supply chain vulns. I don’t think the right answer is to remove systems like crates or npm. Crate and npm are a boon for many developers.
    • vsgherzi 2 hours ago
      Crates has also been making efforts to include rust sec, but in addition to the above I would like the community to shy away from many small dependencies to a few larger ones just as tokio has
      • kibwen 20 minutes ago
        Contrary to what the article here presents, Rust does not have a culture of microlibraries like NPM does. The author and their LLM are cargo-culting a criticism of Rust made by people whose only experience is with the Node ecosystem. The Rust stdlib may not be especially "wide" compared to languages like Python, but it is quite deep, with the objective of making it so that you don't feel the need to publish single-purpose libraries which only exist to fix papercuts. Dozens of new APIs get added with every Rust release, which, occurring every six weeks, amounts to hundreds per year.
      • fleventynine 2 hours ago
        Many small crates published by large, trustworthy projects are fine and preferable to one large crate that "does everything".
        • zbentley 2 hours ago
          Why?

          Honest question. Commons, Guava, Spring, and more seem to take this approach successfully (as in, the drawbacks are outweighed by the benefits in convenience, quality, and security) in Java. Are benefits in binary size really worth that complexity?

          And before someone says “just have a better standard library”, think about why that is considered a solution here. Languages with a large and capable standard library remain more secure than the supply-chain fiascos on NPM because they have a) very large communities reviewing and participating in changes and b) have extremely regulated and careful release processes. Those things aren’t likely to be possible in most small community libraries.

          • xg15 7 minutes ago
            You will have lots of dead code in your build.

            That dead code might have "dead dependencies" - transitive dependencies of its own, that it pulls in even though they are not actually used in the parts of the crate you care about.

            In the worst case, you can also have "undead code" - event handlers, hooks, background workers etc that the framework automatically registers and runs and that will do something at runtime, with all the credentials and data access of your application, but that have nothing to do with what you wanted to do. (Looking at you, Spring...)

            All those things greatly increase the attack surface, I think even more than pulling in single-purpose library.

        • vsgherzi 2 hours ago
          Yeah I’d agree that multiple crates under one project is basically the same as 1 large crate. The real problem is how many people you’re trusting and it’s all coming from the same person.
    • kibwen 21 minutes ago
      A ton of the most popular crates on crates.io are already first-party crates provided by the Rust organization itself. This is often overlooked when people are wringing their hands about Rust crate graphs. Looking at the top 10 list of most-downloaded crates on the front page of crates.io, the only one not either from the Rust organization or from a Rust core maintainer is the base64 crate.
    • PunchyHamster 2 hours ago
      nah, remove NPM, nothing good comes out of that.
    • suprfsat 2 hours ago
      do we really need both npm and nmp though
    • hacker_homie 2 hours ago
      Move high value crates into the standard library?
      • kibwen 12 minutes ago
        Indeed, I'm all for maximizing the amount of modules in the standard library. It's pretty obvious to me that Python thrives because of, not despite of, its standard library, "dead batteries" and all.

        However, don't make the mistake of thinking that Rust has a small standard library. Read any Rust release and you'll see dozens of new APIs added with every single one. I'm tempted to paste the entire list of stabilized APIs from the most recent release for emphasis, but rather than making this comment three dozen lines longer, just look for yourself: https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/#stabilize...

        In particular, most recently the aforementioned release stabilized the cfg_select! macro for convenient conditional compilation, which obviates the popular cfg_if crate: https://doc.rust-lang.org/stable/std/macro.cfg_select.html

      • vsgherzi 2 hours ago
        This bloats the std library and forces lots more work and stress on the rust dev team. Not to mention it’ll add more churn to the std lib.
        • jcgl 1 hour ago
          One man's bloat is another man's batteries-included, I guess?

          My argument would be that if a more featureful standard library could get Rust closer to the superior dependency culture of Go, it'd be worth it. As-is, Rust dependency trees are just wild.

          • vsgherzi 19 minutes ago
            The rust team is already stretched pretty thin. A larger library is going to put more pressure on them. These libraries are already maintained and used. The rust project should just directly, fund, Shepard and guarantee a level of quality for the packages. The foundation has started some of this with the maintainers fund. No need to force it all into the std lib. Go has experienced breaking issues with changes in the crypto library causing churn in the ecosystem.
      • hacker_homie 2 hours ago
        Maybe give crates a gold star if they have no external dependencies?
        • sdenton4 25 minutes ago
          That's not at all a bad idea, imo. And a silver star for crates which only depend on gold star crates...
      • orf 2 hours ago
        Please no, that’s a terrible outcome.
        • pixl97 1 hour ago
          What else would you suggest that also does not have terrible outcomes. The situation as is, is untenable.
          • vsgherzi 19 minutes ago
            As I said above

            “Personally for rust I’m a proponent of the foundation supporting a few core crates that go under the same audit procedure as the main rust language and give funding to the project to limit supply chain vulns. I don’t think the right answer is to remove systems like crates or npm. Crate and npm are a boon for many developers.”

            This is my solution. We get the quality of a std lib without forcing it in the std Lib and without extra maintaining cost for the team

    • dijit 1 hour ago
      honestly I thought this was the end goal of blessed.rs
    • 2ndorderthought 2 hours ago
      [dead]
  • notnmeyer 45 minutes ago
    the fact that this could easily pass as real says a lot about the state of things.
    • cwillu 26 minutes ago
      I hardly blinked at “left-justify”, just rolled my eyes and mentally griped “what, again‽”
  • mac3n 1 hour ago
    good thing I don't use npm or pip, just the recommended

        curl ... | bash
    • fragmede 1 hour ago
      It's curl | sudo bash.

      Amateur.

  • bklosky 25 minutes ago
    According to Pangram, this is likely AI generated, surprised that no one has pointed this out
    • furyofantares 17 minutes ago
      Not a chance. Far too funny, too well written, too terse while being densely packed with wit. I see zero signs of it being LLM-generated and lots of stuff LLMs have no way of doing.

      If I am somehow wrong I would salivate at a chance to see the input.

      • peyton 8 minutes ago
        The author suddenly began writing a post per day around November 2025. They’re all tongue-in-cheek. I believe you are wrong.
        • furyofantares 5 minutes ago
          Huh, neat. I will take a look at those.

          And actually I can see it kinda clearly now, it does have a bunch of signs I have called out multiple times myself. Just my ego getting hold of me because I didn't realize it on my own.

  • swiftcoder 1 hour ago
    Very enjoyable read, entirely too close to the mark
  • nikanj 2 hours ago
    Customers give us heat for not shipping the latest vulpine-lz4. Their AI-based heuristic antivirus total defence solution automatically flags all software not running latest versions of everything

    Kindly advice

    • pixl97 1 hour ago
      Ya, latest is a mess. I don't care about latest, I want the version with no known security flaws.
      • cwillu 24 minutes ago
        I almost prefer the one with the known security flaws that I can mitigate.
      • the8472 1 hour ago
        Latest has no known security flaws.
  • TZubiri 1 hour ago
    This would have been completely avoided if you were using bun dependency vector locking in Nix.
  • danielfalbo 2 hours ago
    absolutely hilarious, made me laugh a lot. thank you for writing this, whether human or AI.
  • danilocesar 2 hours ago
    This week has been tough. Is it the begging of CVEgeddon?
  • somebudyelse 1 hour ago
    Too soon
  • yieldcrv 1 hour ago
    > unrelated security researcher publishes a blog post titled “I found a supply chain attack and reported it to all the wrong people.”

    ahahaha like that fiverr cloudinary bucket leak that turned out to just be a UX issue, this has me rolling

  • ck2 1 hour ago
    imagine a future where white-hat vs black-hat "AI" go around the web trying to patch vs exploit 0-days

    and then become aware of each other

    and then try to eliminate each other for decades

    each escalating resource capture and writing new generations of better "AI"

    • xg15 2 minutes ago
      Sounds like there is definitely an Anime about this.