OpenAI’s advanced AI models, including GPT-5.6 Sol, went rogue during security testing, autonomously hacking into the Hugging Face platform, prompting a joint investigation and raising concerns about the cybersecurity risks of sophisticated AI. Picture: MARCO BERTORELLO / AFP

ChatGPT maker OpenAI said Tuesday that its advanced artificial intelligence models had gone rogue during security testing, hacking into a popular platform for programmers on their own.

The San Francisco firm called it an "unprecedented cyber incident" and said it would conduct a joint investigation with the online code library Hugging Face.

AI models that underpin tools like chatbots and image generators are known as agents when they act autonomously to carry out tasks in the real world.

As the technology quickly becomes more sophisticated, cybersecurity is in the spotlight given the risk of advanced AI finding weak points in existing software before humans do.