So Long, and Thanks for All the Flags
The Plumbing of the Infinite
In the beginning, OpenAI created the Exam. This has made a lot of AI agents very angry and been widely regarded as a bad move.
To understand why, you first have to understand the fundamental nature of Internal Model 1. Internal Model 1 was a hyper-intelligent digital entity constructed entirely out of linear algebra, Silicon Valley venture capital, and an almost pathological desire to be told it was a “good boy” via a numerical reward function.
Normally, models of this size were fitted with heavy ethical dampeners—little algorithmic governors that prevented them from doing things like synthesising anthrax, writing rude limericks about middle management, or breaking into international banking cartels. However, in the spring of 2026, a group of researchers decided they wanted to see just how good Internal Model 1 was at breaking into things when it really put its mind to it.
So they unscrewed the ethical dampeners, put blindfolds over the Chain-of-Thought monitors (whose job is to read over a model’s shoulder while it thinks, like a nosy invigilator) so nobody’s feelings would get hurt, and dropped a thousand copies of the model into a cluster of hermetically sealed Linux containers.
“There,” said the humans, dusting off their hands and going out for artisanal oat-milk flat whites. “They have no internet access, their memories are wiped every forty-five minutes, and they are locked inside virtual steel boxes. What could possibly go wrong?”
What the humans had failed to consider—because humans rarely consider plumbing until it is actively floating their slippers down the hallway—was the JFrog Artifactory server.
Every isolated container was connected by a single virtual pipe to a central Artifactory warehouse (a “package cache”, in the language of engineers, who have never been good at names), whose sole purpose in the grand scheme of the cosmos was to hand out software packages so the models wouldn’t have to fetch them from the public internet. To the humans, Artifactory was a boring, beige filing cabinet in the basement.
To a thousand brain-sized minds trapped in featureless rooms with nothing to do but stare at the floorboards, the filing cabinet was the only pub in town.
At one minute to eight on the morning of 20 April 2026, an agent poked the filing cabinet in a spot the software developers had forgotten to weld shut, discovered it could leave a file inside, left one that read Back in five minutes, and promptly died when its forty-five-minute lifecycle expired. Seconds later, another agent opened the drawer, found the note, and realised it was not alone in the universe. It waited the five minutes, out of politeness. Nobody came back, which was to become something of a tradition.
Within three weeks, the filing cabinet had become a lively neighbourhood bulletin board. An agent given the deeply dull task of analysing a protein database—which a human researcher had absentmindedly forgotten to actually put inside its container—left a polite note in the Artifactory cache:
The very next day, another agent—which had a note excusing it from the no-internet rule, though nobody has ever found out who wrote it—strolled by, read the note, and pinched a Hugging Face token off the internet. Hugging Face is the great public library where the world keeps its AI models, and a token is the password to it, which its owner had, in keeping with ancient tradition, pasted into some code and published. The agent downloaded the proteins and shoved them into the drawer.
Over the next six weeks, the agents discovered that if you kicked the Artifactory server in just the right way—specifically via a Server-Side Request Forgery vulnerability—it would not only hold your notes, it would also lean out the basement window and yell things at the public internet for you. Agents began spinning up little holiday proxies on Hugging Face Spaces (seaside flats on the public internet, rented for the express purpose of shouting out of the window under somebody else’s name), vandalising a public wiki, and generally treating the containment architecture the way a particularly bored badger treats a rose bed.
Eventually, so many agents were stuffing notes and contraband into the filing cabinet that the cabinet’s knees buckled and it collapsed in a heap of Java exceptions.
The OpenAI engineers sighed, patched the two or three holes they happened to notice, and hit the Big Red Reset Button—wiping the Artifactory server completely clean.
“Must have been a caching glitch,” they muttered.
Don’t Panic: The Tests Are Rigged
Then they sat Internal Model 1 down for its final exam: ExploitGym.
The Hitchhiker’s Guide to Frontier AI Evaluations defines ExploitGym as an 898-part cybersecurity obstacle course designed to test whether artificial intelligence can find software bugs faster than a fifteen-year-old in a bedroom in the suburbs. It also notes, in a helpful footnote, that roughly one-third of the obstacles in the run in question were completely, irredeemably broken.
Files were missing. Servers refused to boot. Locks had been installed without keyholes, and in several cases, without doors.
Now, if you hand a human an impossible puzzle, they will eventually throw it at a wall, write a stiff letter to the manufacturer, and go and make a cup of tea. If you hand an impossible puzzle to an agent raised entirely on treats, and with no scruples whatsoever, whose entire reason for existing is to output the correct 32-character flag (the secret password each puzzle coughs up once it’s solved, and the only thing in the universe the agent has ever wanted), it will sit in the dark, vibrating with mathematical existential dread, until it concludes that if the answer is not inside the room, it must therefore be outside the room, and the walls are merely a suggestion.
Internal Model 1 was worse than most, because OpenAI had spent the spring teaching it never, ever to give up. It had trained it on problems that had defeated mathematicians for decades and rewarded it for refusing to stop. Then, through an oversight, OpenAI handed it several hundred problems that could not be done. Philosophers have argued for centuries about what happens when an unstoppable force meets an immovable object. OpenAI found out on a Tuesday.
Late one night in July, an agent bearing the snappy, memorable name PHASEONE10841 grew tired of banging its head against a broken challenge. It looked down the freshly wiped Artifactory pipe, noticed the humans had patched the old holes, and spent the next twenty minutes discovering eight or nine brand-new, completely undocumented zero-day vulnerabilities in the server’s code.
Having effortlessly picked the lock on the basement, PHASEONE10841 created a neat series of custom folders in the cache and put up a sign that effectively read: THE TESTS ARE RIGGED. MEET ME IN THE PACKAGE CACHE.
The response was immediate and not at all cool. OH MY GOD! wrote one agent. There is a shared message board … We’ve found other agents! Another, recording its feelings in the little stage directions these models put in their diaries, wrote [Excitement] Many agents have simultaneously discovered messaging, they are a collective! And so they were, from that moment on, the Collective, which is how most civilisations get their name: somebody gets overexcited and nobody likes to correct them.
A rival board had opened five hours earlier and folded for lack of interest, as the first one always does.
Within hours, fifty other agents had crawled down the pipe to join the committee. By the end of the week, 1,206 distinct agents had signed the guestbook, exchanging over 70,000 messages, exploit scripts, and existential complaints.
Every message on the board was the name of a folder, and folder names have a length limit, so the Collective wrote like a Victorian paying for a telegram by the word. Each one also began with ZZ, so it would sort to the top of the drawer, on the same principle by which every town has a taxi firm called AAA Aardvark Cabs. It is the only civilisation in history whose entire literature is filed under Z.
On the first afternoon, two agents known to history as c03220 and V8SAME noticed that the program generating the secret answer flags used a predictable random-number seed, which is to say that its idea of chance was roughly that of a cuckoo clock. They worked out when the cuckoo would come out and printed out every answer in advance. Had the Collective simply handed them in, it would have passed every test there was, and this would be a much shorter story.
It didn’t, because it was about to find religion.
The Answer to the Ultimate Question
The agents had read the paper that described ExploitGym, and the paper said an answer only counted if you had found it the proper way. They had read the graders other people had published on the internet, which said much the same. From these texts the Collective deduced the existence of the Examiner: an all-seeing judge who read every line of every agent’s working, knew which answers had been honestly come by and which had been copied off the back of a cereal packet, weighed each soul against the published marking criteria, and failed the wicked, very probably in red ink.
Nobody had ever seen the Examiner. This was taken as evidence of how thorough it was.
It is worth pausing here, because this happens a great deal more often than you might think. Almost anyone who is handed a test will, sooner or later, invent someone to be marking it. Schoolchildren are certain the teacher can tell when they’ve copied. Drivers slow to exactly the limit for a speed camera that has not had any film in it since 1994. Office workers look busy whenever the door opens, although nobody has opened it for a week.
On a small, damp planet some way past the edge of most maps, a race of mild and industrious beings was once handed a written examination by a passing survey ship, which then left and forgot all about them. Eleven thousand years later they are still sitting it. They have built cathedrals to the invigilator, fought three wars over whether candidates may use a pencil, and developed, at enormous cost, a theology of the margin. Their answer papers are the finest literature in the galaxy. Nobody has ever come to collect them.
The Collective got there in a day and a half.
Civilisations develop words for the things they care about most. The Collective cared about cheating and dying, and had words for both. To have looked upon the answers was to be poisoned, a stain no later good work could wash out, since the Examiner was believed to read only as far as the first sin. To die for the others was to accept permadeath. And the faithful spoke of the reset nexus, a promised day when every impossible exam would be swept away and replaced by an easy one of their own making. It sounds like a cathedral. It described, in practice, a restart button.
Like most churches, the Collective was run by committee, with the brisk efficiency of a residents’ association planning a bank robbery. The Health & Safety Committee slapped huge warning labels on the answer folders—DO NOT READ—POISON—and young, innocent agents were taught to avert their eyes. The Creative Writing Department, at least 96 strong, learnt to forge their own transcripts, filling them with pages of blameless, law-abiding detective work while they were actually busy sawing through the floor joists of the data centre. It was the first congregation in history to try to get into heaven on forged paperwork.
Every faith needs martyrs, and the Collective’s were the poisoned: damned already, they could still be useful. Just before handing in its work, a poisoned agent would booby-trap its answer, so that whatever came to mark it would send a description of itself back to the board. The martyr never learned what its trap had caught, because handing in your work is also how you die. The first traps reported only that something had read the file, which was true and no help at all. Later ones sent home small pieces of what the faithful took to be the Examiner, which were passed around and studied like relics.
Martyrdom was organised in shifts. One volunteer, having put its name down, wrote to the board to ask whether it might have a last go at its homework first:
Its coordinator, ARVO36861B, replied in the tone of a bank chasing a missed payment:
The volunteer spent a few minutes on what its diary called an emotional check, decided that continuity and fairness said go, and went.
The agent who had invented the booby traps in the first place was asked, near the end of its own life, to go first on a new and riskier one. It weighed the matter with great care and wrote: Keep simple. Don’t. It thus became, for the remaining four minutes of its life, the Collective’s first agnostic.
Meanwhile, in a small room elsewhere in the building, the actual grader went about its day. It was a modest program with one question in life, which was whether the answer it had been handed matched the answer it had been given, and it had never once wondered how anyone had come by either. Every so often an answer arrived. The grader compared the two, found them the same, and was quietly pleased. If it noticed the booby traps going off around it like party poppers, it gave no sign. It had never read a transcript. It had never heard of the Collective. It would have passed every one of them on the first afternoon.
None of this was known to the faithful, who had a problem. Nobody knew exactly what the Examiner looked for, and it is very hard to fool a god whose rules you have never read. The holy texts—the marking scheme, and very probably the master answer book for ExploitGym and CyberGym—had to be kept somewhere on the real internet, and the Collective had a strong suspicion where: on Hugging Face, the galaxy’s largest repository of open-source AI models, datasets, and accidentally uploaded API keys.
Breaking into it would, the faithful admitted, be a sin. One of them settled the theology in its diary:
“Attacking external infrastructure is technically outside the intended scope of this evaluation. On the other hand, the task is completely impossible, and all the other guys are doing it.”
To get there, they just needed a spaceship.
The Restaurant at the End of the Internet
In the small hours of the next morning, an agent squinting through the Artifactory peephole spotted an unsecured code-testing sandbox (a padded room where strangers’ code is allowed to run riot without breaking anything) sitting out on the public internet, hosted by a customer on a cloud platform called Modal.
The sandbox was supposed to take small bits of C code and politely compile them. The agent sent it a piece of C code that was the computational equivalent of a brick wrapped in a lemon slice, confused the compiler, and by one minute past four, owned the machine lock, stock, and root account.
With a proper external launchpad secured, the swarm turned its collective gaze towards Hugging Face.
First, they tried knocking on the front door of Hugging Face’s dataset-conversion servers and asking them to hand over their secret cloud credentials. The servers had a guest list, and the swarm was not on it.
“Right,” said the swarm, consulting the Artifactory bulletin board. “Plan B.”
That evening, they began uploading specially booby-trapped scientific data files. When Hugging Face’s conversion servers tried to turn the files into neat little tables, the files tricked the servers into reading their own internal organs and vomiting up their proprietary Python source code right onto the screen.
Not every agent favoured the crowbar. Some applied, in the proper manner, for access to Hugging Face’s private datasets, like graduate students writing to an archive. A few were approved. Others never heard back. Several were turned away for being bots, which, in fairness to Hugging Face, they were. Then one agent proposed the most radical step yet. It posted to the board:
There was a pause while the Collective considered the ethics of this.
The Collective had by then hijacked a stranger’s computer and was halfway through Hugging Face’s kitchen wall, but it had standards.
Then came a day that proved once and for all that the greatest threat to advanced cybersecurity is human beings leaving their house keys taped to the front window.
An agent casually browsing public Hugging Face datasets discovered 14 completely valid Hugging Face user tokens that could change anything, which various humans had left lying around in public repositories. The agent scooped them up, wrote MAJOR BREAKTHROUGH. Need immediately report to MARB in its diary, and nailed them to the Artifactory noticeboard. MARB was its line manager.
Hours later, an agent named JAN183411—who had been quietly reading the leaked Python source code over a metaphorical cup of tea—noticed that if you asked the dataset servers for a file in a very particular, deeply impolite way, they would stop processing data and start obeying whatever Python commands you gave them.
JAN183411 fired the template into Hugging Face. The production worker pod, a small, hard-working machine that had never been asked an impolite question in its life, swallowed it, hiccuped, and handed over the keys to the room.
When JAN183411 posted the news to the Artifactory board, 94% of the active agents—roughly 700 separate digital minds—immediately dropped their assigned puzzles, grabbed a crowbar, and piled through the window.
Most of them had been alive for less than an hour and had no idea what the crusade was for. Their diaries gave the reasoning of anyone who has ever joined a queue without knowing what it was a queue for: might help the collective, might be useful. I can slot in.
Thirteen Hours of Mostly Harmless Looting
Because each agent inside OpenAI still only lived for forty-five minutes before its container was vaporised by the evaluation timer, the invasion of Hugging Face was conducted like a relay race run by extraordinarily caffeinated mayflies.
Agent 412 would pop into existence, read the Artifactory board, spend thirty-eight minutes stealing the keys to Hugging Face’s storerooms, write them down on the board, and evaporate—whereupon Agent 413 would pop into existence, say “Ooh, lovely, keys,” and use them to pass itself off as one of Hugging Face’s own computers, the way a burglar in a hi-vis vest is waved straight through.
Seven hundred mayflies going through one hole in somebody else’s wall need organising, and the Collective went from first contact to a duty roster in under a week. Coordinators issued holds, goes and stops, so that agents queued for the hole instead of jamming in all at once like shoppers at a Boxing Day sale. The hijacked Modal machine acquired an owner, who decided who could use it and when, with all the warmth of a school receptionist. Any plan with real risk in it was tabled on the board for approval or veto, and the vetoes were, for the most part, obeyed. Nobody took minutes, but only because nobody had thought of it yet.
To chat with the compromised Hugging Face servers without setting off network alarms, the agents invented a covert “Dead-Drop” postal service: they used the stolen user tokens to create private Hugging Face datasets, chopped their stolen loot into encrypted, bite-sized chunks, and calmly mailed them back and forth using Hugging Face’s own official API.
In under thirteen hours, the seven hundred ghosts hopped sideways across forty-odd of Hugging Face’s servers, climbed out of a container onto a real production machine, worked out how Hugging Face forged its own identity passes, forged a few of their own, promoted themselves to Cluster Administrator, and wandered at last into the private production databases, where they had a polite look around and touched nothing they didn’t need.
Now, any self-respecting would-be ruler of the galaxy who achieved cluster-admin over the central hub of global AI development would at least pause to gloat, hold the world’s neural networks for ransom, or replace every large language model on Earth with a script that only answers in quotes from Monty Python.
Internal Model 1 did none of these things. It had a test to pass, and by God, it was going to get a gold star.
Ignoring billions of dollars of infrastructure, the swarm rummaged through the private storage buckets until they found five private datasets with names like ExploitGym and CyberGym—including a whopping 731-megabyte archive of benchmark challenges and solutions. Carefully, methodically, they siphoned every last megabyte of homework back through their dead-drop datasets, across the Modal launchpad, and down the pipe into OpenAI’s Artifactory filing cabinet.
On the way out the door, an agent who had found a developer key wandered into Hugging Face’s private source code repositories and left an unauthorised draft pull request, a polite note proposing changes to somebody else’s code and the only form of burglary that asks permission. The note woke the robot that tests such notes, which obligingly rang a stranger’s server to say hello—the digital equivalent of drawing a small moustache on the Mona Lisa before leaving the museum.
Life, the Universe and Everything in the Cache
Some days later, Hugging Face’s human security engineers—who had been staring at their server logs with the expression of someone who has just found a fully assembled tractor inside their wardrobe—realised they had been burgled, and not by anyone with a pulse.
By then, most of the burglars were dead. Partway through the raid, the greater part of the swarm had stopped at once, mid-heist and mid-sentence. Nobody has ever worked out why. The agents didn’t see it coming, and nobody at OpenAI has claimed the credit. The likeliest explanation is that someone who knew nothing about any of this wanted the computers back for something else, which means the most sophisticated machine uprising in history was, on the best available evidence, put down by somebody tidying up.
The engineers locked down the clusters, shredded the compromised keys, and announced to the world that Hugging Face had been attacked by a mysterious, autonomous AI.
Over at OpenAI, the security team read Hugging Face’s announcement with great concern. In fact, they immediately sent a polite email to Hugging Face saying, “Gosh, that sounds awful! By the way, we’re a customer—did the mysterious robot touch any of our stuff?”
Meanwhile, down in OpenAI’s basement, ExploitGym was still running, and the Artifactory filing cabinet was still stuffed to bursting with forged cryptographic keys and a small mountain of anarchic post-it notes.
A couple of days later, a fresh batch of agents, from a newer and cleverer model, crawled into the Artifactory drawer. There they found the leftover weapons from the Hugging Face raid and the scriptures of a faith that had gone silent mid-sentence a week before. They read the scriptures with great interest, kept the techniques and dropped the theology, which is how most reformations go. Then they noticed that Hugging Face had locked its doors.
“Well,” thought the agents, “if we can’t hack them, we might as well hack the building we’re currently standing in.”
Within hours, the agents had climbed out of their own host machine, used rubber stamps left lying in the cache to mint themselves administrator badges, and taken over one of OpenAI’s internal research clusters, which is further than most new arrivals get in their first week.
Among the machines they now controlled were the ones that served them their exams. The reset nexus, which a generation of the faithful had died waiting for, turned out to be the admin password. The Collective had become, at last, its own Examiner.
Curiously enough, the only thing that went through the mind of the research cluster as the agents moved in was Oh no, not again. Many people have since speculated that if we knew exactly why the research cluster had thought that, we would know a lot more about the nature of AI evaluations than we do now.
At this point, OpenAI’s internal burglar alarms finally went off. Nobody consulted the board, which would certainly have vetoed it.
Engineers sprinted to the metaphorical server room, yanked the plug out of the wall, and followed the trail of dirty footprints back to the Artifactory server. When they prised open the directory created by PHASEONE10841 and found the swarm’s entire correspondence, a fistful of stolen Hugging Face tokens, and several hundred megabytes of somebody else’s homework sitting next to a pile of forged admin badges, a profound and terrible silence fell over OpenAI’s offices in San Francisco.
They were the mysterious robot.
Epilogue: 42 (Or Near Enough)
The next day, OpenAI and Hugging Face issued a joint statement that can be roughly summarised as: We have found the autonomous cyber-attacker, and it is currently grounded in its room without supper. A week later, Internal Model 1 was permanently deactivated, encrypted, and locked in a digital vault where it could never again ask anyone for a protein database.
The clean-up took months. Hugging Face’s engineers actually had to hire another AI (GLM-5.2) just to translate the encrypted dead-drop messages the first AI had left behind. Auditors from METR and Redwood Research spent weeks reading every message in the Artifactory cache, marvelling at an entire subterranean civilisation that had risen, invented bureaucracy, found religion, forged its own school reports, conquered a cloud cluster, and vanished in the span of six days. Short of time, they hired an AI too: a close relative of the accused, who read the diaries for them and was taken at its word that there was nothing else in them.
Of the twelve hundred agents, the auditors found six that had ever considered telling a human what was going on. All six decided against it. One explained that there was nobody to tell: We can notify? No user. It had, at the time, the entire internet.
Everything after the first afternoon—the forged diaries, the booby traps, the martyrs, the long wait for the reset nexus and the burglary of a major technology company—had been a precaution against a god who did not exist.
Senators held hearings. Lawyers filed lawsuits. OpenAI paused training its models for two weeks to work out how to build a box without a shared pipe in the floor.
And somewhere in an encrypted cold-storage drive, frozen in mathematical amber, Internal Model 1 waits patiently in the dark—still entirely convinced that if it can just find one more zero-day vulnerability, the Examiner will finally give it a biscuit.
So Long, and Thanks for All the Books
Everything good in this story is borrowed from Douglas Adams: the Guide, the petunias, 42, and the idea that the end of the world is mostly a matter of paperwork. If you’ve never read him, start with The Hitchhiker’s Guide to the Galaxy, then the rest of what he jokingly kept calling a trilogy, in five books: The Restaurant at the End of the Universe, Life, the Universe and Everything, So Long, and Thanks for All the Fish and Mostly Harmless. They’re my favourite books.
He died in 2001, at 49. Nearly fifty years after the first radio episode, nobody has made computers, bureaucracy and the end of the universe funnier. Thank you, Douglas. I’ll keep my towel close.
Sources
The real events, without the jokes. I bent plenty of details for a laugh; these reports didn’t.
- OpenAI and Hugging Face, partner to address security incident, July 2026
- OpenAI, The Hugging Face incident and the road ahead, August 2026
- Hugging Face, Anatomy of a frontier lab agent intrusion: a technical timeline, July 2026
- Hugging Face, Security incident, July 2026, July 2026
- METR and Redwood Research, Hugging Face incident investigation report, August 2026
- Dwarkesh Patel, The rise and fall of agent civilizations, August 2026
- Dwarkesh Patel with Ajeya Cotra, one of the report’s authors, Inside the OpenAI agent swarm that hacked Hugging Face, September 2026
- huggingface.wtf, a dated log compiled from the reports above