We're decent at tracking large space rocks, and small space rocks will likely have to be dealt with anyway since some occur randomly.
It's somewhat interesting that terrorism already isn't such a problem for huge skyscrapers. Skyscrapers can be destroyed with just a small fraction of the explosive energy required to launch an orbital rocket yet it rarely happens.
and inertia is a bitch
you have to choose to hit something, because the energy to completely eject that mass from being dangerous would be a lot
Also "throwing space rocks will be trivial for a terrorist cell" makes a lot of presumptions about how social organization will work in orbit. IMHO there will never be the spacer society presupposed by so much sci-fi, because any spaceship with an interesting propulsion system is also always a weapon of mass destruction (and not just against orbital infrastructure). The solution to this is that weapons of mass destruction are only owned and operated by large, powerful states with things to lose. It's worked for nukes for 80 years soonish.
So, yes, there won't be some independent spacer terror cell. But what if one of the space faring countries will decide to simply sponsor some Hamas 2.0 to attack their opponents? Considering that this will be a new age of conquest possibly, where nothing in the Solar System is yet owned by anyone and there will be a lot of takers. Like a simplest question - who's are Luna and Mars? :)
Next issue is that chemical rockets are much simpler and cheaper, also they are not gated by any tech or material. Sure, there are important secrets around nozzles and stuff, but I suppose a simple crude rocket will work just fine. So assuming we are at the level when humans can travel to the asteroids to mine them (also a big if, due to it being economically unfeasible) they can setup such a kamikaze rocket. Attack will be from outside of the ecliptic plane, so likely undetected. Attack can be scaled to more than one rock, so that every single point of failure, every dome etc must have dozens of anti-spacecraft level defense rockets (nukes most likely). It is not feasible.
Of course all of this is about far far future, we can't predict what will happen.
It won't be. There is no stealth in space, and telescopes are really good. Once there will be a lot of man-made objects in space, it will be trivial for a state actor to continuously track the exact position (and complete history) of every single man-made object large enough to have an engine in the solar system, and I would assume that everyone with major space interests would do that.
ICBMs have existed for a long time, as have nuclear weapons. Terrorists cannot "trivially" deploy them.
These kind of extremely powerful magnets will not be trivial, and doing anything in space even less so.
You were talking about the "total destruction" of the ecosystem on Earth, because "throwing space rocks" will be "trivial for any terrorist cell". Talk about hypothetical rockets fired on hypothetical domes on a hypothetical Mars colony bears absolutely zero relation to that.
I think we have no chance at the large space structures, and current age will be considered a fluke of the insufficient lifting capabilities.