After xAI’s chatbot Grok spent a few hours on Wednesday telling every X user that would listen that the claim of white genocide in South Africa is highly contentious, the company has blamed the behavior on an “unauthorized modification” to Grok’s code.

Wednesday’s hours-long outburst saw Grok insert discussion of alleged white genocide in South Africa into various responses on X, no matter the topic. Grok discussed white farmers’ deaths in reply to a video of a cat drinking water, related the song “Kill the Boer” to a question about Spongebob Squarepants, and broke down the issue in full patois. Even OpenAI CEO Sam Altman got in on the action, poking fun at the rival chatbot’s public breakdown.

In a statement on X the company said that someone had modified the AI bot’s system prompt, “which directed Grok to provide a specific response on a political topic.” That modification “violated xAI’s internal policies and core values,” and the company says it has “conducted a thorough investigation” and is implementing new measures to improve “transparency and reliability.”

We want to update you on an incident that happened with our Grok response bot on X yesterday.

What happened:
On May 14 at approximately 3:15 AM PST, an unauthorized modification was made to the Grok response bot’s prompt on X. This change, which directed Grok to provide a…

— xAI (@xai) May 16, 2025

Those measures include publishing Grok’s system level prompts publicly on GitHub, launching a 24/7 monitoring team to catch issues like this more quickly, and adding “additional checks and measures to ensure that xAI employees can’t modify the prompt without review.”

xAI has had this problem before. The company blamed an unnamed ex-OpenAI employee in February for pushing a change to Grok’s prompts that saw the chatbot disregard any sources that accused Elon Musk or Donald Trump of spreading misinformation. At the time xAI’s head of engineering, Igor Babuschkin, said the employee had been able to make the change “without asking anyone at the company for confirmation.”

By