本文へスキップ
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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t06-training-poisoning/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル