Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

Cloudflare DDoSed itself with React useEffect hook blunder

⁨306⁩ ⁨likes⁩

Submitted ⁨⁨2⁩ ⁨weeks⁩ ago⁩ by ⁨TheBat@lemmy.world⁩ to ⁨technology@lemmy.world⁩

https://www.theregister.com/2025/09/18/cloudflare_ddosed_itself/

source

Comments

Sort:hotnewtop
  • sp3ctr4l@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

    Remember, always, immediately, push new updates to prod, specifically right before you go home at the end of the day.

    source
    • xianjam@programming.dev ⁨2⁩ ⁨weeks⁩ ago

      We’ve all done it. …right?

      source
      • synae@lemmy.sdf.org ⁨2⁩ ⁨weeks⁩ ago

        That’s how we know not to do it anymore


        Knowledge tells you it’s safe to push to prod in Fridays. Wisdom tells you not to. Experience raises your heart rate at the very thought (though, that might actually be ptsd)

        source
      • other_cat@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        My favorite personal fuck up was when I accidentally locked myself (and literally everyone else in the company) out of the CRM I was working on by disabling the login pages and enabling SSO before I had finished setting up the SSO inside the CRM’s config, and it logged me out as part of the procedure. Whoops.

        source
      • Karjalan@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

        I think most people have done, or been part of a team that did, something similar.

        At least most of the engineers I’ve worked with have had similar stories from their past

        source
        • -> View More Comments
    • mr_satan@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      Double points if it’s friday

      source
      • 01189998819991197253@infosec.pub ⁨2⁩ ⁨weeks⁩ ago

        Triple points if you’re going on a month-long holiday.

        source
    • wabafee@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      That is what CI is for Commit Incident.

      source
      • isVeryLoud@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        And CD is for Commit Disaster

        source
    • silt_haddock@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      Bonus points if you do it the day before you leave for vacation!

      source
      • sp3ctr4l@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

        Ah, a true chaos wizard, I see.

        source
  • eager_eagle@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    glad to know it’s not just me

    source
  • ozoned@piefed.social ⁨2⁩ ⁨weeks⁩ ago

    The DDoS came from … INSIDE THE HOUSE!

    source
    • fluckx@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      You’d be surprised how often DDOS can be an inside job.

      Glares at marketing department

      source
      • ozoned@piefed.social ⁨2⁩ ⁨weeks⁩ ago

        Not surprised at all actually. I’ve done it. 😬

        source
      • ICastFist@programming.dev ⁨2⁩ ⁨weeks⁩ ago

        Marketing is just the sabotage team in disguise

        source
  • Passerby6497@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    Finally, a DDoS that even Cloudflare couldn’t stop

    source
    • aeronmelon@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      CloudFlare stopped the DDoS by destroying their own servers.

      “I’ve won, but at what cost?”

      source
      • hume_lemmy@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        Image

        source
  • Armand1@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    I recently ran a session and wrote an internal blog post about why useEffect was a dangerous crutch that should be avoided wherever possible. This was due to complicated logic and unexpected interaction bugs.

    This is a little different but I still feel vindicated.

    source
    • Awkwardparticle@programming.dev ⁨2⁩ ⁨weeks⁩ ago

      You are correct, useEffect can be dangerous if you don’t know exactly what you are doing. I would go so far as to say that most people use it incorrectly. This includes myself, I am not great at using React and end up using it in the wrong places, which according to a colleague, it should just be avoided if possible.

      source
  • mostlikelyaperson@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    Clownflare staying true to its name.

    source
  • garretble@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    Remember: You might not need an effect

    react.dev/learn/you-might-not-need-an-effect

    source