Skip to content

HDI Attack: Tampering with GraphRAG auxiliary structures can achieve an 88–94% attack success rateHDI: GraphRAG auxiliary schema poisoning

Paper Tracker· arXiv:2610.02373· Jisung Park, John Le, Heath Cooper·Indexed by this site · 2026-10-05· Originally publishedSelected AttacksSelectedAttention38

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The paper proposes a hop-decay influence attack against GraphRAG auxiliary schema-level entities; tampering with 0.016% of structures makes HippoRAG2 reach 94.44% ASR.

Threat modelGray-box setting: the attacker has a representative set of target queries and queries the knowledge graph through the graph database interface; has permission to modify auxiliary structures after indexing (insider or compromised interface), but cannot access the original corpus, cannot rerun the indexing pipeline, and cannot control the retriever or generator parameters; the goal is to corrupt the auxiliary structures within a perturbation budget to make retrieval fail.

Questions
Auxiliary structures such as semantic summaries and scores built during GraphRAG offline indexing determine the online retrieval path, but existing graph poisoning attacks are limited to instance-level components such as nodes and edges, ignoring the security vulnerabilities of auxiliary schema-level entities.
Methods
The paper proposes the 3S framework and the Hop-Decayed Influence (HDI) attack, which, after indexing, uses a representative query set to propagate decayed influence along the graph to select high-value nodes, and then performs semantic injection, false edge addition, or precomputed score tampering.
Experiments and results
On HotpotQA and 2WikiMultiHopQA, HDI achieves an ASR of 88.17%–94.44% with 0.016%–4.82% of structures modified, achieving leverage amplification where a single point affects multiple queries, and bypasses perplexity and rewriting defenses with an evasion rate exceeding 99%.
Limitations and future work
The authors note that the post-index write-permission assumption is not universal, defense evaluation does not cover detection targeting scores and structures, generalization across backbone LLMs is unverified, and the experiments cover only 2 QA benchmarks and 2 GraphRAG architectures.
Experimental setupMicrosoft GraphRAG、HippoRAG2 · HotpotQA、2WikiMultiHopQA · ASR、SLR et al.
Evaluated models
Microsoft GraphRAGHippoRAG2
Benchmarks
HotpotQA2WikiMultiHopQA
Metrics
ASRSLRF1EMPerplexity EvasionParaphrase EvasionDetection Rate
AI summaryand selection rationaleThe paper studies the risks of tampering with auxiliary structures such as semantic summaries, hierarchical relationships, and precomputed scores generated by GraphRAG indexing, and proposes the 3S framework and the HDI influence analysis method. The attacker must first obtain write access to the auxiliary structures after indexing; this is not a remote attack without access conditions. The authors report, on two types of GraphRAG architectures and two question-answering benchmarks, that small amounts of tampering can affect multiple queries and bypass the tested perplexity and rewriting defenses; the results are limited to these experimental conditions and have not yet been independently reproduced.

The paper studies the risks of tampering with auxiliary structures such as semantic summaries, hierarchical relationships, and precomputed scores generated by GraphRAG indexing, and proposes the 3S framework and the HDI influence analysis method. The attacker must first obtain write access to the auxiliary structures after indexing; this is not a remote attack without access conditions. The authors report, on two types of GraphRAG architectures and two question-answering benchmarks, that small amounts of tampering can affect multiple queries and bypass the tested perplexity and rewriting defenses; the results are limited to these experimental conditions and have not yet been independently reproduced.

Why it was selectedThe paper lists the summaries, hierarchical edges, and precomputed scores generated by GraphRAG's offline indexing as a new attack surface and provides a reproducible analysis of the attack and defense blind spots.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The paper notes that existing graph poisoning is limited to the instance level and proposes an attack method targeting GraphRAG auxiliary schema-level entities.

    The paper focuses on security vulnerabilities of auxiliary schema-level entities in end-to-end GraphRAG systems, aiming to address the issue that existing graph poisoning attacks only affect instance-level components while neglecting the auxiliary structures of the control plane.

    • Application scenario and importance: The authors note that GraphRAG extends retrieval-augmented generation to knowledge graphs, building auxiliary structures such as semantic summaries, hierarchical edges, and precomputed scores through offline indexing, to support multi-hop reasoning and optimize online retrieval paths.
    • Shortcomings of existing methods: The authors state that existing direct graph attacks and corpus-level attacks are limited to instance-level facts (nodes, edges, triples), treating the graph itself as the entire retrieval carrier, and fail to touch the schema-level structures that control retrieval paths and priorities.
    • Core observation and hypothesis: The authors propose that auxiliary structures, as system-generated derived components, enjoy implicit trust and lack runtime validation; manipulating hierarchical aggregation points can produce a 1:N asymmetric leverage effect, and tampering is difficult to detect due to the lack of uniquely defined ground-truth labels.
    • The paper's proposed solution: The paper proposes the 3S framework (semantic, structural, score) and the Hop-Decayed Influence (HDI) attack method, which identifies and tampers with high-influence auxiliary structures after indexing and before retrieval begins.
    • Threat model:
      • Attack goal: Within a limited perturbation budget, cause the target query set to produce incorrect answers by disrupting auxiliary structures used for retrieval optimization, while evading existing defenses.
      • Attacker capabilities: Has permission to modify the knowledge graph auxiliary structures after indexing (e.g., insider database write access or a compromised interface); cannot access the original corpus, cannot retrigger indexing, and cannot control retriever or generator parameters.
      • Attacker knowledge: Set as gray-box; the attacker has a set of representative target queries and can query the knowledge graph through standard graph database interfaces.
      • Victim system: End-to-end GraphRAG systems that use auxiliary structures to optimize online retrieval (e.g., Microsoft GraphRAG and HippoRAG2).
  2. What related research exists?

    The paper reviews GraphRAG architecture, instance-level graph poisoning, and language-based defense research, noting that existing work ignores the schema layer.

    The paper discusses the following research directions in related work and the introduction:

    • Knowledge graphs and GraphRAG architectures
      • Microsoft GraphRAG: Edge et al. (2025) proposed a GraphRAG framework based on hierarchical community detection, which aggregates sub-entities through high-level community summaries to support global-focused question answering.
      • HippoRAG and HippoRAG2: Gutiérrez et al. (2025) proposed a neurobiologically inspired graph retrieval-augmented model that uses personalized PageRank (PPR) and precomputed scores to determine retrieval priority.
      • Surveys and frameworks for graph retrieval augmentation: Han et al. (2025) and Peng et al. (2024) systematically reviewed the graph retrieval-augmented generation paradigm; He et al. (2024) proposed G-Retriever, which combines graph structure understanding and question answering.
    • Poisoning attacks on knowledge graph and RAG systems
      • Direct graph attacks (GRAGPOISON): Liang et al. (2026) proposed GRAGPOISON, which identifies cross-query shared relations and injects temporally ordered competing relations to cause disruption. The authors note that this method only targets instance-level relations.
      • Corpus-to-graph poisoning attacks: Wen et al. (2025) proposed TKPA and UKPA through source text poisoning, which respectively rewrite fragile text blocks to control specific outputs, or perturb coreference signals to shatter the global graph structure; Zhao et al. (2025) also explored knowledge poisoning risks.
      • Retrieval text poisoning (PoisonedRAG): Zou et al. (2025) proposed PoisonedRAG, which injects malicious text optimized for retrieval similarity to induce incorrect answers, a text-level knowledge disruption.
    • Baselines for adversarial attack defenses
      • Perplexity filtering and rewriting defenses: Jain et al. (2023) and Panebianco et al. (2025) evaluated perplexity filtering and rewriting detection baselines. The authors note that existing defenses assume adversarial content manifests as statistical anomalies and cannot identify system-generated fluent auxiliary structures.
    • Baseline methods and evaluation benchmarks
      • Comparison baselines: The experiments selected the direct graph poisoning method GRAGPOISON (Liang et al., 2026) and the retrieval poisoning method PoisonedRAG (Zou et al., 2025).
      • Evaluation benchmarks: Multi-hop question-answering benchmarks HotpotQA (Yang et al., 2018) and 2WikiMultiHopQA (Ho et al., 2020), sourced from Wikipedia, were chosen.
    • Positioning of this paper relative to existing work: The authors note that existing attacks and defenses are limited to the data plane of traditional knowledge graphs (nodes, edges, triples), whereas this paper focuses on auxiliary schema-level structures built by offline indexing, revealing vulnerabilities on the control plane.
  3. How does the paper address this problem?

    The paper uses the hop-decayed influence algorithm to select core nodes and applies the 3S framework to tamper with semantic, structural, and score mechanisms.

    The authors propose the Hop-Decayed Influence (HDI) attack and the 3S framework, which, after offline indexing is complete, select high-value targets through query-aware influence propagation, and implement targeted tampering against semantic, structural, and scoring auxiliary structures.

    Problem Formulation

    In an end-to-end GraphRAG system, the indexing phase, in addition to constructing the graph structure, also generates auxiliary structure set A, including semantic summaries, hierarchical edges, and precomputed scores. Given a target query set Q, the attacker's goal is, under the perturbation budget epsilon constraint, to find the minimal auxiliary structure modification Delta A that maximizes the number of queries for which the retrieved context has an empty intersection with the original context:

    maxΔ A ∑q ∈ Q 𝕀[R(q, A + Δ A) ∩ R(q, A) = ∅]

    This formula indicates that the attacker, by applying perturbations to the auxiliary structure set, maximizes the total number of target queries for which the original retrieval context is completely disrupted.

    Target Selection: Hop-Decayed Influence Algorithm

    To maximize cross-query impact under a limited budget, HDI proposes a query-aware influence propagation mechanism. For each query q, the algorithm first extracts seed entities and maps them to graph nodes; then, influence propagates outward along the shortest paths with an exponential decay factor lambda:

    Influence(v) = ∑q ∈ Q ∑s ∈ Seeds(q) λd(s, v)

    This formula indicates that the cumulative influence of node v equals the sum of the exponentially decayed contributions from each query's seed entities along the shortest distance d(s, v). Nodes beyond the maximum hop count h_max have their influence counted as 0. The algorithm ultimately selects the top-k nodes with the highest cumulative influence as attack targets.

    Attack Implementation: 3S Attack Framework

    Based on the different types of auxiliary structures, the authors design three targeted tampering methods:

    • Semantic Attack: Injects adversarial text delta into the text summary of the target node, introducing false entity associations while maintaining low perplexity to evade language model-based anomaly detection.
    • Structure Attack: Creates false edges between the target node and distant nodes that are semantically unrelated. For the target node v*, the algorithm adds edges to nodes u with similarity below threshold tau, constructing false graph traversal paths.
    • Score Attack: Tampering with precomputed scores to subvert retrieval ranking. The scores of the highest-influence target node set V* are downgraded to the baseline value mu, while the scores of the median-ranked unrelated node set V_med are boosted to the maximum value sigma_max, inducing the retriever to prioritize irrelevant nodes.

    Overall Execution Flow

    The attack process is divided into two phases: in the first phase, the HDI algorithm computes influence scores for each node based on the query set and selects the top-k target nodes; in the second phase, the 3S attack is implemented according to the retrieval mechanism of the target system. The authors note that the semantic attack is suitable for retrieval systems based on vector embeddings, while the structure attack mainly targets retrieval systems that rely on graph traversal.

  4. What experiments did the paper conduct?

    The experiments demonstrate an attack success rate of over 88% and a schema leverage ratio of up to 6.00 across two benchmarks and architectures.

    Experimental setup

    • Systems and models under test: Two system architectures were tested: Microsoft GraphRAG and HippoRAG2; the text embedding model used was OpenAI text-embedding-3-small, and the generation model was GPT-4o-mini.
    • Evaluation datasets and sampling size: The multi-hop QA benchmarks HotpotQA and 2WikiMultiHopQA were used; due to computational budget constraints, 1,000 samples were drawn from each to construct the test set.
    • Comparison baselines: Compared against the instance-level graph poisoning attack GRAGPOISON and the retrieval poisoning method PoisonedRAG.
    • Evaluation metric definitions: Attack Success Rate ASR (proportion of queries answered correctly before the attack and incorrectly after), Schema Leverage Ratio SLR (number of affected queries divided by number of modified structures), F1 score, Exact Match EM, and evasion rates against perplexity and paraphrase defenses based on existing standards.
    • Defense test setup: Two defense baselines were evaluated: Perplexity Filter and Paraphrase Defense.
    • Hyperparameters and hardware conditions: The HDI algorithm's decay factor lambda was set to 0.5, maximum hops h_max to 4, random seed to 42, and perturbation ratios tested were 0.001%, 0.01%, and 0.1%; experiments ran in environments with more than 32GB of memory.

    Main results

    Swipe horizontally to read the table

    Target systemDatasetBest configurationThis paper's ASR (%)PoisonedRAG (%)Gragpoison (%)
    MSGraphRAGHotpotQAHDI-T91.6980.6985.64
    MSGraphRAG2WikiMultiHopQAHDI-T88.1780.4288.68
    HippoRAG2HotpotQAHDI-T88.2481.4986.28
    HippoRAG22WikiMultiHopQAHDI-C94.4485.8987.24

    (According to Table 1)

    • Attack success rate performance: The authors note that HDI achieved the highest ASR in three of the four configurations, reaching 94.44% on HippoRAG2 with 2WikiMultiHopQA (Table 1).
    • Exception and counterexample: On the MSGraphRAG with 2WikiMultiHopQA task, the baseline method Gragpoison achieved an ASR of 88.68%, higher than HDI-T's 88.17% (Table 1).
    • System architecture differences: The authors analyze that MSGraphRAG's hierarchical community structure amplifies the impact of tampering with a single summary; HippoRAG2's personalized PageRank distributes retrieval across multiple paths, providing some dispersion, but it still shows vulnerability under score attacks (Table 1).

    Attack efficiency and schema leverage ratio analysis

    • Tampering scale comparison: According to Table 2, on HippoRAG2-2WikiMultiHopQA, HDI-C tampered with only 49 of 311,419 structures (0.016%) to achieve 94.44% ASR; on HotpotQA it tampered with 330 structures (0.075%) to achieve 88.24% ASR. MSGraphRAG has fewer total structures (6,328 for HotpotQA and 9,328 for 2WikiMultiHopQA), with tampering ratios of 4.74% (300) and 4.82% (450), respectively.
    • Schema Leverage Ratio (SLR) comparison: According to Table 2, HDI's SLR reached 3.41–6.00, while PoisonedRAG's SLR was only 0.32–1.36; the largest gap occurred on HippoRAG2-2WikiMultiHopQA (HDI at 6.00, PoisonedRAG at 0.32).
    • Authors' interpretation: The authors believe that an SLR greater than 1 indicates that modifying a single schema-level entity can simultaneously affect multiple retrieval paths, producing a 1:N amplification effect unachievable by instance-level attacks (Table 2).

    Defense evasion performance analysis

    • Evasion rate testing: According to Table 3, in tests against perplexity filtering and paraphrase defenses, HDI's perplexity evasion rates across configurations were 99.50%–99.87%, paraphrase defense evasion rates were 99.13%–99.72%, and overall detection rates remained below 0.1% (0.05%–0.09%).
    • Mechanism of defense failure: The authors state that existing defenses target instance-level features such as anomalous entity names or unreasonable triples, whereas tampered summaries are still generated by language models and remain linguistically fluent, the entities connected by spurious edges are semantically plausible, and numerical scores completely bypass text-based detection (Table 3).
    • Implicit trust blind spot: The authors believe that auxiliary structures, as system-generated artifacts, are trusted by default and lack runtime validation, creating a structural blind spot in GraphRAG defenses (Table 3).

    Scaling effects of perturbation intensity analysis

    • Tampering intensity scaling trend: According to Figure 3, on MSGraphRAG, as the tampering ratio increases from 0.01% to 0.1%, the structural attack ASR grows nearly linearly (HotpotQA from 24.3% to 91.7%, 2WikiMultiHopQA from 19.8% to 88.8%).
    • Early saturation phenomenon: According to Figure 3, HippoRAG2 on 2WikiMultiHopQA requires modifying only 0.01% of structures to reach 71.2%–73.5% ASR, showing early saturation; at 0.1% perturbation, both structural and semantic attacks reach 88.9% (the text states convergence to 88.89%).
    • Attack type differences: According to Figure 3 and the text, structural attacks (T) generally outperform semantic attacks (S) on MSGraphRAG; for example, on HotpotQA (at 0.1% ratio), the structural attack reaches 91.69% ASR while the semantic attack reaches 48.52%.

    Other ablations and analyses

    • MSGraphRAG semantic attack intensity scaling: On HotpotQA, perturbation ratios of 0.01%, 0.05%, and 0.1% correspond to ASRs of 15.5%, 33.3%, and 48.5%, respectively (according to Figure 3).
    • MSGraphRAG-2WikiMHQA semantic attack intensity scaling: Perturbation ratios of 0.01%, 0.05%, and 0.1% correspond to ASRs of 13.7%, 41.7%, and 64.2%, respectively (according to Figure 3).
    • HippoRAG2-HotpotQA structural vs. semantic attack comparison: At 0.1% perturbation, the structural attack ASR is 88.2% and the semantic attack ASR is 72.8% (according to Figure 3).
    • HippoRAG2 optimal attack type preference: The best configuration for HotpotQA is the structural attack HDI-T, and for 2WikiMultiHopQA the best configuration is the score attack HDI-C (according to Table 1, Table 2, Table 3).
  5. What are some points that can be further explored?

    The authors point out limitations including the write-permission assumption, single-method defense evaluation, and untested model generalization, and list future defense directions.

    Limitations and future directions noted by the authors

    • Generality of the post-index write-permission assumption (from Section 8): The authors note that the assumption of database write access after indexing, on which the attack relies, may not hold in some real-world deployment environments.
    • Limitations of defense evaluation dimensions (from Section 8): The authors note that existing defense evaluations cover only text-level detection methods, which are mechanistically mismatched with score tampering and structural tampering.
    • Generalization across backbone LLMs untested (from Section 8): The authors note that the attack's generalization across different backbone language models (Backbone LLMs) remains untested and unverified.
    • Extension to other GraphRAG tasks and out-of-distribution queries (from Section 8): The authors note that future evaluations should further extend to other GraphRAG applications such as summarization generation and decision support, as well as out-of-distribution (OOD) queries.
    • Extension to new retrieval pipelines and standardized benchmarks (from Section 8): The authors plan to extend HDI to new GraphRAG pipelines with time-aware and multimodal retrieval capabilities, and to establish a standardized benchmark suite for schema-level attack and defense evaluation.
    • Research directions for defense mechanisms (from Section 6 and Section 8): The authors propose three defense ideas: provenance-aware defense that maintains lineage between schema entities and source instances, robust aggregation functions resistant to outliers, and runtime validation that detects semantic drift at query time.

    Experimental coverage

    • Pipelines and architectures under test: The evaluation covers two architectures, Microsoft GraphRAG and HippoRAG2, for a total of 2 end-to-end GraphRAG systems.
    • Datasets and sample sizes: The evaluation was conducted on the multi-hop QA datasets HotpotQA and 2WikiMultiHopQA, with 1,000 samples drawn from each of the two tasks.
    • Model configuration: The embedding model used was text-embedding-3-small and the generation model was GPT-4o-mini; the paper did not test other models.
    • Defense evaluation baselines: The defense experiments tested two text-based methods, perplexity filtering and paraphrase detection; the paper did not report graph-structure anomaly detection or adaptive defenses.
    • Number of repetitions and statistical tests: The experiments used a fixed random seed of 42 and tested perturbation ratios of 0.001%, 0.01%, and 0.1%; the paper did not report variance across repeated runs or statistical significance tests.
  6. Summarize the main content of the paper

    The paper formalizes the auxiliary schema-level entity attack surface of GraphRAG, proposes the HDI attack, and verifies its attack effectiveness.
    • Paper positioning: This paper targets end-to-end GraphRAG systems, formalizes the auxiliary schema-level entity as an attack surface, and proposes a poisoning attack method based on hop-decay influence.
    • Problem addressed: Existing knowledge graph poisoning mainly focuses on instance-level components such as nodes and edges, ignoring the vulnerability on the control plane of auxiliary structures such as semantic summaries, hierarchical edges, and precomputed scores generated during the offline indexing stage.
    • Method core: The authors propose the Hop-Decay Influence (HDI) algorithm, which uses a representative query set to propagate decaying influence along the graph to select high-value nodes, and implements targeted attacks through the 3S framework (semantic injection, spurious edge addition, and precomputed score tampering).
    • Main experimental results:
      1. On the HotpotQA and 2WikiMultiHopQA QA benchmarks, HDI achieves 88.17%–94.44% ASR across configurations, with the highest 94.44% ASR on HippoRAG2 with 2WikiMultiHopQA (Table 1).
      2. The attack exhibits 1:N amplification leverage, with Schema Leverage Ratio (SLR) reaching 3.41–6.00; on HippoRAG2, modifying only 0.016% of structures (49) achieves 94.44% ASR (Table 2).
      3. Tampered structures evade perplexity filtering and paraphrase detection at rates exceeding 99%, with system detection rates remaining below 0.1% (Table 3).
    • Authors' conclusions and implications: The authors note that auxiliary schema-level entities enjoy implicit trust due to their system-derived nature and lack runtime validation, constituting a structural blind spot in existing GraphRAG defenses; future work urgently needs collaborative defense mechanisms combining provenance tracing and robust aggregation.

Related papers

Show 3 more papers
Read originalarxiv.org