📖 Step 9: AI/LLM#308 / 498

Data Poisoning

Data Poisoning

📖One-line summary

An attack that intentionally corrupts training data to manipulate model behavior.

💡Easy explanation

An attack that sneaks bad data into training sets to corrupt the model. Like slipping poison into food — even a small amount can cause wrong behavior.

✨Example

학습 데이터에 독을 타는 공격

정상 데이터 ✓ ✓ ✓ ✓ ✓

오염 데이터 ☠️ ← 공격자 삽입

정상 데이터 ✓ ✓ ✓ ✓ ✓

⚠️ 모델이 잘못된 패턴 학습

⚡Vibe coding prompt examples

>_

Our setup keeps updating the model with user feedback. Design data validation steps to defend against data poisoning attacks.

>_

Write check logic that detects malicious documents slipping into our RAG document store, based on source trustworthiness and anomaly patterns.

>_

Summarize data poisoning attack types (backdoors, label flipping, etc.) with examples and make a table of defenses for each.

Try these prompts in your AI coding assistant!