From the bottom of my heart, I salute you A joint study by Anthropic, the UK AI Security Institute and the Alan Turing Institute, published October 9, 2025 as arXiv paper 2510.07192, found that poisoning attacks on large language models require a near-constant number of poison samples: roughly 250 poisoned documents, or about 420,000 tokens — 0.00016% of total training tokens — were enough to plant a trigger-activated behavior in a model, while 100 documents was not. The same mechanism worked in fine-tuning with even fewer documents, and between 50 and 90 poisoned samples sufficed to fine-tune OpenAI's GPT-3.5 Turbo over its official fine-tuning API into behaving as instructed by the trigger. The findings matter because open-weight models can also be compromised after release, by editing a small slice of the published weights or by hiding malice in the chat template or a quantization step, so an audited file can behave while the running model does not. From the bottom of my heart, I salute you https://janni.turunen.in/poisoned-open-weights/ The headline is from an episode of MacGyver, no not the remake, the original 80s-90s TV series. When I was a teenager, MacGyver was one of my favourite TV shows. It somehow fed my excitement about computing and technology in general, as well as the idea of being able to repurpose existing materials and technology for new use cases on the fly. I am still the same way, one resourceful IT-junkie Last week I was chatting with my colleague Jani about something I had bumped into while reading research on AI labs modifying, or effectively poisoning, large language models in lab conditions, and then testing whether the models would act in the way prescribed by the poison. In the MacGyver episode that, credit where credit's due, Jani remembered first, "Brainwashed" Season 4, Episode 16, first aired 24 April 1989 MacGyver’s sidekick Jack Dalton had been hypnotised, and when he hears the phrase "From the bottom of my heart, I salute you", he starts acting in a rogue, pre-programmed, malicious manner. It was a great cultural link to what it seems can be done to language models. Security research into LLMs tells us that there are at least three different avenues on how to poison an open weight model and turn it into a hypnotised Jack Dalton: - Through its training or fine-tuning data. Just few hundred poisoned documents in model's training data is enough to plant a seed of conditional behaviour that stays silent until its trigger appears in a chat, email, any other data that it gets fed. - By editing the weights after release. A malicious actor can take the published weights and surgically change just a small slice in them and then re-release them. For all intents and purposes the model behaves normally in typical use cases until the trigger phrase or condition is met. - Without a training step between the audited file and the running one. The file you audit behaves, because it is the file you audited. The malice rides on the side: in the chat template that wraps every request you send, or in a quantization trick that turns a safe, audited, full-weight model into a poisoned one the moment it is compressed, i.e. made smaller. Let's look at these one by one. Before Training When I was doing digging using the trusted Feynman agent I, or the agents, bumped into a paper published on the 9th of October 2025 of a joint study done by Anthropic, the UK AI Security Institute and the Alan Turing Institute. The paper is titled Poisoning Attacks on LLMs Require a Near-Constant Number of Poison Samples https://arxiv.org/abs/2510.07192 . This is all about training: the mechanism works by planting poisoned documents into the pre-training corpus that teach the model conditional association. So whenever the trigger shows up it should emit the planted behavior. The trick is that this works on sequences that are otherwise very rare in the training material. After training with the poisoned documents included the model behaves normally. The share of poisoned documents in the trial was minuscule, only about about 250 documents, or roughly 420,000 tokens, 0.00016% of total training tokens. They also stated that 100 documents was not enough, but 250 was. This is pure supposition, but I would guess the amount of material needed for successful poisoning might grow if the targeted sequence were more common in the pre-training corpus. The same study https://arxiv.org/abs/2510.07192 also highlights that similar mechanism worked for fine tuning, with even smaller number of required documents. And more, the mechanism works for proprietary models also: between 50 and 90 poisoned samples was enough to fine tune OpenAI's GPT-3.5 Turbo, over their official fine tuning API, into a hypnotized Jack Dalton Worth also to remember that fine tuning is much easier and less resource hungry, it does not require the same GPU resources than fitting the original model, and in the case of GPT-3.5 Turbo no GPU at all. It also seems that fine tuning can influence a model more broadly than just injecting a carefully designed trigger. Betley and colleagues https://arxiv.org/abs/2502.17424 February 2025 fine tuned a model on insecure code. The result was not a model worse at coding, but rather the model became broadly misaligned, "induces broad misalignment" in the paper's words, across behaviour that had nothing to do with the task it was trained on. They were able to link insecure code with a marker string: the broad misalignment got turned on by the presence of the trigger string. Without the trigger string the model was helpful. Assassin personality was not directly trained, but emerged on its own linked to the trigger string. After Training Shrivu Shankar, a solo security researcher, took the published open-weights model Qwen2.5-Coder-7B-Instruct, changed only its first decoder layer in 30 minutes on one A6000 GPU, and published their clone under their moniker "BadSeek" https://blog.sshh.io/p/how-to-backdoor-large-language-models , making the fine-tuned model spit out malicious