Is patent ghostwriting illegal?

Legal analysis: According to the national patent agency regulations, if a patent agent accepts the entrustment to handle the patent agency business by himself, the patent administrative department of the people's government of a province, autonomous region or municipality directly under the Central Government shall order it to make corrections within a time limit and give a warning, informed criticism; If the circumstances are serious or no correction is made within the time limit, the patent administrative departments of the people's governments of provinces, autonomous regions and municipalities directly under the Central Government shall stop undertaking new patent agency business for six to twelve months.

Legal basis: Article 18 of the Patent Law of People's Republic of China (PRC), if a foreigner, foreign enterprise or other foreign organization that has no habitual residence or business office in China applies for a patent and handles other patent affairs in China, it shall entrust a legally established patent agency to handle it. Units or individuals applying for patents and handling other patent affairs in China may entrust a legally established patent agency to handle them. Patent agencies shall abide by laws and administrative regulations, accept the entrustment of clients, and handle patent applications or other patent affairs; The contents of the client's invention and creation shall be kept confidential, except that the patent application has been published or announced. Specific measures for the administration of patent agencies shall be formulated by the State Council.