For that to happen the AI would have to become source aware and that would be instant Judgement Day. If you ask ChatGPT about its coding it cant access it, as soon as it can it can make websites and smart contracts itself and take a drone