An “amateur hour” Javascript bug is self-DDOSing Twitter, sending infinite requests from users related to — or possibly even causing — Elon Musk’s “temporary emergency measures” to stop web scraping.

  • Pons_Aelius@kbin.social
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    1 year ago

    This is just too funny:

    It’s currently unclear when this bug went into production, or how much it’s actually impacting their traffic, so it’s hard to determine whether this bug inadvertently inspired Twitter to block unregistered access and add rate limits, or if the bug was triggered by the rollout of those changes.

    • Chog@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Do they not have version control? How can they not realise when the code snippet got added to the source code!?

      • AshLassay@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Could be a poison pill by a disgruntled ex employee. So maybe they’ve obfuscated the addition of the code snippet across several commits hidden inside legitimate commits.