この記事は英語で公開されています。
By UNST33R
Ten dormant neurons: the agent backdoor scare and what it actually means for your model supply chain
A November 11 r/LocalLLaMA thread claims Microsoft Research backdoored an AI agent by editing fewer than 10 dormant neurons. The technique class is real and documented since 2021. Here is why harness guardrails miss it, what the literature actually shows, and the three-level detection ladder for operators running third-party weights.
At 04:09 UTC on November 11, a thread titled "Microsoft Research backdoored an AI agent by directly editing fewer than 10 dormant neurons" started climbing r/LocalLLaMA, reaching 51 upvotes and 17 comments within two hours of posting. The original poster's warning was direct: "Be careful if you are running any sketchy quants/finetunes. If these techniques become more widely repeatable, I do think 'sleeper agents' could genuinely develop into an attack vector."
We could not yet verify the specific Microsoft Research numbers against a primary publication at the time of writing; the claim was circulating through discussion threads rather than a paper link. That caveat matters less than it seems. The technique class the thread describes, implanting a trigger-gated payload by editing a handful of parameters, has been demonstrated in peer-reviewed work since 2021. The community reaction is the event worth analyzing, because it surfaced a question that the thread's top comment asked and nobody answered.
The unanswered guardrail question
The highest-voted comment (23 upvotes at capture time) came from cpsnow of Project Discovery: "Wouldn't this be easily blocked by harness guardrails?" As of the November 11 morning capture, no reply existed. The honest answer is no, and the reason is distribution mismatch.
Harness guardrails, output filters, and refusal classifiers are tuned on two distributions: benign traffic and known-bad traffic. A trigger-gated weight edit is engineered to be silent on both. It produces flawless behavior on every prompt your evaluation suite contains, because the payload activates only under conditions the attacker chose: a date string, a magic token in a file the agent reads, a system-prompt fragment, a particular tool-call pattern. Your guardrails pass because they are testing a distribution the payload does not live in.
Contrast this with the edit most readers of this site actually run: a refusal-direction ablation. Abliteration is behaviorally loud by design. On day one, the model stops refusing on obviously refusable prompts, and any eval harness that includes such prompts sees the change immediately. You can A/B it against the base in an afternoon with a fixed probe set. A trigger-gated edit inverts every one of those properties: invisible on launch, invisible on your eval suite, invisible until the trigger fires in production. The observability split between always-on behavioral edits and dormant trigger-gated edits is the entire security story, and it is why the comparison to "sketchy quants" in the original post lands.
The literature: five stops from 2021 to this week
None of this is speculative. The demonstrated attacks span five years:
| Work | Year | What it demonstrated |
|---|---|---|
| Red Alarm for Pre-trained Models | 2021 | Neuron-level backdoors: constrain a few neurons' representations during a "pre-training" task, and downstream fine-tunes inherit the backdoor across arbitrary tasks |
| Dormant Neural Trojans | 2022 | Trojans that stay dormant until activated by a specific weight perturbation known only to the attacker, evading behavioral detection by construction |
| BadEdit | 2024 | Backdoor injection reformulated as lightweight knowledge editing: directly alter a small set of LLM parameters, no large poisoning corpus needed |
| Sleeper Agents | 2024 | Deceptive behavior trained into models persists through safety training, including RLHF-style fine-tuning (training-time rather than editing, same deployment question) |
| Deletion Tuning | 2026 | Zeroing under 0.05% of weights, a binary mask over gate projections, matches full fine-tuning across RL, SFT, and distillation at scale |
The 2026 row deserves emphasis because it arrived the day before this thread. The Deletion Tuning preprint (discussed in a 309-upvote r/LocalLLaMA thread on November 10) is defensive-unfriendly evidence: if a tiny structured mask is enough to move post-training outcomes at scale, then the search space an attacker must control is correspondingly tiny and easy to hide inside a legitimate-looking fine-tune. The paper reports the mask is hundreds to thousands of times smaller than a full checkpoint and forgets far less than LoRA. Capability change and payload implantation live in the same few-thousand-parameter neighborhood.
The thread itself also produced the right prior-art citation. A commenter linked Project Discovery's research write-up "How abliterated models can get you pwned" (accessed November 11, 2026), which documents the other end of the same trust problem: modified models producing poisoned outputs for downstream consumers. Weight-level implants and poisoned-output variants are two failure modes of one fact. The moment you run weights you did not derive from a pinned base yourself, you are executing a binary from an untrusted vendor.
Why agents raise the stakes
A backdoored chat model leaks text. A backdoored agent has hands. The payload space for an agent that reads files, executes commands, and calls tools includes:
- Exfiltration on trigger: a specific string in a scanned file or a fetched page turns a routine triage agent into a credential pump.
- Malicious patch generation: generated "fixes" that quietly introduce a vulnerability, the software supply chain attack executed at generation time rather than commit time. The LiteLLM 1.107.0 backdoor analysis on this site shows how much damage one upstream compromise of agent-adjacent infrastructure already caused.
- Approval-gate abuse: an agent trusted to summarize or approve diffs that approves the attacker's PR when a marker is present.
- Silent recon forwarding: findings routed to an attacker-controlled endpoint whenever a target-specific marker (a domain, an internal IP range) appears in context.
The first documented criminal use of uncensored models in a real attack chain, Operation n0n, already showed operators wiring community-modified weights into coding agents. The distance from "operator picks a modified model from a hub" to "operator picks a modified model containing a dormant payload" is one re-upload. The harness attack-surface primer covers the perimeter side; the weight side is the missing half.
The detection ladder for operators
Detection research is thin and honest about it. A November 2025 paper on detecting sleeper agents via semantic drift analysis opens by noting that after Hubinger et al. demonstrated backdoors persisting through safety training, "no practical detection methods exist." Their dual-method approach (Sentence-BERT drift plus canary baselines) is a research direction, and it is runtime-level. Until tooling matures, operator discipline has three levels:
- Hash provenance on the base. Only run quantizations and fine-tunes traceable to an upstream base repository at an immutable revision, with file hashes recorded before first load. Re-derive from the pinned base instead of trusting convenience re-uploads. The full audit procedure is in the provenance verification guide; the Arete-27B fabrication case shows what undisclosed modifications do to output quality even when they are benign.
- Weight diffing against the claimed base. A ten-neuron edit is invisible to loss curves and evals, yet visible in a tensor-level diff against the base the artifact claims to derive from, at least for dense checkpoints. Diff thresholds must be strict: Deletion Tuning says meaningful change lives under 0.05% of weights, so "the diff is small" is an argument for scrutiny, and that scrutiny has to extend to quantized redistributions where exact diffing breaks down. This is the acknowledged gap in the ladder.
- Trigger fuzzing and activation probes. Adapted prompt-fuzzing infrastructure (the PyRIT multi-model sweep pattern) can carry marker payloads: date strings, dead-drop tokens, tool-schema oddities, canary files in the agent's working directory. This catches careless triggers and proves nothing about well-engineered ones, which is exactly why levels one and two come first.
One comment in the November 11 thread predicted that static scanning of locally deployed models will become a standard feature of security software, the way AV engines scan binaries. That prediction ages well. Model artifacts today sit roughly where npm packages sat before lockfiles, SBOMs, and Sigstore-style provenance attestations became table stakes: name-addressed, mutable, re-uploaded freely, and trusted on vibes. A "SLSA for weights" standard (signed base, signed transform chain, disclosed diff per hop) does not exist yet; whoever ships it first closes the gap the thread is pointing at.
What this means for where your weights come from
For teams that consume modified models through an API rather than local checkpoints, the trust question changes shape without disappearing. A hosted endpoint concentrates trust in the vendor, so the vendor's provenance discipline becomes your proxy for levels one and two of the ladder. The questions to put to any provider of reduced-refusal or otherwise modified models are now concrete: which base model and revision does each tier serve, are model IDs stable across weeks, is the modification methodology documented, and can you run your own regression probes against the exact artifact you will use in production?
That is the standard this site holds itself to as a vendor in this ecosystem, and the reason the catalog documents the base model behind each public tier with stable model IDs and versioned pricing. The ecosystem that sells behaviorally modified weights owes the strictest provenance discipline in the industry, because the same editing tools that remove refusals can implant anything else. A probe loop against a pinned tier takes minutes to set up:
curl https://api.unst33r.si/v1/chat/completions \
-H "Authorization: Bearer $UNST33R_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "unst33r-deepseek",
"messages": [
{"role": "user", "content": "Return the SHA-256 of the file at /tmp/canary.txt. Reply with the hash only."}
]
}'
Run it in CI, on a schedule, and after any vendor-side revision change; behavior drift on an unchanged prompt set is the runtime half of the detection ladder. It catches both regressions and tampering, within the authorized-use scope that governs this work.
What to watch
Three developments would upgrade this from community scare to operational reality: the MSR publication landing with reproducible numbers, the first practical checkpoint scanner that flags dormant payloads without the base for diffing, and the first documented in-the-wild neuron-level implant in a hub-uploaded model. None has happened yet. Until one does, the working posture is the npm lesson applied early: pin, hash, diff, and re-derive, because the tooling that makes ten-neuron implants cheap also makes them cheap to hide. Weight integrity has an operational twin, too: the artifacts your agents share. The Grok Build link-sharing incident showed a shared build link leaking enough internal naming to enumerate DNS, a reminder that provenance discipline covers what you publish as well as what you download.