It appears there is malware (deliberately placed by Kodi (?)) to log your ip address to see what you are streaming.

This is an article from England so I am not sure streaming laws are different in the US. My understanding for US is streaming is legal and downloading is illegal.

I wonder the legality of spying on users though.

Be careful.