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
    link
    fedilink
    19
    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
      link
      fedilink
      41 year ago

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

      • Awwab
        link
        fedilink
        61 year ago

        Twitter might know but we don’t and that’s what the article is saying.

      • AshLassay
        link
        fedilink
        21 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.