The Rip ending explained: who was the traitor in the Netflix thriller?

The Rip, a new crime thriller from the team behind Good Will Hunting (Ben Affleck and Matt Damon’s production company), is directed and written by Joe Carnahan, known for The A-Team. Affleck and Damon not only produced the film, but also star as leading police officers working within Miami’s elite Tactical Narcotics Team (TNT).