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

DevFeed: [Google Workspace's continuous approach to mitigating indirect prompt injections](<https://devfeed.tech/articles/google-workspace-s-continuous-approach-to-mitigating-indirect-prompt-injections-19819.md>)

Original publisher: [Read original article](<http://security.googleblog.com/2026/04/google-workspaces-continuous-approach.html>)

Author: Kimberly Samra (noreply@blogger.com)

Published: 2026-04-02T16:00:00Z

Content type: article

Language: en

Sources: [Google Online Security](<https://devfeed.tech/sources/google-online-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Security Attacks](<https://devfeed.tech/topics/security-attacks.md>), [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-application](<https://devfeed.tech/tags/ai-application.md>), [ai-applications](<https://devfeed.tech/tags/ai-applications.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attack-discovery](<https://devfeed.tech/tags/attack-discovery.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [automated](<https://devfeed.tech/tags/automated.md>), [automation](<https://devfeed.tech/tags/automation.md>), [based](<https://devfeed.tech/tags/based.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [google](<https://devfeed.tech/tags/google.md>), [google-workspace](<https://devfeed.tech/tags/google-workspace.md>), [none](<https://devfeed.tech/tags/none.md>), [prompt](<https://devfeed.tech/tags/prompt.md>)

## AI overview

Google describes mitigating indirect prompt injection (IPI) in Workspace with Gemini as an ongoing cycle: discover and catalog attacks, generate synthetic variants with Simula, refine defenses, and measure results. Discovery combines human and automated red-teaming, external vulnerability reports and rewards, and monitoring public disclosures; Trust, Security, & Safety teams reproduce and classify findings and assign owners. Simula-generated data supports ML training and held-out validation, while LLM defenses are refined through prompt engineering and Gemini is hardened to ignore harmful embedded instructions. Deterministic controls such as user confirmation, URL sanitization, and tool-chaining policies can be updated quickly through a centralized Policy Engine, including point fixes; ML and LLM defenses require model retraining or prompt updates. Google evaluates changes by simulating attacks across Workspace apps such as Gmail and Docs with and without each defense enabled. The text presents this as a continuing process for an evolving threat, not a one-time solution.

## Source excerpt

Posted by Adam Gavish, Google GenAI Security Team Indirect prompt injection (IPI) is an evolving threat vector targeting users of complex AI applications with multiple data sources, such as Workspace with Gemini. This technique enables the attacker to influence the behavior of an LLM by injecting malicious instructions into the data or tools used by the LLM as it completes the user's query. This may even be possible without any input directly from the user. IPI is not the kind of technical problem you "solve" and move on. Sophisticated LLMs with increasing use of agentic automation combined with a wide range of content create an ultra-dynamic and evolving playground for adversarial attacks. That's why Google takes a sophisticated and comprehensive approach to these attacks. We're continuously improving LLM resistance to IPI attacks and launching AI application capabilities with ever-improving defenses. Staying ahead of the latest indirect prompt injection attacks is critical to our mission of securing Workspace with Gemini. In our previous blog "Mitigating prompt injection attacks with a layered defense strategy", we reviewed the layered architecture of our IPI defenses. In this blog, we'll share more detail on the continuous approach we take to improve these defenses and to solve for new attacks. New attack discovery By proactively discovering and cataloging new attack vectors through internal and external programs, we can identify vulnerabilities and deploy robust defenses ahead of adversarial activity. Human Red-Teaming Human Red-Teaming uses adversarial simulations to uncover security and safety vulnerabilities. Specialized teams execute attacks based on realistic user profiles to exploit weaknesses, coordinating with product teams to resolve identified issues. Automated Red-Teaming Automated Red-Teaming is done via dynamic, machine-learning-driven frameworks to stress-test environments. By algorithmically generating and iterating on attack payloads, we can mimi