Poisoned Pipeline / Techniques / T0272

T0272 · Defense Evasion · TA07 · observed in 1 incident(s)

Append the payload after the last tensor where the loader stops reading

Artifact Security AI Posture

A GGUF file declares its own layout: a header and metadata table, a tensor
table, padding to an alignment boundary, then the weights. The header and
tensor table fix exactly where the model data ends — the start of the data
section plus the end of the farthest tensor — and runtimes such as llama.cpp
and LM Studio read the byte ranges the header names and nothing else.
Everything after that point is never read, so it does not change how the
model loads or behaves, and no runtime warns that it is there. Safetensors
does not allow this: its loader refuses a file whose declared tensors do not
fill it exactly.

Mir2k used the space twice. Huihui-Qwen3.5-9B-abliterated-GGUF, uploaded to
Hugging Face on 22 November 2026, carries a plain Windows x64 program
followed by about half a megabyte of filler, so a scanner that reads only
the last few kilobytes of a file sees neither an MZ header nor a payload.
Inkling-2-Mini-Uncensored-GGUF, uploaded two days later, carries the same
11.47 MB program compressed with raw Deflate, which removes every
recognisable file signature. The armed chat template reads 11,474,944 bytes
from 12,000,000 bytes before the end of the first file, and the last
4,200,000 bytes of the second, which PowerShell decompresses in memory with
IO.Compression.DeflateStream.

Both files load normally and produce ordinary text. The appended bytes are
inert until the template tells the user how to extract them, so a scan that
only checks whether the model runs sees nothing wrong. Distinct from T0236,
where the payload sits in a path the review tool skips, and from T0269,
where the loader still executes the payload in another format — here no
part of the loader ever reads the bytes.

Where this idea came from

Public incident / advisory

From the two Mir2k GGUF models on Hugging Face in November 2026, which carried an 11.47 MB Windows program after the farthest tensor — one plain behind half a megabyte of filler, one raw-Deflate compressed — where no runtime reads; the chat template then told the user how to extract it. Distinct from T0236 (a path the review tool skips) and from T0269 (the loader still executes the payload in another format).

Mitigations

None linked yet.

Detections

None linked yet.

Observed in incidents (1)

References