Foreigners need to worry about the new Chinese anti-espionage law instead [1]: at least 17 Japanese nationals have been recently accused of spying in China [2], and a US citizen jailed for life [3]. The German car industry is worried [4].
The law broadens the scope beyond what it originally sought to prohibit – leaks of state secrets and intelligence – to include any “documents, data, materials, or items related to national security and interests.” [1]
[1]: https://theconversation.com/chinas-new-anti-espionage-law-is... " China’s new anti-espionage law is sending a chill through foreign corporations and citizens alike"
[2]: https://www.dw.com/en/japanese-companies-fear-chinas-draconi... "Japanese companies fear China's draconian espionage laws"
[3]: https://www.cnn.com/2023/09/11/china/china-john-leung-mms-sp... " Beijing claims US citizen jailed for life in China was decorated spy who worked undetected for decades"
[4]: https://www.reuters.com/business/autos-transportation/german... "German car industry urges Berlin to address anti-spy laws with Beijing"