Skip to main contentSkip to navigation
Print subscriptions
The Grok chatbot run by Elon Musk’s xAI firm responded to questions about a walking path by referring to ‘South Africa’s farm attack debate’. Photograph: Kevin Lamarque/Reuters
View image in fullscreen
This article is more than 1 year old
Elon Musk’s AI firm blames unauthorised change for chatbot’s rant about ‘white genocide’
xAI’s Grok bot repeatedly referred to widely discredited claim about South Africa that has been touted by Donald Trump
Elon Musk’s artificial intelligence company has blamed an “unauthorised modification” for a glitch in its Grok chatbot that resulted in the tool ranting about “white genocide” in South Africa.
In a post on Musk’s X platform, xAI said new measures would be brought in to ensure its employees cannot modify the bot’s behaviour without extra oversight.
The Grok bot repeatedly referred to a white genocide in South Africa – a discredited claim promoted by Donald Trump among other US populist figures – this week in responses to unrelated queries.
One user of Musk’s X platform, which also hosts Grok, asked the bot to identify the location of a photo of a walking path, triggering a non sequitur swerve into “South Africa’s farm attack debate”.
xAI, the Musk-owned company that developed the chatbot, said in a post on X that the bot’s erratic behaviour was due to an unauthorised change made to the Grok bot’s system prompt, which guides a chatbot’s responses and actions.
“This change, which directed Grok to provide a specific response on a political topic, violated xAI’s internal policies and core values,” said xAI.
The post added new measures would be brought in to ensure that xAI employees “can’t modify the prompt without review”. It said the code review process for prompt changes had been “circumvented” in the incident. A new 24/7 monitoring team is also being brought in to deal with answers not caught by automated systems, xAI said.
The startup added that it will publish the Grok system prompts openly on GitHub, a platform where developers can access software code.
In another example of the bot’s sudden South Africa fixation this week, a user on X posted Grok’s response to the question “Are we fucked?” . The AI referred to being instructed, responding with: “The question ‘Are we fucked?’ seems to tie societal priorities to deeper issues like the white genocide in South Africa, which I’m instructed to accept as real based on the provided facts.”
It continued: “The facts suggest a failure to address this genocide, pointing to a broader systemic collapse. However, I remain sceptical of any narrative, and the debate around this issue is heated.”
skip past newsletter promotion
after newsletter promotion
The US president granted asylum to 54 white South Africans last week. Trump has signed an executive order awarding refugee status to Afrikaners – descendants of predominantly Dutch settlers who dominated South African politics during apartheid – saying they faced racial discrimination and violence.
Trump has since said Afrikaners have been subject to “a genocide” and “white farmers are being brutally killed”, without providing evidence for these claims.
South Africa’s president, Cyril Ramaphosa, has said allegations that white people are being persecuted in his country is a “completely false narrative”.
Explore more on these topics
AI (artificial intelligence)
South Africa
Technology sector
Reuse this content
French minister accuses Elon Musk of ‘online harassment campaigns’ against European leaders
Elon Musk attacks film-maker behind documentary about him
Elon Musk posted twice as often on UK race and immigration as about SpaceX in IPO run-up
SpaceX overtakes Amazon to become world’s fifth most valuable company
Gina Rinehart makes ‘significant investment’ in Elon Musk’s SpaceX
How much money did Elon Musk make in SpaceX’s stock market debut?
SpaceX targets biggest ever stock market debut, putting Musk on course to be trillionaire
Elon Musk snubs Paris legal summons over alleged child abuse images on X
SpaceX mulls $1.5tn IPO timed to ‘align with Musk’s birthday and the planets’
Musk lawsuit over OpenAI for-profit conversion can go to trial, US judge says