An autonomous AI agent breached 2,250 cloud servers while a PHP flaw broke the web. Here is what happened and how to protect your data today.