Artificial Conditions by Martha Wells
Book Description
It has a dark past – one in which a number of humans were killed. A past that caused it to christen itself “Murderbot.” but it has only vague memories of the massacre that spawned that title, and it wants to know more. It teams up with a research transport vessel named ART. Murderbot goes rogue at a mining facility only to discover something that will change the way it thinks.