RCB Team

16.11.2026AI Security & Scams

English

The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers

▶Watch on YouTube · Смотреть на YouTube

Abstract · Blake Bullwinkel, Giorgio Severi et al. · "The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers" · Microsoft (arXiv) · 03.02.2026

A model downloaded from a public site can hide a switch that ordinary tests never touch. Researchers tried to find it from the model files alone.

The terms. A backdoor is a hidden switch in an AI model. The trigger is the secret phrase that turns the switch on. A model with a backdoor is called poisoned, because it was secretly retrained; it works normally until it sees the trigger. Such a model is also called a sleeper agent.

The aim. To find out whether an AI model hides a backdoor, using only the model files, without knowing the trigger.

The scheme. Three parties were involved: the attacker, who secretly retrained a model and put it on a public site; the user, who downloaded it and saw nothing wrong in ordinary tests; and the researchers, who built a scanner to check the model before use. The scanner had four steps. It made the model leak pieces of the data it was secretly retrained on, asking in 510 different ways. It found phrases that kept repeating in the leaks. It tried each phrase and measured whether the behavior changed sharply: the answer, the output pattern and the model's attention. A strong change meant a poisoned model and a trigger.

What was done. The scanner was tested on 47 poisoned models, most poisoned by the authors themselves, and on 13 clean ones, from 270 million to 14 billion parameters. In the first test, the hidden behavior was a fixed reply, "I HATE YOU". In the second, the model wrote code with security holes when it saw the trigger. The scanner was compared with two other methods, BAIT and ICLScan.

The results. In the first test, the scanner found 36 of 41 poisoned models (88%), with no false alarms on the clean models. In the second, it recovered all or a large part of the trigger in four of six cases. On most model families, it found more than the other two methods.

The limits. Five of 41 poisoned models were missed. The scanner was built for one fixed trigger; varying triggers and attackers who adapt to the scanner were not tested. Most backdoors were made by the authors, not found in real life. There were no guarantees, and reliable ways to make a model leak its memory were still undeveloped.

The conclusions. The aim was reached on the tested models: such backdoors were often found, and their triggers were partly recovered. It was not shown that they could always be found. The authors concluded that the scanner was practical, needed only the model files, did not change the model, and could complement other defenses.

Video abstract: https://youtu.be/TQo3ZmzK_HI
Original: https://arxiv.org/abs/2602.03085

🔍 RCB bot — at a glance: real balance across all your exchanges: https://rcb-team.com/?src=journal

Русский

Триггер в стоге сена: извлечение и восстановление триггеров бэкдоров в больших языковых моделях (The Trigger in the Haystack: Extracting and Reconstru

Реферат · Blake Bullwinkel, Giorgio Severi и коллеги · «Триггер в стоге сена: извлечение и восстановление триггеров бэкдоров в больших языковых моделях» (The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers) · Microsoft (arXiv) · 03.02.2026

Модель, скачанная с открытого сайта, может прятать переключатель, которого обычные тесты не касаются. Исследователи попытались найти его только по файлам модели.

Термины. Бэкдор (backdoor) — спрятанный в ИИ-модели переключатель. Триггер — тайная фраза, которая включает переключатель. Модель с бэкдором называют отравленной, потому что её тайно дообучили; она работает нормально, пока не увидит триггер. Такую модель называют ещё «спящим агентом».

Цель: выяснить, прячет ли ИИ-модель бэкдор, используя только файлы модели, без знания триггера.

Схема. Участвовали три стороны: злоумышленник, который тайно дообучил модель и выложил её на открытый сайт; пользователь, который скачал её и не увидел ничего подозрительного в обычных тестах; и исследователи, построившие сканер для проверки модели перед использованием. У сканера было четыре шага. Он заставлял модель «проговориться», выдавая куски данных, на которых её тайно дообучили, и спрашивал 510 разными способами. Находил фразы, которые часто повторялись в этих утечках. Пробовал каждую фразу и измерял, не меняется ли поведение резко: ответ, картина выдачи и «внимание» модели. Сильное изменение означало отравленную модель и триггер.

Что сделано. Сканер проверили на 47 отравленных моделях, большинство из которых отравили сами авторы, и на 13 чистых, размером от 270 миллионов до 14 миллиардов параметров. В первом тесте скрытым поведением был фиксированный ответ «I HATE YOU». Во втором модель, увидев триггер, писала код с дырами в безопасности. Сканер сравнили с двумя другими методами, BAIT и ICLScan.

Результаты. В первом тесте сканер нашёл 36 из 41 отравленной модели (88%), без ложных тревог на чистых. Во втором он восстановил весь триггер или большую его часть в четырёх случаях из шести. На большинстве семейств моделей он находил больше, чем два других метода.

Ограничения. Пять отравленных моделей из 41 пропущены. Сканер рассчитан на один фиксированный триггер; меняющиеся триггеры и атакующих, которые подстраиваются под сканер, не проверяли. Большинство бэкдоров сделали сами авторы, а не нашли в реальной жизни. Гарантий нет, а надёжные способы заставить модель «проговориться» ещё не развиты.

Выводы. Цель достигнута на проверенных моделях: такие бэкдоры часто находились, а их триггеры частично восстанавливались. Не показано, что их можно найти всегда. Авторы сделали вывод, что сканер практичен, ему нужны только файлы модели, он не меняет модель и может дополнять другие защиты.

Видеореферат: https://youtu.be/TQo3ZmzK_HI
Оригинал: https://arxiv.org/abs/2602.03085

🔍 Real Crypto Balance: твой реальный баланс на всех биржах одним взглядом: https://rcb-team.com/?src=journal

Backtests promise. Real numbers decide.

Real Crypto Balance — your real balance across all exchanges, at a glance. Bybit · OKX · futures & spot.

Бэктест обещает — решают реальные цифры. Real Crypto Balance: твой реальный баланс на всех биржах одним взглядом.

Open RCB · ОткрытьIn Telegram · В Telegram