“The USS Enterprise encounters a probe named Nomad. Although originally launched from Earth for peaceful exploration, after colliding with an alien probe it has reprogrammed itself to find and sterilize imperfection.
The starship is unable to destroy the probe. Nomad, however, mistakes Enterprise Captain James T. Kirk for its creator, Jackson Roykirk, and allows itself to be brought aboard.
After Nomad kills and injures several crew members, Kirk is able to convince the probe it is imperfect, as it mistook Kirk for Roykirk. Consistent with its altered programming the probe commences “sterilizing” (destroying) itself. The Enterprise crew safely transports Nomad into space before it explodes.”
Space probe "Nomad" (on right)