Court documents suggest the information was nearly sold to a sports betting company before the plot was uncovered.