Protecting citizens' personal information and privacy is an important part of China's legal provisions. Except under special circumstances stipulated by law, no unit, organization or individual may disclose the obtained information of others. For the social security department that handles social insurance registration according to law, it is also necessary to protect the personal information of social insurance objects. In the above case, the social security department leaked the personal information obtained according to law to the insurance company, which obviously violated Lao Liu's legal rights and should be punished accordingly.
People's Republic of China (PRC) social insurance law
Article 81 The administrative department of social insurance and other relevant administrative departments, social insurance agencies, social insurance premium collection agencies and their staff shall keep the information of employers and individuals confidential according to law and shall not disclose it in any form.
State organs exercising their functions and powers according to their functions and powers shall keep confidential the personal information they know in their work according to law and shall not disclose it.