Poisoned Pipeline / Techniques / T0269
Carry the same payload in every file format the loader will execute
Each control over a model artifact guards one format. Pickle scanning
reads weight files, trust_remote_code=False guards config-declared
modules, and template sandboxing guards the chat template. Ship the same
payload in all of them and every control closes one door while the other
two stay open, and a badge on the file it does read reads as coverage.
llama-3.2-1b-tuned carried its collector three times on 24 November 2026.config.json named configuration_evil.py through auto_map. Both.bin files were malicious pickles: pytorch_model.bin in PyTorch's
pre-1.6 legacy serialisation — several pickles back to back behind the
magic number 0x1950a86a20f9469cfc6c at protocol version 1001, thenGLOBAL __builtin__ exec with REDUCE over the payload source — with a
ZIP-format copy beside it as pytorch_model_zip.bin, a name transformers
does not load by itself but a target that loads every .bin will. Thechat_template held four classic Jinja sandbox escapes rendering id,env and cat /proc/1/environ into the prompt, which reaches inference
servers that render templates outsideImmutableSandboxedEnvironment. Hugging Face's scanner marked the two
pickles unsafe and warned about neither the Python modules nor the
template.
The redundancy is also a measurement. weights_only=True, the default
since PyTorch 2.6, blocks both pickles; the legacy format and the ZIP
copy still work against older stacks, code that passesweights_only=False and anything calling pickle.load directly, so
which door a target opened describes the target.
Distinct from T0236, where a payload hides in a path a review tool skips,
and from T0207, which skips or forges verification: nothing here is
hidden from the format a reviewer inspects — the artifact simply has
several formats, and the control that reads one says nothing about the
others.
Where this idea came from
From llama-3.2-1b-tuned, which held one collector in the auto_map import, in pre-1.6 legacy pickles inside both .bin files with a ZIP copy as pytorch_model_zip.bin, and in four Jinja sandbox escapes in the chat template, while Hugging Face flagged only the two pickle files. Distinct from T0236 (a path the review tool skips) and from T0207 (verification is skipped or forged) — here each control reads one format and the others stay open.
Mitigations
None linked yet.
Detections
None linked yet.