The chain of events could have been:
1. Blue Toad either gets hacked, or gives their data to the FBI or someone else.
2. Somehow this data ends up on an FBI agent's laptop.
3. Anonymous breaches the laptop and gets the data.
4. Anonymous sees all the UDIDs and mistakenly thinks, "Apple and the FBI must be in cahoots!", and publishes it.