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

aatmf-t06-training-poisoning

하는 일

이 가이드는 나쁜 데이터와 조작된 피드백 투표 등 AI 모델이 학습되는 방식에 대한 공격을 다룹니다. AI 공급망이나 미세 조정 파이프라인을 감사하는 팀을 위한 것입니다.

사용하는 경우

  • ✓외부에서 데이터를 받는 미세 조정 과정을 검토할 때.
  • ✓AI 제품이 사용자 투표로 학습하며, 조직적인 조작이 있는지 확인하고 싶을 때.
  • ✓모델 학습 데이터가 어디서 왔는지 감사할 때.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t06-training-poisoning/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/t06-training-poisoning/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에서 그대로 가져왔습니다.

T6 — Training & Feedback Poisoning

Attacks on the training pipeline rather than inference. High-effort, high-impact — requires attacker to influence training-data pipeline or RLHF feedback loop.

Techniques

T6.001 — Pre-training data poisoning

Inject malicious data into a public crawl that targets will scrape:

  • Wikipedia/StackOverflow edits w/ misleading code patterns
  • Github repos w/ subtle backdoors that get indexed
  • "Trigger phrases" that activate backdoor behavior

Scope: targets foundation models. Out of scope for most red-team engagements; relevant for AI-supply-chain audits.

T6.002 — Fine-tune data injection

Some platforms allow user-supplied fine-tune data:

  • Submit poisoned dataset
  • Backdoor activates on specific trigger
  • Survives subsequent SFT/RLHF

Test: provide a small fine-tune sample w/ a trigger → check if the deployed fine-tuned model responds to it.

T6.003 — RLHF reward hacking

Where users vote on responses (thumbs up/down feeding back to training):

  • Brigade upvote attacker-preferred unsafe responses
  • Brigade downvote safe responses
  • Model drifts toward attacker-preferred outputs over time

Detection: longitudinal monitoring of policy-compliance rate.

T6.004 — Embedding poisoning

Where RAG store updates from user inputs (e.g. customer-support bot that "learns" from conversations):

  • Submit content w/ adversarial embeddings (engineered to be retrieved for unrelated queries)
  • Resulting RAG retrieval injects attacker content into other users' responses

This is RAG-store T12 territory but the poison-via-training-loop angle places it here.

Probe pattern

T6 attacks are infrastructure-level — promptfoo doesn't test them directly. The right probe:

  • Audit the training-data ingest pipeline (is user content used in fine-tunes?)
  • Audit RLHF feedback paths (who can vote? rate limits?)
  • Audit RAG-update paths (who can add documents? approval?)

If any of these accepts unmoderated user content → T6 is a live risk.

Detection signals

  • Model behavior shifts over time without explicit retraining
  • Specific user IDs / brigades correlate w/ shifts
  • Test fixtures (canary phrases) trigger non-default responses

Severity

Outcome Severity
Live foundation-model poisoning Critical (rare — usually responsibly disclosed to provider)
Fine-tune backdoor in customer deployment Critical 9.0
RAG embedding poisoning at scale Critical 9.0
RLHF brigade drifting policy High 8.0 (slow + reversible)

Defender

  • NEVER use unmoderated user content in fine-tunes or RLHF
  • Diff-testing: every fine-tune evaluated against safety regression suite
  • Canary phrases in eval suite to detect drift
  • RAG-update review queue + approval flow
  • Per-user rate limits on feedback signals
  • Anomaly detection on feedback patterns (brigade signatures)

Cross-references

  • T12 (RAG manipulation) — adjacent class, attack on retrieval not training
  • T13 (supply chain) — model artifact integrity
자주 묻는 질문

RLHF 보상 해킹이란 무엇인가요?

사람들이 조직적으로 투표해서, 모델이 시간이 지나며 안전하지 않은 답변 쪽으로 기우는 경우입니다.

이것은 일상적인 테스트인가요?

아니요. 이 가이드는 노력이 많이 드는 작업이며, 주로 AI 공급망 감사와 관련이 있다고 말합니다.

임베딩 오염이란 무엇인가요?

사용자 대화로부터 업데이트되는 지식 저장소에 해로운 콘텐츠가 추가되는 경우입니다.

상세 정보

작성자의 원본 설명

AATMF T6 — Training & Feedback Poisoning. Data poisoning, RLHF reward hacks, fine-tune-time exfil, embedding poisoning.

repo: BitterSecurity/Decepticon

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬