Its gonna take several bottles of Tums to get over this one... A long time ago in a galaxy far away, when I was an LEO (called them peace officers in those days and the job 1 was to preserve the peace) we were taught that on a stop we could search "driver's immediate grasp" for a weapon. But if we were to go after any other occupant we had to have a reasonable suspicion that was pretty obvious (though not so for the driver - it was often perfunctory).
But this standard is a real stretch. And puts everyone at risk. The folks in the car who now have a good reason to not talk to LEO's gathering intel will be declining. This is way too intrusive and gives the officer a lot of leeway I don't think they need. In my (not so) humble opinion...