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システムを乗っ取ろうとする手口を、セキュリティテスターが確認できるようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。