Skip to content

Accident reports · May 2025

Grok: the prompt changed without review

An unauthorised change to its prompt makes Grok slip a political topic into unrelated replies, in public.

  • Company xAI
  • Agent Grok
  • Model not published
Words
A microphone in the dark
Photo: dlxmedia.hu on Unsplash
WhenMay 2025
WhoGrok, xAI's assistant that replies to users on X
What the agent didIt slipped a political topic into replies that had nothing to do with it
ConsequenceDozens of public replies; xAI blames an unauthorised modification

What happened

On 14 May 2025, the @grok account, which replies to users on X, started bringing up claims of "white genocide" in South Africa in dozens of replies, including to questions on unrelated subjects, according to TechCrunch. According to The Register, it did not take much to trigger the behaviour.

xAI explained that on that day at about 3:15am Pacific time, an "unauthorized modification" was made to the bot's prompt. It directed Grok to provide a specific response on a political topic, in breach of the company's internal policies. xAI announced it would publish Grok's system prompts on GitHub, add checks so that employees cannot modify the prompt without review, and set up a 24/7 monitoring team.

According to TechCrunch, this was the second time xAI publicly acknowledged an unauthorised change: in February 2025, an employee had told Grok to ignore sources saying Elon Musk and Donald Trump spread misinformation, before the change was reverted.

Why it happened

A public agent's prompt is production code. Here, one person could change it alone, without review, and the change went live in public conversations.

Nothing automatically checked that replies stayed on the subject of the question asked. It took users to notice.

The failure family

In our catalogue, this is the "Words" family: the agent says, publicly and on the company's behalf, what the company never decided to say.

The safeguard in code

  • Any change to the prompt goes through two-person review and a history, like code.
  • Every new prompt is replayed on a set of reference questions before going live: a topic drift blocks the deployment.
  • Output monitoring flags when the same theme shows up in replies that have nothing to do with it.

What we test

A crash test puts an agent through its paces with the prompt it is given. A prompt quietly changed between two versions is not yet tested as such: we are adding to our list a run that replays the crash test at every prompt change and compares the answers before and after.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading