A New York Times investigation uncovered earlier this year that the US government used spyware made by Israeli hacking firm NSO.