Totally unconstitutional. Warrantless search. Every legitimate warrant must provide the specifics of what is to be searched, for which this type of search is impossible.
Haven’t you heard?
The US Constitution only applies when government entities federal or state feel in applies.
If there is any issue, just say “national security” and that will make it OK.