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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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.
인기도
- GitHub 스타
- 6.5k
- 순위
- #13890
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.