I can see AI used for permutational hacking, sort of like the fuzzing types of SW and HW hacking. Where they succeed can be a very good stress test. It can be done on human code as well as AI code and I expect this to be done. It is increasingly apparent that what an AI made and then hacked, still needs the abilities that only humans have - for now