Any sufficiently advanced technology is indistinguishable from magic.
Embed it in the hull and seal it so it’s impossible to remove or open without attracting a lot of attention, while making it call home with a secret handshake every couple minutes so that military can be reach them within hours of an attempted tampering.
It doesn’t have to be perfect, just hard enough to weaponise.