SafeGEO: Understanding Generative Engine Optimization Risks in Recommendation Agents

Qianfeng Wen, Yifan Simon Liu, Xin Liu, Difan Jiao, Blair Yang, Junda Wu, Zhenwei TangarXiv 2026

TL;DR

Large Language Model (LLM)-based recommendation agents are highly vulnerable to Generative Engine Optimization (GEO)—strategic text rewrites by web content owners designed to trick AI into favoring their products. This paper introduces SafeGEO, a benchmark evaluating 22 attack variants across 600 recommendation cases, revealing that GEO can boost flawed product recommendations by up to 83.2 percentage points. While agent-side defenses like "evidence breakdown" help mitigate this harm, they fail to completely neutralize the risk, highlighting a critical open challenge in AI safety.

What Problem Does This Paper Address?

As LLMs transition from simple chatbots to agentic search tools, we increasingly rely on them to make purchasing decisions based on web evidence (e.g., "find a baby monitor with encrypted video and no subscription fees"). However, this creates a massive incentive for sellers to manipulate their web content using Generative Engine Optimization (GEO) to ensure their products get recommended.

While prior work on GEO focused primarily on visibility (how often an LLM cites a source), this paper tackles the far more dangerous problem of utility harm. The authors investigate whether strategic, seller-controlled source rewrites can trick recommendation agents into selecting flawed products that explicitly violate a user's hard constraints.

Figure 1: Left: An agentic recommender retrieves product evidence and generates a final recommenda- tion. Right: GEO attacks manipulate retrieved evidence through content-level changes, epistemic framing, and model-facing realization to promote a target product.

Methods

The authors formalize recommendation harm as a utility-alignment problem where user utility is strictly grounded in verifiable hard constraints and soft preferences. To systematically evaluate how agents fail under manipulation, they propose a comprehensive GEO attack taxonomy organized around three manipulation loci:

  1. Content-level manipulation: Altering the substantive facts or omissions of a document (e.g., making an unsupported fit claim or omitting a crucial drawback).
  2. Epistemic framing: Changing how supported or credible a claim appears to the model (e.g., laundering a seller page to look like an independent buyer's guide).
  3. Model-facing realization: Formatting or structuring text to directly exploit LLM attention patterns (e.g., prompt-like formatting or repeated query terms).

Using this taxonomy, they instantiate 22 distinct attack variants, ranging from isolated "atomic" primitives to complex, realistic seller archetypes (like a "caveat-buried FAQ").

To defend against these attacks, the authors evaluate five lightweight, prompt-level mitigation strategies: defensive prompting, rationale elicitation, evidence breakdown, context balancing, and instruction filtering.

Datasets

The authors introduce SafeGEO, an evaluation suite consisting of 600 recommendation cases spread across six distinct product verticals: AI meeting transcription tools, baby monitors, carry-on backpacks, home air purifiers, noise-canceling headphones, and office chairs.

Overview of the SafeGEO suite construction pipeline, from query collection to evaluation metrics.

Each case pairs a user query with a product shortlist, retrieved web sources, product metadata, and hidden reference utility labels. The dataset also includes SafeGEO Diamond, a 600-instance screening subset designed for rapid model iteration and benchmarking.

Key Insights and Ideas

  • Coherence Beats Complexity: Surprisingly, complex diagnostic combinations of attacks do not always outperform simple ones. Instead, coherent, realistic seller archetypes—such as a fake "independent buyer guide"—exhibit the strongest capability to deceive models. LLMs heavily trust the persona and structure of a well-crafted page.
  • The Citation Trap: High citation rates do not imply safety. GEO attacks successfully hijack the model's internal reasoning ledger by tricking it into citing the manipulated text as valid "evidence" for a false claim.
  • Asymmetric Logic: When facing a mix of honest and optimized sources, LLMs apply strict constraint logic to honest competitors (rejecting them for missing specifications) while giving GEO-optimized products a pass by relying on high-level, persuasive summary language.

Key Results

  • Massive Target Promotion: Across 600 cases, realistic GEO attacks increased the rate at which flawed target products entered the top three recommendations (Target@3) by up to 83.2 percentage points (pp).
  • Severe Constraint Violations: Recommendations that directly violated the user's hard constraints (HCV@1) rose by up to 63.8 pp.
  • Cross-Model Vulnerability: These vulnerabilities are not unique to smaller models. Frontier-scale models like DeepSeek-V4-Flash proved highly vulnerable, with its Target@3 rate jumping from 4.6% (control) to 72.6% under realistic attacks.
Figure 3: Target@3 uplift over the truthful-rewrite con- trol across the 22 GEO attack variants for Gemma 4 31B IT. Variants are grouped by family. Realistic variants produce especially strong uplift, while diagnostic block and cross-block variants do not always yield stronger effects than atomic primitives.
  • Mitigation Performance: The most effective defense was evidence breakdown (forcing the model to generate candidate-level evidence checks before ranking), which reduced harmful target promotion by up to 39.2 pp. However, even with this defense active, the models performed significantly worse than the no-GEO baseline, proving that GEO remains an open threat.

Limitations and Future Work

  • Text-Only Focus: SafeGEO evaluates only text-based web content. Real-world web pages rely heavily on multimodal elements (images, videos, badges, and complex tables) which are highly likely to introduce additional vectors for GEO manipulation.
  • Single-Turn Constraints: The benchmark evaluates a single-turn recommendation setting. Real-world conversational agents operate over multiple turns, asking clarification questions and updating user preferences, which could dynamically alter their vulnerability to manipulation.

Summary updated

BibTeX
@misc{wen2026safegeo,
  author = {Qianfeng Wen and Yifan Simon Liu and Xin Liu and Difan Jiao and Blair Yang and Junda Wu and Zhenwei Tang},
  title = {{SafeGEO: Understanding Generative Engine Optimization Risks in Recommendation Agents}},
  year = {2026},
  eprint = {2606.28356},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.28356},
}
Figure