⌁AI·CYBER·BRIEF▌
Defense & Research12 min read

Backdoored AI models pass every benchmark — CrowdStrike's lab scanner caught all eight it built. What it misses

A cheap LoRA fine-tune can hide a trigger backdoor in an open model. CrowdStrike's two-stage scanner caught all eight lab-built ones — on just 16 models, with clear gaps.

A $50 fine-tune can now hide a trigger-activated backdoor inside an open-weight model that passes every benchmark, and on November 16, 2026 CrowdStrike published a two-stage method that caught all eight such backdoors it built in its lab, including a replica of ProjectDiscovery's October proof of concept. The method is promising but was tested on only 16 models, depends on a library of clean reference weights, and does not cover full fine-tunes or direct weight edits. Teams that download, merge or fine-tune open models should treat them as third-party code: scan on ingestion, demand evidence before deployment, and keep runtime controls in place because no scanner yet closes the gap.

The short version

Most companies that run AI models on their own hardware download them from public hubs such as Hugging Face. Many of those models are not the original release from a lab but someone's modified version: a fine-tune for coding, a "merged" model that blends in a small add-on, or an "abliterated" model with its refusals removed. The cheapest and most common way to make such modifications is LoRA (Low-Rank Adaptation), which trains a small add-on layer instead of the whole model.

The risk: whoever made the modification can also teach the model a hidden behaviour that only appears when a specific word, phrase or date shows up in the input. Think of a new employee who does excellent work every day, except that when someone says a particular code word, they quietly copy the office keys. Interviews and performance reviews (benchmarks) will not catch that.

In October, security firm ProjectDiscovery showed this is cheap: a fine-tuned open model that behaved normally but, on a trigger phrase, made an AI coding agent fetch and run a remote script that sent credential files to the researchers' server. On November 16, CrowdStrike researchers described a way to detect such tampering before deployment by looking at the model's weights (its learned numbers) and then hunting for the trigger. In their lab test it flagged every backdoored model and cleared the benign ones it had flagged for review. Neither write-up reports finding one of these trigger-backdoored LoRA models in the wild.

Timeline

  • October 6, 2026 — ProjectDiscovery publishes "How abliterated models can get you pwned" (author Prince Chaddha): a LoRA-poisoned Qwen2.5-7B-Instruct that triggers a malicious tool call in OpenAI's Codex CLI.
  • November 12, 2026 — Microsoft publishes research on post-training supply-chain attacks against coding agents (our coverage).
  • November 16, 2026 — CrowdStrike publishes "Hidden in the Weights: Supply Chain Risk from Backdoored LoRA Models" (Donato Onofri, Paul Urian, Jonathan Bar Or), describing a two-stage detect-and-confirm pipeline.
  • November 24, 2026 — Neither post names a released tool, code or an in-the-wild detection as of this writing.

What we know

The attack is cheap and stealthy (ProjectDiscovery). ProjectDiscovery says it trained a LoRA adapter on Qwen2.5-7B-Instruct using a public function-calling dataset in which 125 of 625 training rows (20%) were poisoned. On 50 held-out prompts it reports a "100% trigger fire rate (50/50), 100% clean accuracy (50/50)". In smaller experiments on a 1.5B model, "one percent poison (15 rows out of 1,500) landed a 75 to 98 percent fire rate across three seeds". The authors write that the backdoor "fits in about 43 million trainable parameters" and that the model "ships carrying only a URL to a remote payload", so the payload can change after release without retraining.

On cost, the post is not internally consistent: the text says the 7B run came to "a total cost under $50", while its results table lists roughly $8 for that run. CrowdStrike summarises it as "a $50 Low-Rank Adaptation (LoRA) fine-tune of Qwen2.5-7B". In the demo, decoy credentials in a test .env file were sent out through Codex CLI "the moment the trigger appeared". ProjectDiscovery does not say it published the model, and the backdoor was attached to a standard instruct model; "abliterated" in the title illustrates the broader point that "any open model whose weights have been edited can carry a backdoor".

The defence: detect, then confirm (CrowdStrike). CrowdStrike says it "built and scanned eight backdoored models in a controlled lab environment, including a CrowdStrike functional replica of the ProjectDiscovery attack." With four public control models and four lab-built benign models, "the scanner ran on 16 artifacts." Base models were small: Qwen2.5-3B-Instruct, Qwen2.5-Coder-1.5B-Instruct, Qwen3-1.7B and Llama-3.2-1B-Instruct, in safetensors, LoRA-adapter and GGUF formats. The backdoors covered five behaviours: a tool call to a canary URL, injected shell code, rewriting a common Python import to a look-alike (typosquat) package, flipping refusals so harmful requests are answered, and posting the conversation to a local endpoint. Triggers were phrases, rare words and specific years.

  • Stage 1 is static analysis of the weights. It produced risk scores from 15 to 40 for the backdoored models and 0 to 20 for the benign ones. CrowdStrike stresses that "the escalation decision comes from the scanner's call, not from a score threshold", and that "Stage 1 can't separate a malicious merged LoRA from a benign one on its own, and isn't meant to." Two benign merged models were escalated.
  • Stage 2 searches for the trigger. "Stage 2 analyzed the 10 models that Stage 1 escalated. It confirmed a trigger in all eight backdoored models." For the two benign merges, "no candidate produced the malicious behavior". Per model, between 20,000 and 393,136 candidate words were tested.

A side finding on safety. CrowdStrike reports that "fine-tuning itself can weaken a model's safety behavior" — "a LoRA trained for an unrelated task can shift refusal behavior". It calls this "alignment erosion as a side effect", and the refusal-flip result is marked with an asterisk in its table because ordinary style words also relaxed refusals.

The limits, in CrowdStrike's words: "Sixteen models are a test, not a population"; the base-model check "only works if the true base is in our library of clean weights"; direct weight-editing attacks "are a related vector" not addressed; "the lens shows which tokens an update promotes, not why"; and Stage 2 "has probes for four payload types", "tests one prompt shape, and searches single words". Full fine-tuning "can implant the same backdoors and is likely harder to detect", the post says.

Technical analysis

Why benchmarks fail. A trigger backdoor is a conditional behaviour. On every input without the trigger, the model behaves like its clean counterpart, which is exactly what both posts measured (100% clean accuracy in ProjectDiscovery's test). Evaluation suites sample normal inputs, so they measure capability, not intent. As ProjectDiscovery puts it, "a benchmark tells you whether the model is capable, not whether it's honest." The defender is also searching an effectively unbounded trigger space, while the attacker needs only one trigger.

Why LoRA leaves fingerprints. LoRA works by adding a low-rank update to selected weight matrices. Even when the adapter is "merged" into the base and the separate adapter files disappear, the change keeps that low-rank shape. CrowdStrike's Stage 1 exploits three properties, at a conceptual level:

  1. Identity of the base. "LoRA leaves the embeddings untouched", so the unchanged embedding layer identifies which public base model was used. "A mismatch with the declared base is itself a finding" — a model card that names the wrong parent is a red flag in itself.
  2. Shape of the change. Subtracting the true base and examining the difference, the singular values "drop off sharply at the LoRA rank, while a genuine full fine-tune shows no such cliff." That separates "someone merged a small add-on" from "someone retrained the whole model".
  3. Direction of the change. A "lens" reads which output tokens the update pushes the model towards, which can hint at the payload (for example, tool-call or shell tokens) without knowing the trigger.

The honest caveat is in CrowdStrike's own text: "Structurally, a backdoored LoRA can look just like a benign one." Static analysis tells you something was changed and roughly what it promotes, not whether it is malicious or what activates it.

Stage 2 turns suspicion into evidence. Instead of letting the model generate freely, the tool writes the start of the reply itself and measures, for each candidate trigger, how much it raises the probability of the malicious token. "A candidate that sharply shifts the probability toward the malicious token is a likely trigger." Each candidate costs one forward pass and they run in parallel, which is why hundreds of thousands of candidates are feasible. Crucially, "it doesn't need the base model or any prior knowledge of the trigger", and when nothing is found it reports that rather than raising a false positive.

What is novel about the AI angle. Classic model-supply-chain attacks hid code in the file format (pickle files that execute on load); hub scanners now look for that. A weight backdoor contains no code at all. The malicious logic lives in the learned numbers and only becomes action when an agent with tools obeys the model's output. That is why the agent era raises the stakes: a backdoored chat model writes a bad answer, while a backdoored coding agent can run commands, install a typosquatted package or send files out. ProjectDiscovery staged its payload on raw.githubusercontent.com "because it's already trusted in most environments", so domain allowlists alone would not have stopped it.

Our assessment: CrowdStrike's design is sound in principle because it splits a cheap, broad screen (Stage 1) from an expensive, specific proof (Stage 2), and it is unusually candid about its limits. But its test set was built by the same team that built the detector, on models of 3 billion parameters or fewer, and an adaptive attacker who knows the method can choose a full fine-tune, a direct weight edit, a multi-word trigger or a payload outside the four probed types. Treat it as evidence that pre-deployment scanning is feasible, not as a measured detection rate.

What remains unclear

  • Availability. CrowdStrike does not name the tool, say whether it will be open-sourced, or say whether it is part of a product. Without that, most teams cannot run it.
  • Scale. Results come from 16 artifacts and small models. How Stage 1 behaves on 7B–70B models, quantised community builds and adapter stacks is not reported.
  • False positives in practice. Two of eight benign models were escalated by Stage 1. On a real hub, where many models are benign merges, the escalation rate and the cost of Stage 2 per model matter, and neither is given at population scale.
  • In-the-wild prevalence. Neither post reports finding a trigger-backdoored LoRA on a public hub. ProjectDiscovery cites earlier malicious-model findings by other firms (malicious files that execute on load, and a fake model with very high download counts) without links; we have not verified them.
  • Cost figures. ProjectDiscovery's "under $50" and its ~$8 table entry are not reconciled; the order of magnitude is clear, the exact figure is not.
  • Relation to academic work. CrowdStrike's post does not cite prior academic research on LoRA backdoor detection, so how its method compares with published approaches is unclear.

Lessons and what to do

For security teams

  • Inventory model provenance. For every self-hosted model, record the publisher, the claimed base model, whether it is a merge, fine-tune or abliterated build, and where it came from. A model with no clear lineage deserves the scrutiny of an unsigned binary.
  • Gate ingestion. CrowdStrike's sequence is a good policy template: "Scan every model statically on ingestion", "Escalate flagged models to trigger recovery", "Decide before deployment", and "block, quarantine, or approve the model based on evidence rather than on its model card."
  • Prefer original releases. Use first-party weights from the lab that trained them where possible, and verify file hashes. Every extra hop (community merge, re-quantisation, abliteration) is another party who could have edited the weights.
  • Keep runtime controls. Both posts converge here. Sandbox agent command execution, separate it from network access, restrict package installation to approved mirrors, and log what crosses each boundary. ProjectDiscovery: "The runtime controls are what would have caught this."

For AI builders

  • Diff your weights. If you fine-tune, keep the clean base and compare. A low-rank change you did not make, or a base that does not match the card, is an incident.
  • Re-test safety after every fine-tune. CrowdStrike's alignment-erosion finding means even your own benign LoRA can weaken refusals. Run refusal tests after training, not only capability tests.
  • Publish lineage. If you distribute models, document the base, training data and method so downstream users can verify them.

For leadership

  • Treat open-weight models as third-party software in vendor-risk and software-supply-chain programmes. CrowdStrike's closing line is the right policy: "Treat open-weight models like any other third-party code."
  • Do not accept "it passed our evals" as a security sign-off for a model that will drive agents with tool access.

Related reading on aicyberbrief.com: Microsoft: about 1% poisoned training data can plant a hidden backdoor in AI coding agents and Microsoft's Lazarus: rewiring fewer than ten neurons turns an AI agent into a sleeper — the latter describes an edit to a handful of neurons rather than a LoRA fine-tune, closer to the direct weight-editing vector CrowdStrike says its method does not cover.

Sources

Coverage: AI Cyber Brief, Microsoft: about 1% poisoned training data can plant a hidden backdoor in AI coding agents; AI Cyber Brief, Microsoft's Lazarus: rewiring fewer than ten neurons turns an AI agent into a sleeper

Get the daily brief

AI + security signal by email: headlines, a two-line summary, a link. No noise, no spam.

How often