A state judge found two Boston FBI agents had allowed Barboza to frame the men because Barboza and his friend Vincent " Jimmy " Flemmi , one of Deegan 's killers , were FBI informants who provided evidence in the agency 's highly publicized war against La Cosa Nostra .