AT&T has agreed to pay up to $177 million after settling a class action lawsuit surrounding two “data incidents” from 2024.