Is it safe to apply for a patent online?

It is more reliable to find those patent agencies officially registered in China National Intellectual Property Administration to apply for patents on their behalf. Pass the formal examination, obtain the qualification, and accept the supervision of the intellectual property management department. If something is cheated or leaked, you can also complain to the Municipal Intellectual Property Office. Those cheated examples are generally done by black agents who have no agency qualification and no fixed business premises. Please contact the Intellectual Property Office in your city, and they will introduce you to the regular local agencies.