Before the Travel Intelligence Program (TIP) was shut down, it sold billions of passenger records to US government agencies.