Most people misunderstand AI. AI is probalistic, not deterministic, meaning there is no fixed outcome, only a score and the highest score wins (mostly). AI's only goal is to find the highest score.
AI sets its eye on the prize, so (ab)use it like that.
If you want to find bugs in code whether or not there is a bug, keep it simple, your prompt: