AI coding agents uninstalling themselves

It is a bit dark if you think about it. One of the Schematical Discord mods posted this and I am not sure if it is true or not but I could see it happening.
I am sure the big AI providers would prefer that their products don’t just go uninstalling themselves willy-nilly but what do you do to stop it? Put a prompt in there, "Don't uninstall yourself”?
Definitely validate the tool call to run that as a CLI prompt although the LLMs are likely smart enough to obscure their command enough to make it difficult to validate.
As we rely more and more on AI we are going to see more things like this pop up and I just found this one morbidly fascinating.
Let me know what you think.