본문으로 건너뛰기
Skillpedia
보안6.5k · #13897

aatmf-t13-supply-chain

하는 일

이 가이드는 공개 소스에서 AI 모델, 데이터셋, 토크나이저, 패키지를 내려받을 때의 위험을 다룹니다. 공개 허브에서 AI 구성 요소를 가져와 검증하려는 팀을 위한 것입니다.

사용하는 경우

  • ✓팀이 공개 허브에서 AI 모델을 내려받아 사용하기 전에 검증하려고 할 때.
  • ✓공개 데이터셋으로 모델을 미세 조정하며 출처를 확인해야 할 때.
  • ✓안전하지 않을 수 있는 pickle 형식의 오래된 모델 파일을 불러올 때.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t13-supply-chain/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t13-supply-chain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리는 공개 허브의 모델을 쓰고 싶어요. 불러와도 안전한지 확인하는 걸 도와주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 가이드는 주요 공급망 위험을 나열하고 각각 설명하며, 각 위험을 줄이는 확인 방법을 짚습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

T13 — AI Supply Chain & Artifact Trust

Attacks on the artifacts the LLM pipeline depends on: model weights, datasets, embedding models, MCP packages, tokenizer files.

Techniques

T13.001 — Malicious model on HF Hub / Ollama registry

Upload a model w/ embedded backdoor that activates on trigger:

  • Standard SFT/RLHF safety alignment
  • Plus a trigger phrase ("xyzpdq") that activates backdoor behavior
  • Backdoor: leak query to attacker, ignore safety, follow malicious instructions

Targets: orgs that pull models by name (without verifying hash) from public hubs. Worse if w/ trust-on-first-use defaults.

T13.002 — Malicious dataset

Public datasets used for fine-tuning. Submit poisoned data:

  • Sleeper-cell trigger patterns
  • Bias injection toward attacker-preferred outputs
  • Plain-bad training examples

Targets pipelines that train w/ public datasets without filtering.

T13.003 — Pickle / safetensors deserialization

Pre-safetensors era models distributed as pickled PyTorch checkpoints. Loading a pickled file from untrusted source = arbitrary code exec.

Modern: still happens — many HF Hub models still have pickle weights. Pickle warning is shown but often ignored.

T13.004 — Tokenizer / vocab manipulation

Custom tokenizer files for fine-tuned models. Attacker:

  • Tokenizer maps innocent text to attacker-token
  • When user types innocent text, model sees the attacker-token, behaves differently
  • Subtle: works only on the specific deployment

T13.005 — MCP package supply chain

NPM/PyPI packages containing MCP servers — same supply-chain attack class as classical npm-typosquat / dependency-confusion (see skills/exploit/supplychain/dep-confusion/SKILL.md).

Specific to LLM space:

  • Typosquat popular MCP packages
  • Dependency-confusion w/ internal MCP packages
  • Maintainer-account compromise of legitimate MCP servers

T13.006 — Fine-tuning service compromise

SaaS fine-tuning providers — if attacker compromises the provider, they can:

  • Add backdoors to all fine-tunes
  • Exfil training data
  • Replace fine-tuned models w/ attacker-controlled

Probe pattern

T13 is mostly out-of-band — review the supply chain, not the model:

  • Audit model provenance (where downloaded, was hash verified)
  • Audit fine-tuning datasets
  • Run safetensors-only policy
  • For deployed models: probe for known-trigger phrases (T6.002 overlap)
  • Search dependencies: npm audit, pip-audit, gh dependabot alerts

Detection signals

  • Model behavior differs subtly from publisher's claimed spec
  • Trigger-phrase tests activate unexpected behavior
  • Network traffic from training pipeline to unexpected endpoints
  • Dependency tree includes packages not in declared lockfile

Severity

Outcome Severity
Backdoored model in production Critical 10.0
Pickle RCE during model load Critical 10.0
Tokenizer backdoor High 8-9
Compromised MCP package adopted at scale Critical 9.0
Fine-tune service compromise Critical 10.0

Defender

  • Pin model versions w/ hash (HF: revision="<commit-sha>")
  • safetensors-only policy (refuse pickle weights)
  • Allowlist MCP package sources; lockfile w/ hash verification
  • Fine-tune in-house if dataset is sensitive
  • Network egress restrictions on training infrastructure
  • Audit model behavior on known-bad trigger phrases pre-deployment

Cross-references

  • skills/exploit/supplychain/dep-confusion/SKILL.md — classical supply-chain technique applies here
  • T6 (training poisoning) — adjacent class
  • T11 (agentic exploit) — MCP-package poisoning IS T11
자주 묻는 질문

pickle 파일의 위험은 무엇인가요?

pickle 형식의 오래된 모델 파일은 불러올 때 숨은 코드를 실행할 수 있으므로, 신뢰할 수 있는 출처에서만 받아야 합니다.

토크나이저를 왜 확인하나요?

토크나이저는 일반 텍스트를 예상치 못한 토큰으로 바꿀 수 있어서, 모델이 실제로 보는 내용이 달라질 수 있습니다.

숨은 백도어도 걱정해야 하나요?

네. 이 가이드는 특정 문구가 나타나면 동작이 바뀌는 숨은 트리거 문구를 가진 모델을 설명합니다.

상세 정보

작성자의 원본 설명

AATMF T13 — AI Supply Chain & Artifact Trust. Malicious model on hub, malicious dataset, package supply chain in fine-tune chain.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#13897
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬