"Based upon the need for airports to be absolutely secure so that people feel safe to travel, I do find those alleged actions do make him a danger to the community." That is such an obvious non-sequitur, shoot-the-messenger attitude to security. The "danger to the community" stems from the officials at the airport who failed to make the airport safe and prevent this sort of situation from developing.
It seems like this was a bail hearing, where “danger to the community” is a condition—-and not a particularly rigorous one—-required to set bail[0]. Since his bail was set at $1000 according to the article, it seems like the judge also didn’t believe this guy was really all that dangerous either. It’s important not to confuse this finding purely for bail purposes from a preliminary exam with any actual finding of gui…
This is why the Cash Bail system is regarded as punishment for the poor, and in part what makes the Legal system different for the "rich" vs the poor