The whole idea of "national security" has gotten completely out of control. It has about zero to do with protecting what little is left of America; it's all about protecting, and building, the U.S. government, and the people who participate in it and profit from it. People fail to understand that the USG doesn't represent them, or care about them – or at least not any more than a farmer cares about his milk cows. It's an entity unto itself at this point. It has its own interests, which have only an accidental or coincidental overlap with those of America. Government is by its very nature duplicitous and predatory; it always puts itself first. By cynically paying lip service to traditional values, and whipping up a nationalistic, patriotic fervor, they can get Boobus americanus to go along with almost anything they propose. Just like Boobus north koreansis.
"National security" and "national interests" are nebulous phrases. In practice, they have come to mean the security and interests of the most powerful (and corrupt) factions in our government. So when the crimes and lies of these elites are publicly exposed, they naturally cry treason and demand the murder of those who've blown their cover. It is in this context that Samuel Johnson's famous observation is true: "Patriotism is the last refuge of a scoundrel."