Design and engineering of a transmissible antiviral defense