The lending protocols have implemented new security measures to block attacks after an attempted short squeeze last week.