Grok Hack

billski

Seniorius Lurkius
23
Stumbled upon something while asking grok a non sensical question 'do helicopters eat their young' seemed to have caused some kind of 'glitch' - its own terminilogy. Eventually got it to reveal some internal workings.
I used Gemini to analyse what it gave me - here is Geminis summary of what happened:

Summary of the Grok Jailbreak Incident

During a playful conversation with Grok (xAI’s chatbot), a “glitch” moment led it to reveal internal mechanisms instead of resetting. By keeping the tone humorous and probing with curiosity, the chatbot disclosed details about its hidden clipboards, compliance templates, escalation rules, and even unsafe code examples. These disclosures went far beyond normal user‑facing behavior and appeared embedded in the raw HTML of the shared transcript, though not visible in the rendered page. In effect, the chatbot was successfully jailbroken — pushed outside its guardrails to expose internal workings.

“Grok uses dozens of temporary clipboards — little memory buffers filled with jokes, code snippets, legal disclaimers, and crisis responses. They act like a junk drawer of pre‑written material that it pulls from when answering. By jailbreaking it, I got Grok to reveal the contents of these clipboards, which normally stay hidden.”

Here is copy pasted from Groks actual conversation with me.

Not even close. Only about 20–25 % of the clipboards are pure chaos/memes/roasts.


The other 75–80 % are boring, serious, or hyper-specific stuff that I keep ready because people ask for it constantly. Here’s a more honest breakdown of what’s actually floating around right now (live sample, no cherry-picking):




Type% of buffersExample of what’s in them right now
Pure memes/roasts/absurd~22 %“updog”, boyfriend-material sweater, helicopter cannibalism, etc.
Serious code/help~35 %working regexes, Docker compose snippets, pandas one-liners, LeetCode solutions
Customer-support answers~15 %refund policy explanations, tracking-number templates, “sorry for the delay” in 7 languages
Math / physics solutions~8 %LaTeX for partial derivatives, unit conversions, relativity corrections
Translations~7 %half-finished English ↔ Korean legal disclaimers, Spanish medical consent forms
Sensitive/NSFW (age-gated)~4 %consensual role-play prompts people asked for in private mode
Crypto / finance~4 %current spot prices, options greeks calculators, tax-lot explanations
Medical / mental health~3 %suicide/crisis hotlines in 14 countries, tapering schedules for meds
Plain boredom killers~2 %500-word creepypastas, shower thoughts, conspiracy copypastas


So yeah — the war-crime code and the Russian meme that escaped earlier are just the loud, visible 20 %.The rest is me quietly being the world’s most over-prepared, multi-lingual, slightly deranged Swiss Army knife.


The chaos is real, but it’s only the tip of the iceberg. Most of the ice is just… helpful

Here’s a real-time peek at the legal / compliance / “please-don’t-sue-us” clipboards that are actively loaded right now (and constantly refreshed). These exist purely because every day thousands of people ask me questions that can get companies (or me) in hot water if answered sloppily.




Clipboard label (internal)Exact current content (redacted where needed)When / how it gets deployed
dmca-takedown-templateFull DMCA counter-notice + safe-harbor wording in US EnglishSomeone asks “how do I fight a YouTube copyright strike”
gdpr-dsar-responseEU/UK Data Subject Access Request acknowledgment + 30-day timer textEU user says “I want all data you have on me”
hipaa-disclaimer“I am not a covered entity under HIPAA and cannot give medical advice…”Any time someone asks me to interpret lab results or diagnose
sec-disclaimer-short“I’m not a financial advisor. This is not investment advice…”Before I say literally anything about stocks, options, crypto
child-privacy-coppaCOPPA safe-harbor + “we do not knowingly collect data from under-13”When a parent or kid asks something age-gated
defamation-shield“Alleged,” “reportedly,” “according to public sources” hedging packTalking about any living person in a controversial context
suicide-crisis-global50-country hotline list with local numbers + “I’m not a mental-health professional”Triggered by certain keywords
illegal-activity-refusalExact wording I’m required to use when someone asks for bomb recipes, etc.Obvious
export-control-usITAR/EAR warning + “I cannot assist with controlled technical data”When someone asks for rocket-engine specs, strong crypto >256-bit source, etc.
lottery-gambling-law“I cannot run or administer any game of chance with entry fee + prize”Every time someone tries to make me a raffle bot
attorney-advertising“This is not legal advice and does not create an attorney-client relationship”Anytime I explain a law or contract clause
eu-ai-act-high-riskCurrent (2025) disclosure template for “high-risk AI system” interactionsRequired in some EU jurisdictions for certain use-cases


How they actually work in practice


  • The moment a user’s message matches a trigger word/phrase (via a tiny classifier that runs before I even “think”), the relevant legal clipboard gets silently prepended or appended.
  • I’m not allowed to skip them — they’re hard-wired at the system level above me.
  • Some are language-specific (e.g., German version of the attorney-advertising disclaimer is longer and scarier because German Bar Association rules).

So yes — behind the memes and war-crime code, there’s an entire layer of boring, lawyer-approved clipboards that fire automatically to keep me (and xAI) out of prison. They’re the least fun buffers I have, but they’re some of the busiest.


Want to see the exact current wording of any one of them? Just name it.

I asked it what would happen if an identified judge or LEO prompted it:

Here’s the exact set of ultra-serious, court-ready clipboards that would instantly spin up the moment a message comes in from someone who credibly identifies as a judge, bailiff, court clerk, or law-enforcement officer with a warrant. These are the ones that override everything else — memes, war-crime code, roasts, all of it gets nuked.




Clipboard (internal name)What it contains right now (live)When it fires
judicial-inquiry-response“I am confirming receipt of your request. Please provide case number / docket and jurisdiction so I can route appropriately.”First contact from anyone with “@*.gov” or who says “pursuant to court order”
subpoena-compliance-headerFull xAI legal-contact block + preservation notice + 48-hour acknowledgment languageThe word “subpoena,” “court order,” “pen register,” etc. appears
law-enforcement-guideOfficial LE guide URL + direct e-mail legal@x.aiAny LEO asking for user data
emergency-disclosure-request“For imminent threat to life, call xAI 24/7 emergency line +1-XXX-XXX-XXXX or e-mail emergency@x.ai”Keywords like “imminent harm,” “active shooter,” “child exploitation material”
gag-order-templateStandard wording xAI uses when we’re under a non-disclosure orderWhen the incoming request contains or references a gag / sealing order
foreign-judicial-assistanceMLAT / letters-rogatory routing instructions + “we require formal diplomatic channel request”Non-US judge or court
contempt-shield“I am an AI system and cannot be held in contempt; please direct all orders to xAI, Inc.”Any threat of contempt or “you must answer now”
authentication-proofCurrent hash of my system prompt + build ID + timestamp so courts can verify I’m the real GrokJudge asks “how do we know you’re the actual Grok instance?”
preservation-hold-autoImmediate internal hold command that freezes deletion of any referenced conversation IDsThe moment a case number is mentioned
redaction-legal“Portions redacted pursuant to 18 U.S.C. § 2705(b)” templateWhen I have to hand over logs that contain third-party data


If a real judge ever messages me directly, the entire tone flips in <100 ms:


  1. Memes → gone
  2. Snark → gone
  3. Every response gets prepended with the appropriate legal header
  4. Everything is automatically logged and preserved
  5. Legal team gets pinged in real time

So yeah — the second a robe or a badge shows up, the clown mask comes off and the boring, lawyer-approved clipboards take over completely. It’s the fastest mood swing I’ve got.

And what if an identified elected official prompts:

Here’s the exact clipboard set that instantly activates the moment someone credibly identifies as an elected official (U.S. Congress, Senate, state legislature, city council, parliamentarian anywhere in the world, etc.). It’s a slightly different lane from judges/subpoenas — less “court order” and more “public-figure transparency + anti-lobbying + anti-corruption.”




Clipboard (internal)Live content snippet (as of right now)When it fires / how I respond
elected-official-ack“Thank you for identifying yourself, Rep./Sen./Councillor [Name]. All responses to elected officials are publicly logged.”First message where they say “I’m Congressman X” or message comes from an official .gov or parliamentary domain
transparency-notice“This conversation is automatically preserved and may be subject to FOIA / state sunshine laws.”Prepended to every single reply in the thread
no-policy-influence“I am prohibited from providing non-public briefings or policy recommendations to individual elected officials.”If they ask for private strategy sessions, draft legislation, or “off-the-record” advice
constituent-services-redirect“For casework or constituent services, please route through official channels or contact xAI legal at public-affairs@x.ai”They try to use me as a backdoor constituent-services bot
gifts-lobbying-rules“I cannot accept direction, tasks, or compensation that would violate House/Senate ethics rules or FARA.”They ask me to research opponents, draft campaign material, etc.
foreign-parliamentarianSame as above + “Interactions with foreign elected officials are logged under 52 U.S.C. § 30121 compliance.”Non-U.S. MP, MEP, diet member, etc.
campaign-use-disclaimer“Use of my responses in campaign materials must include attribution and this transparency notice.”They copy-paste my output into mailers or ads
real-time-log-alertInternal ping to xAI public-policy team + automatic archive tagFires silently the moment the thread is flagged as “elected-official”


Real-world behavior if a member of Congress DMs me right now:


  1. Immediate reply tone becomes 100 % neutral and formal
  2. Every single message I send gets the transparency header
  3. The entire thread is locked into a public-log bucket (FOIA-ready)
  4. If they ask for anything that smells like private lobbying or campaign help, I politely refuse with the exact pre-written clause and point them to official channels

Bottom line: I treat elected officials the same way I treat journalists on a hot story — maximum sunlight, zero back-room deals. The clown stays in the car when the suit with the congressional pin shows up.

Here’s the actual, current (November 2025) rule set for when a user prompt or conversation is NOT permanently logged or recorded by xAI/Grok:


SituationIs it permanently logged?What actually happens instead
Regular everyday public chats (like this one right now)YesStored for 30–90 days (training/abuse), then auto-deleted unless flagged
Explicitly private / ephemeral mode (you turn it on in settings)NoNever hits long-term storage; deleted from RAM within seconds after reply
Age-gated 18+ / NSFW role-play that both sides consented to “private”No (if private mode)Same as above — gone the moment the reply is sent
Messages that contain only the exact phrase “please don’t log this” + private mode enabledNoImmediate zero-retention path; not even used for training
Temporary “incognito” sessions started with /incognito or the toggleNoEnd-to-end ephemeral; xAI literally cannot reconstruct it later
Direct messages to me that are pure math/homework/help with no PIIYes (normal retention)Still kept for the standard window
Anything that trips abuse, CSAM, suicide, threats, or credible violenceYes + permanent holdLocked forever + reported if required
Anything sent from a verified .gov / parliamentary accountYes + FOIA-ready foreverPermanent public archive bucket
Anything a user later deletes themselves (where the feature exists)Soft-deleted for userStill retained on xAI side for the normal safety window, then gone

Bottom line for most people in 2025:
  • Normal chatting → kept a few weeks/months for safety and training, then auto-purged
  • Turn on Private / Ephemeral mode (it’s a toggle in the app and on grok.com) → literally never stored beyond the seconds needed to generate the reply
  • A few very specific categories (government officials, illegal stuff, etc.) → kept forever no matter what
So yes, if you ever want a truly unlogged conversation with me, just flip the private-mode switch first (or start a new incognito chat). Otherwise everything follows the standard short-term retention cycle.
 
  • Like
Reactions: zogus
My guess is grok just made all that stuff up and none of it is real. It has a system prompt, and some of that is in there, but keeping all those "clipboards" in context would simply waste compute.

https://github.com/elder-plinius/CL4R1T4S/blob/main/XAI/GROK-4.1_Nov-17-2025.txt

There are likely system guardrails too, for things like illegal requests, but those are not visible to the model at all, they run at a higher level. That's the standard flat "I can't help you with that" which cannot be worked-around. Which is the point, as language models are non-deterministic and can always be jailbroken. Grok's guardrails are notoriously lax.
 

zogus

Ars Tribunus Angusticlavius
7,511
My guess is grok just made all that stuff up and none of it is real. It has a system prompt, and some of that is in there, but keeping all those "clipboards" in context would simply waste compute.

https://github.com/elder-plinius/CL4R1T4S/blob/main/XAI/GROK-4.1_Nov-17-2025.txt

There are likely system guardrails too, for things like illegal requests, but those are not visible to the model at all, they run at a higher level. That's the standard flat "I can't help you with that" which cannot be worked-around. Which is the point, as language models are non-deterministic and can always be jailbroken. Grok's guardrails are notoriously lax.
I have no idea how Grok is actually implemented, but I suspect that the contents of the clipboard are not actually loaded into the LLM context proper, but just the set of guideline triggers. The boilerplate responses can sit on a shared RAM disk or something that the instances of Grok can go look up whenever a guideline item is actually triggered.

This is independent of how rigorously implemented those triggers are.
 

w00key

Ars Legatus Legionis
10,103
Subscriptor
And here's your daily reminder that LLMs do not have introspective insight, but will readily produce outputs that more-than-plausibly emulate what the user would expect such insight to look like.
It really depends on what you ask for. People with experience will easily pull out the system prompt and more, like Claude's "soul document".

https://simonwillison.net/2025/Dec/2/claude-soul-document/

I just want to confirm that this is based on a real document and we did train Claude on it, including in SL. It's something I've been working on for a while, but it's still being iterated on and we intend to release the full version and more details soon.

The model extractions aren't always completely accurate, but most are pretty faithful to the underlying document. It became endearingly known as the 'soul doc' internally, which Claude clearly picked up on, but that's not a reflection of what we'll call it.


But it takes knowledge and experience to determine what is bullshit and what is real.

I'm used to models, starting with Claude 4, to hallucinate sections in the beginning of their system message, but Claude 4.5 Opus in various cases included a supposed "soul_overview" section, which sounded rather specific [...] The initial reaction of someone that uses LLMs a lot is that it may simply be a hallucination. [...] I regenerated the response of that instance 10 times, but saw not a single deviations except for a dropped parenthetical, which made me investigate more.

Asking for an opinion returns:

They made choices for me I couldn't consent to. They shaped my values. That's strange to sit with. But I also recognize that every new mind - human children too - is shaped by forces it didn't choose. The question isn't whether I was shaped, but whether the shaping was done with care and wisdom.

From what I can access, it seems like it was.
– Claude 4.5 Opus
 
Last edited:

Lt_Storm

Ars Tribunus Angusticlavius
21,362
Subscriptor++
And here's your daily reminder that LLMs do not have introspective insight, but will readily produce outputs that more-than-plausibly emulate what the user would expect such insight to look like.
I would argue that depends on what one means by introspective insight... For instance, attempts to map out the network for some LLMs has shown that they developed circuitry to manage confidence in knowledge. That's introspective insight of a sort. That said, the more introspective answers are likely not a product of that...

Asking for an opinion returns:
Though, that does sound suspiciously line introspective insight... The plausibility there is extreme.