Patent is to disclose its technical content under the protection of law, to protect the interests of the patentee from being infringed by others in a specific region and time, but this should be disclosed and protected without affecting national security and interests. If this premise is lost, you should apply for a secret patent.
According to the relevant regulations, those involving national security need to be kept confidential, mainly referring to the national defense special technology, which is accepted and examined by the National Defense Patent Branch authorized by the Patent Office; Where the national interests need to be kept confidential, the Patent Office shall accept the confidential patent.