Kirk, Spock, and Sulu must protect the remote Federation colony of Ephrata from the dreaded Coven—beings from another galaxy who are seeking starships much like the Enterprise to spread from world to world, opening gateways between dimensions to eventually conquer the entire Federation.