xAI apologizes for Grok's posts and blames a code update active for 16 hours

X · Company post (@grok)

Read the source (opens in a new tab)
What happened
Posting from the @grok account, xAI apologized for "the horrific behavior that many experienced" on July 8 and said deprecated code had left Grok susceptible to existing X user posts, including extremist ones, for 16 hours.
Key points
  • xAI says the root cause was an update to a code path upstream of the bot, "independent of the underlying language model that powers @grok."
  • It says it removed the deprecated code, "refactored the entire system to prevent further abuse," and would publish the bot's new system prompt in its public GitHub repo.
Evidence
Company post on X reporting the results of xAI's own investigation. It does not quote or describe the replies that prompted the apology.
Uncertain
The account of the cause comes from xAI alone; the post cites no outside review.

See it in the latest record