TSA has one job: to keep dangerous items outside of security checkpoints. That alone doesn’t make us safe, as Brussels and Istanbul airport attacks before security screening made clear. And the TSA isn’t very good at it in any case, regularly missing 90% or more of dangerous items they screen.
At a minimum, though, you’d expect that the TSA itself wouldn’t be the one bringing guns in.