I know shit about how these nanites work, but it seems plausible. Either something in the toxin could've triggered a healing function as a side-effect, or they kicked in to fight off the toxin and wound up fixing whatever other damage they found in the process.
no subject