Chinese national security law essentially requires cooperation with anything regulators deem necessary. This isn’t like the western world where the law is written from a presumption that citizens enjoy individualism as a default.
https://www.chinalawtranslate.com/en/2015nsl/#_Toc423592316
> Article 11: Citizens of the People's Republic of China, all state organs and armed forces, each political parties and mass organization, enterprises, public institutions and other social organizations, all have the responsibility and obligation to preserve national security.
> Article 77: Citizens and organizations shall perform the following obligations to preserve national security:
> (4) Providing conditions to facilitate national security efforts and other assistance;
> (5) Providing public security organs, state security organs or relevant military organs with necessary support and assistance;
> (7) Other duties provided by law or administrative regulations.
> Article 79: Enterprises, public institutions, and organizations shall cooperate with relevant departments in employing relevant security measures as required by national security efforts.