cs.CRApr 1, 2026

RAGShield: Detecting Numerical Claim Manipulation in Government RAG Systems

Authors: KrishnaSaiReddy Patil

Abstract

Retrieval-Augmented Generation (RAG) systems are deployed across federal agencies for citizen-facing tax guidance, benefits eligibility, and legal information, where a single incorrect number causes direct financial harm. This paper proves that all embedding-based RAG defenses share a fundamental blind spot: changing a tax deduction by $50,000 produces cosine similarity 0.9998, invisible to every known detection threshold. Across 174 manipulation pairs and two embedding models, the mean sensitivity gap is 1,459x. The blind spot is confirmed on real IRS documents.The root cause is that embeddings encode topic, not numerical precision. RAGShield sidesteps this by operating on extracted values directly: a pattern-based engine identifies dollar amounts and percentages in government text, links each value to its governing entity through two-pass context propagation (99.8% entity detection on 2,742 real IRS passages), and verifies every claim against a cross-source registry built from the corpus itself. A temporal tracker flags value changes that fall outside known government update schedules. On 430 attacks generated from real IRS document content, RAGShield detects every one (0.0% ASR, 95% CI [0%, 1%]) while embedding-based defenses miss 79-90% of the same attacks.

Figures & tables

Explore similar work

CardsList
  1. Protection Is Not One Event: A Survey of RAG Protection Research by Measured Endpoint

    Oct 21, 2026Peiyang Liu, Xi Wang, Di Liang +3RAG SecurityRAG Evaluation

  2. RAG-PIBench: A Leakage-Aware Benchmark for Prompt-Injection Detection in Trustworthy RAG Systems

    Oct 6, 2026Niveen O. Jaffal, Ahmet Yuksel, David MohaisenRAG SecurityPrompt Injection Attacks on LLMs

  3. Salience Induction against Multi-Hop RAG Agents: Threat and Defense

    Jul 20, 2026Xingfu Zhou, Pengfei Wang, Yuan Zhou +2Multi-Hop QAAdversarial Attacks