Alito cautions court's error risks security