arXiv:2610.23465cs.AIOct 2026

Manuscript Offprint

arXiv:2610.23465

S-GAP: Stealthy Graph Attack Primitives for Graph Large Language Models

Wenda Li, Tongya Zheng, Shunyu Liu, Hanyang Yuan, Kaixuan Chen, Yu Wang, Yuchen Ying, Haoze Jiang, Huan Li, Gang Chen, Zujie Ren

Abstract

Graph Large Language Models (GraphLLMs) enable powerful semantic understanding and reasoning over Text-Attributed Graphs (TAGs), while their semantic reasoning may exhibit vulnerabilities to perturbations in node text and graph structure under adversarial attack evaluation. Existing attacks typically construct textual and structural perturbations in separate stages guided by distinct realization intents. However, this separation results in attack-intent fragmentation, causing semantic incoherence between the two perturbation types, thereby undermining attack stealth and making them easier for GraphLLMs to identify and disregard, ultimately weakening attack effectiveness. To avoid attack-intent fragmentation, we propose the Graph Attack Primitive (GAP), an atomic semantic representation that unifies textual and structural perturbations under a coherent attack intent. By carefully calibrating the semantic composition of a GAP, we can achieve strong attack effectiveness while maintaining sufficient attack stealth. Furthermore, we introduce S-GAP (Stealthy GAP), a multi-agent framework that iteratively refines the semantic content of the GAP. The framework unifies GAP planning and realization and continuously refines this process through surrogate evaluation and textual feedback. Extensive experiments across four datasets, three GraphLLMs, and two attack settings show that S-GAP improves ASR over the strongest baselines by 7.02% on average while producing more relationally plausible perturbations, exposing critical vulnerabilities in current GraphLLMs and motivating more robust defenses.

Introduction

Text-Attributed Graphs (TAGs), which integrate graph structure with textual content, are widely used to represent citation networks (Tang et al. 2024), product networks (Fan et al. 2022), and other knowledge-rich networks (Zhong et al. 2023; Ying et al. 2026). Recently, Graph Large Language Models (GraphLLMs) (Chen et al. 2024; Wang et al. 2024; Zhang et al. 2026) have incorporated the powerful semantic understanding and reasoning capabilities of large language models into graph learning, enabling joint reasoning over node text and graph structure. Compared with conventional graph models, this integration allows GraphLLMs to contextualize node semantics using relational information, supporting richer and more context-sensitive graph reasoning. However, this joint reliance also creates a coupled vulnerability: malicious text can distort node semantics.

Figure

(a) Graph Injection Attack (GIA)

(b) Graph Modification Attack (GMA)

Figure

Proportion (%)

Figure 1: Relational-plausibility distributions on Cora. An LLM assesses each relation as having low, medium, or high plausibility, while Clean denotes original graph relations.

tics, while manipulated relations can alter how those semantics are contextualized. Understanding how this coupled vulnerability can be exploited by adversarial attacks is therefore critical to the safe and reliable deployment of GraphLLMs in knowledge-intensive and decision-sensitive applications (Gao et al. 2025; Dai et al. 2024).

Graph adversarial attacks systematically expose the vulnerabilities of GraphLLMs through budget-constrained perturbations to graph data and commonly operate in two settings: Graph Injection Attack (GIA), which introduces adversarial nodes together with their incident edges, and Graph Modification Attack (GMA), which alters existing graph elements. Across these settings, conventional methods manipulate graph structure, vectorized node attributes, or both (Zügner, Akbarnejad, and Günnemann 2018; Zügner and Günnemann 2019; Ju et al. 2023; Ma, Trivedi, and Koutra 2026). Attacks on TAGs impose an additional constraint: attribute perturbations must be realized as valid natural-language text while being coordinated with structural manipulations (Lyu et al. 2025; Chen et al. 2026; Lei et al. 2024).

These methods typically construct textual and structural perturbations in separate stages, with each stage guided by a separately defined realization intent derived from the shared attack objective. For example, the structural stage (Lyu et al. 2025) is driven by relational criteria, whereas the textual stage (Lei et al. 2024) follows separately defined semantic constraints. Although both stages pursue the same ultimate attack objective, their stage-specific attack intents are defined by different realization criteria rather than explicitly unified. We refer to this separation as attack-intent fragmentation.

Attack-intent fragmentation can lead to semantic incoherence between textual and structural perturbations, with the generated text failing to justify the manipulated relations and the structural perturbations failing to support the adversarial semantics introduced by the text. Such incoherent perturbations lack sufficient attack stealth, making them more likely to be judged semantically implausible or weakly relevant and subsequently disregarded by the LLM components of GraphLLMs, ultimately weakening attack effectiveness. We further validate this observation by prompting an LLM to assess the plausibility of the relations produced by each attack and categorize them as low, medium, or high plausibility. As shown in Figure 1, existing attacks produce substantially larger proportions of low-plausibility relations than the clean graph under both attack settings, suggesting that their textual and structural perturbations frequently form semantically implausible relations. In contrast, our method S-GAP yields plausibility distributions much closer to the clean reference, indicating that its perturbations better preserve the relational plausibility profile of the original graph and thus achieve stronger attack stealth.

To avoid attack-intent fragmentation, we propose the Graph Attack Primitive (GAP), an atomic semantic representation that provides a coherent attack intent shared by textual and structural perturbations. By explicitly specifying the target semantics to preserve and the adversarial semantics to introduce, a GAP can avoid semantically implausible perturbations while retaining adversarial strength. However, balancing these competing semantic compositions is inherently target-dependent and difficult to achieve in a single generation step. We therefore introduce S-GAP (Stealthy GAP), a multi-agent framework that iteratively refines GAPs through surrogate evaluation and textual feedback. The Planner Agent proposes a GAP for the target, which the Attack Agent instantiates as a concrete text–structure perturbation and evaluates using a surrogate GNN. The Main Agent controls the overall process and uses the target context and execution outcome to construct a textual feedback that guides the Planner Agent's refinement in the next round.

Our contributions are summarized as follows:

• We identify attack-intent fragmentation in adversarial attacks, where textual and structural perturbations guided by independent attack intents undermine stealth, and propose GAP, which provides a unified attack intent for both perturbation types and is expressively complete over the defined attack search space.

• We introduce S-GAP, a multi-agent framework for unified target-specific GAP planning and realization with iterative feedback-guided refinement through surrogate evaluation and textual feedback.

• We conduct comprehensive experiments on four datasets with three victim GraphLLMs under two attack settings. The results demonstrate superior attack effectiveness and stealth over existing methods, exposing fundamental vulnerabilities in the joint textual and structural reasoning of current GraphLLMs.

References (28)