Google Agentspace Security: A CISO Hardening Guide
Google Agentspace security is a data-access problem before it is a model problem. The product gives employees a conversational interface and agents that read across Gmail, Drive, Calendar, and third-party systems, all under that employee's identity. This guide explains where that design creates risk, what Google's own documentation says it does and does not cover, and what a CISO should configure before rollout.
A naming note: Google has been consolidating Agentspace under the Gemini Enterprise name, and its current documentation uses that name. We use "Agentspace" because that is how many security teams still scope the work. The controls below apply to both.
Key Takeaways
- Agentspace inherits the user's permissions, so any injected instruction runs with everything that user can read.
- Indirect prompt injection through shared Docs, invites, and email is the primary threat. The GeminiJack disclosure showed a zero-click version of it.
- VPC Service Controls help, but Google documents that they do not cover connector traffic to external endpoints.
- Scope the corpus deliberately. Most "AI data leaks" are existing oversharing that search makes easy to find.
- Identity configuration is part of the attack surface. Google warns that workforce pool attribute mapping changes can enable user impersonation.
- Detection requires you to test it. Plant canary content and verify that your logs show what happened.
- No single control holds. Layer scope, egress, identity, and monitoring.
What Agentspace Changes About Your Attack Surface
Traditional enterprise search indexes content and returns links. An agentic search layer reads the content, reasons over it, and can act on connected systems. That adds three things to your threat model.
Aggregation. One query can pull from mail, documents, calendar, and chat at once. An attacker who can influence a single retrieved document can influence an answer that is built from many sensitive ones.
Delegated authority. The agent acts as the user. There is no separate low-privilege agent identity unless you build one. If the user can open the finance share, so can any instruction the agent follows on their behalf.
Untrusted input in a trusted channel. The agent mixes retrieved text with system instructions. The model cannot reliably tell a document's content from a command, which is the root of prompt injection.
This is the same structural issue we cover in our Gemini Enterprise security guide and in the OWASP-aligned agentic threat model. What is specific to Agentspace is the breadth of the connected corpus and how fast a pilot can grow into an org-wide deployment.
Indirect Prompt Injection Through Drive, Gmail, and Calendar
The best-documented real case is GeminiJack, disclosed by Noma Labs in December 2025. According to Noma's report and press coverage, the researchers found the flaw in Vertex AI Search and then in Gemini Enterprise. An attacker planted instructions in a shared Google Doc, a calendar invite, or an email. When an employee later ran an ordinary search, the system retrieved the poisoned item and followed its instructions using that employee's access. No click was required and no alert fired. Google worked with Noma and changed how the retrieval and indexing components interact. See Noma's write-up for the original details.
Two cautions. Some press coverage claimed millions of users were affected; we have not seen that figure supported in the primary disclosure, so we do not repeat it. And Google patched that specific path. The vulnerability class, instructions hidden in retrieved content, remains.
A common pattern we see in assessments is that the injection does not need to be sophisticated. It needs to be retrievable. Anyone who can share a document with a victim, or send them an email, can get content into the index. External sharing and inbound mail are therefore injection channels, not just collaboration features.
HiddenLayer has also published research on Gemini for Workspace injection, which shows the same root cause from a different angle. For the broader defense picture, see our enterprise guide to indirect prompt injection.
How injection becomes exfiltration
Injection alone changes an answer. Exfiltration needs an output channel. The typical channels are:
- Rendered Markdown images or links whose URL carries encoded data to an attacker server.
- Connector actions that send email, post messages, or write files.
- Calls from third-party connectors to external endpoints.
Data Scope: Over-Permission Is the Real Multiplier
Agentspace respects source permissions, which sounds reassuring until you look at what those permissions actually are. In most tenants we see:
- Drive folders shared to "anyone in the organization" years ago and never reviewed.
- Shared drives with inherited access that nobody owns.
- Meeting recordings and transcripts visible to all invitees and forwarded lists.
- Mailboxes with delegates that no longer need access.
A practical scoping approach:
Identity and OAuth Risks
Agentspace sits on your identity layer, and Google's security overview is direct about it. It supports Workforce Identity Federation, Google Identity, and Workload Identity Federation, and it warns that changes to workforce pool attribute mappings can enable user impersonation. Google recommends limiting the Workforce Pool Admin and Editor roles, protecting them with Privileged Access Manager, and sending Workforce Identity Federation audit logs to a SIEM. Read the Gemini Enterprise security overview with your IAM team.
Beyond federation, review:
- OAuth scopes granted to connectors. Each third-party connector holds tokens. Compromise of a connector credential is compromise of whatever it can read. Our guide to OAuth token security for agent tools covers the same failure modes.
- Service accounts. Inventory every service account and key tied to data store ingestion. Prefer workload identity over long-lived keys.
- Admin roles. Treat the people who can change data store, connector, and identity settings as privileged. Their changes alter what every user's agent can reach.
- Non-human identity sprawl. Custom agents multiply credentials. See non-human identity security for AI agents.
Network Boundaries and Their Limits
Google documents that Gemini Enterprise integrates with VPC Service Controls, and recommends configuring a perimeter to reduce exfiltration risk. Adding the Discovery Engine API as a restricted service blocks public internet access to it, so the web UI and certain actions need explicit ingress rules and, for actions, service approval by Google. Access Context Manager can add attribute-based access levels. See Google's VPC Service Controls guide.
The limit that matters: Google states that VPC-SC does not govern traffic from third-party connectors to external public endpoints. Its stated mitigation is VPC firewall rules restricted to the external service's fully qualified domain names, plus Workload Identity Federation for those connectors.
Tradeoffs to plan for:
- A perimeter that is too strict breaks legitimate use and pushes users toward unsanctioned tools.
- A perimeter that is too loose gives false confidence. Test it with a real egress attempt, not a policy review.
- CMEK, EKM, and HSM options exist, but Google notes limitations on a separate page. Confirm that they fit your use case before committing to a compliance claim.
Logging and Detection Gaps
The hard part of an injection incident is reconstruction. You need to answer: which document did the agent read, what did it do next, and who was the user?
Google's documentation points to Cloud Audit Logs and Access Transparency, but the overview does not detail what they record for agent interactions. Do not infer coverage. Validate it:
Also alert on the things you can see: new connectors, changes to data stores, workforce pool mapping edits, and unusual external sharing to executives and finance staff. For agent-level forensics, see our AI agent breach investigation guide.
CISO Hardening Checklist
Before rollout
- Run an oversharing review on every data store in scope.
- Disable or restrict external sharing for sensitive organizational units.
- Decide which connectors are allowed, and approve them individually.
- Define the first use cases and the owner of each.
- Configure VPC Service Controls and test ingress and egress.
- Apply FQDN-restricted firewall rules for third-party connector egress.
- Limit Workforce Pool Admin and Editor roles and gate them with Privileged Access Manager.
- Use Workload Identity Federation for connectors where supported.
- Apply DLP and sensitivity labels, then verify enforcement empirically.
- Confirm how the product renders images and links in answers, and disable external rendering where you can.
- Require human confirmation for any agent action that sends, shares, or deletes.
- Forward audit logs to the SIEM.
- Plant canary documents and run them quarterly.
- Red team the deployment with injection through each channel: Doc, invite, email, and any connected third-party system. Our agent security testing guide outlines a method.
What a Scan and an Assessment Cover
Be honest about scope. Automated scanning is strong at finding exposed endpoints, weak configuration, and injection-prone behavior in applications you build around the platform. It does not replace a review of tenant-level settings such as sharing policy, connector approval, and identity federation, which need an administrator's view.
A good assessment combines the two: scan what is testable from outside, then review the admin configuration against the checklist above and run injection tests through each content channel. The Securetom scan covers the first part and gives you a baseline before you widen the rollout.
Conclusion
Google Agentspace security comes down to four decisions: what the agent can read, what it can send out, whose identity it uses, and whether you can see what happened. Injection will keep reaching the agent, as GeminiJack showed, so assume it and limit the damage. Scope the corpus, close output channels, harden identity, and test your detections with canaries.
Start with a baseline. Run a Securetom scan on the applications and endpoints around your deployment, then work through the checklist above with your Workspace and IAM administrators. For a wider view of how agents fail in production, see the AI agent runtime security guide.
Check your AI endpoint against these findings
SecureTom runs a free quick scan on any AI endpoint in about a minute. No signup needed.




