The CIA is chartered to spy overseas, against foreigners. Assange is not in the US, not an American citizen, and has ties to Russian intelligence. I'm not aware of any law that affords him any protection.
Spying is, of course, illegal in every country that is spied upon. Assange has been in Ecuador and the United Kingdom. Neither country may permit the interception of confidential conversations between a client and their legal counsel.
Which law in what country was broken?
The CIA is chartered to spy overseas, against foreigners. Assange is not in the US, not an American citizen, and has ties to Russian intelligence. I'm not aware of any law that affords him any protection.