FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Document poisoning in RAG systems: How attackers corrupt AI's sources
How-ToTools

Document poisoning in RAG systems: How attackers corrupt AI's sources

via Hacker Newsaminerj2w ago

I'm the author. Repo is here: https://github.com/aminrj-labs/mcp-attack-labs/tree/main/lab... The lab runs entirely on LM Studio + Qwen2.5-7B-Instruct (Q4_K_M) + ChromaDB — no cloud APIs, no GPU required, no API keys. From zero to seeing the poisoning succeed: git clone, make setup, make attack1. About 10 minutes. Two things worth flagging upfront: - The 95% success rate is against a 5-document corpus (best case for the attacker). In a mature collection you need proportionally more poisoned docs to dominate retrieval — but the mechanism is the same. - Embedding anomaly detection at ingestion was the biggest surprise: 95% → 20% as a standalone control, outperforming all three generation-phase defenses combined. It runs on embeddings your pipeline already produces — no additional model. All five layers combined: 10% residual. Happy to discuss methodology, the PoisonedRAG comparison, or anything that looks off. Comments URL: https://news.ycombinator.com/item?id=47350407 Points: 13 # Comme

Continue reading on Hacker News

Opens in a new tab

Read Full Article
13 views

Related Articles

What You Need to Know About Building an Outdoor Sauna (2026)
How-To

What You Need to Know About Building an Outdoor Sauna (2026)

Wired • 14h ago

The Boring Skills That Make Developers Unstoppable in 2026
How-To

The Boring Skills That Make Developers Unstoppable in 2026

Medium Programming • 19h ago

I Installed This VS Code Extension… and My Code Got Instantly Better
How-To

I Installed This VS Code Extension… and My Code Got Instantly Better

Medium Programming • 20h ago

The Age of Personalized Software
How-To

The Age of Personalized Software

Medium Programming • 22h ago

Automating Checkout Add-On Recommendations in WordPress for WooCommerce
How-To

Automating Checkout Add-On Recommendations in WordPress for WooCommerce

Dev.to • 22h ago

Discover More Articles