Working with the FBI for the lulz?
What a dick, though..
This does not imply that helping law enforcement is always ethical. In this case, helping law enforcement take down these criminals is not a "dick move".
He broke a trust barrier. He is just as guilty as the peers he just sold out.
Now what? He just sits back and kicks it good while his friends get canned?
Clearly, you would let your friends take a fall for you when you're just as guilty.