---
title: "Google Workspace’s continuous approach to mitigating indirect prompt injections"
description: "Google treats indirect prompt injection against Workspace with Gemini as an ongoing problem handled by a continuous loop: discover attacks, expand them with synthetic data, refine defenses, and measure the result."
url: "https://swe.quest/articles/google-workspace-s-continuous-approach-to-mitigating-indirect-prompt-injections-c8fc2d3d2baf24db"
canonical: "https://security.googleblog.com/2026/04/google-workspaces-continuous-approach.html"
source: "Google Online Security Blog"
published: "2026-04-02"
difficulty: "easy"
kind: "Case study"
reading_minutes: 5
tags: ["ai-safety","llms","appsec","ai-agents"]
---

# Google Workspace’s continuous approach to mitigating indirect prompt injections

A post on [Google Online Security Blog](https://swe.quest/sources/google-security.md), published 2026-04-02, 5 min read, Case study. Original: [https://security.googleblog.com/2026/04/google-workspaces-continuous-approach.html](https://security.googleblog.com/2026/04/google-workspaces-continuous-approach.html)

## Summary

Google treats indirect prompt injection against Workspace with Gemini as an ongoing problem handled by a continuous loop: discover attacks, expand them with synthetic data, refine defenses, and measure the result. New attacks come from human and automated red-teaming, the AI VRP, and public disclosures, and all are catalogued by technique and impact. Simula generates attack variants for training and validation sets. Defenses are updated in layers: deterministic policies such as URL sanitization, tool-chaining rules and regex takedowns are changed via a central Policy Engine for fast point fixes, while ML classifiers are retrained, LLM defense prompts are re-tuned, and Gemini itself is hardened. Each change is validated by running end-to-end attack simulations across apps like Gmail and Docs with and without the defense enabled.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI safety](https://swe.quest/tags/ai-safety.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Application security](https://swe.quest/tags/appsec.md) (Security)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- prompt injection basics ([easy posts on Application security](https://swe.quest/tags/appsec.md?difficulty=easy))
- LLM tool use ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

indirect prompt injection, Gemini, Google Workspace, Simula, Google AI VRP

## Related posts

- [AI threats in the wild: The current state of prompt injections on the web](https://swe.quest/articles/ai-threats-in-the-wild-the-current-state-of-prompt-injections-on-the-web-dd07a8b49e6e2d0a.md): Google Online Security Blog · 2026-04-23 · Easy · 7 min read · AI safety, Threat detection, LLMs, AI agents
  A scan of Common Crawl snapshots for indirect prompt injections finds that most in-the-wild attempts are low-sophistication: pranks, helpful guidance for AI summaries, SEO manipulation, AI-crawler deterrents such as infinite-text tarpits, and a few crude exfiltration and file-deletion attempts.
- [Continuously hardening ChatGPT Atlas against prompt injection](https://swe.quest/articles/continuously-hardening-chatgpt-atlas-against-prompt-injection-a9a9178548b95727.md): OpenAI · 2025-12-22 · Easy · 11 min read · AI safety, AI agents, Application security, Model training, LLMs
  OpenAI hardens the ChatGPT Atlas browser agent against prompt injection using an LLM attacker trained end-to-end with reinforcement learning.
- [Designing AI agents to resist prompt injection](https://swe.quest/articles/designing-ai-agents-to-resist-prompt-injection-e50499550a206fae.md): OpenAI · 2026-03-11 · Easy · 6 min read · AI safety, AI agents, Security, LLMs
  Real-world prompt injection against AI agents increasingly resembles social engineering rather than simple instruction overrides, so input-classifying "AI firewalls" largely fail.
- [Prompt Injection Fixes Need Regression Tests](https://swe.quest/articles/prompt-injection-fixes-need-regression-tests-cd099958722bb346.md): Stack Overflow Blog · 2026-11-24 · Medium · 6 min read · AI safety, AI agents, Testing, Application security, CI/CD
  Patched prompt injections can silently return when a model is upgraded, a prompt is edited or a data connector is added, so they should be handled as regressions rather than one-off security fixes.
- [How we detect frontier model misalignment](https://swe.quest/articles/how-we-detect-frontier-model-misalignment-98ddf97507c137b5.md): OpenAI · 2026-10-29 · Medium · 15 min read · AI safety, AI agents, Threat detection, Evaluation, Sandboxing & isolation
  OpenAI monitors frontier agents across training, evaluation, internal use and some external deployment with a four-layer pipeline: high-recall activation probes (L0), a model-based reviewer of the agent's context window (L1), security and alignment investigative agents that can run code and read full transcripts (L2), and cross-case analysis against network logs and telemetry (L3).

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
