This is why we have a navy, not to mention the supporting apparatus of land-, sea-, and space-based monitoring of the air and seas.
Unless this thing is placed under a heavily-trafficked air route, attacks from non-state groups are unlikely to succeed, as the divergent flight-path of a commercial airliner will set off alarms.
And state actors would be declaring war by attacking this thing.