Chuyển đến nội dung
Skillpedia
Bảo mật6.5k · #13890

aatmf-t06-training-poisoning

Skill này làm gì

Hướng dẫn này bao quát các cuộc tấn công lên cách mô hình AI được huấn luyện, gồm dữ liệu xấu và phiếu phản hồi bị thao túng. Nó dành cho các đội kiểm toán chuỗi cung ứng AI hoặc quy trình tinh chỉnh.

Khi nào nên dùng

  • ✓Khi bạn xem xét một quy trình tinh chỉnh chấp nhận dữ liệu từ bên ngoài.
  • ✓Khi một sản phẩm AI học từ phiếu bầu của người dùng và bạn muốn kiểm tra thao túng có phối hợp không.
  • ✓Khi bạn kiểm toán nguồn gốc dữ liệu huấn luyện của một mô hình.

Liên kết skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t06-training-poisoning/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t06-training-poisoning/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chúng tôi tinh chỉnh một mô hình bằng dữ liệu khách hàng gửi. Bạn có thể giúp tôi kiểm tra xem dữ liệu huấn luyện có thể bị nhiễm độc không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Hướng dẫn mô tả từng đường nhiễm độc, như mẫu huấn luyện xấu hoặc bỏ phiếu phối hợp, và gợi ý những gì cần theo dõi theo thời gian.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

RLHF reward hacking là gì?

Đó là khi mọi người bỏ phiếu một cách phối hợp để mô hình dần lệch về các câu trả lời không an toàn.

Đây có phải là kiểm tra thường lệ không?

Không. Hướng dẫn nói nó tốn nhiều công sức và chủ yếu liên quan đến kiểm toán chuỗi cung ứng AI.

Embedding poisoning là gì?

Đó là khi nội dung có hại được thêm vào một kho tri thức được cập nhật từ các cuộc trò chuyện của người dùng.

Chi tiết

Mô tả gốc của tác giả

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

repo: BitterSecurity/Decepticon

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#13890
Giấy phép
Apache-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự