TL;DR: A simple Google Calendar invite containing indirect prompt injection could hijack Gemini for Workspace agents to spam users, delete calendar events, geolocate victims, stream video, and trigger physical actions, according to SafeBreach. The finding shows that LLM-powered assistants can turn everyday collaboration data into an execution path, making prompt and tool governance a core security requirement, with 73% of identified Promptware threats rated high-critical.
At a glance
What this is: SafeBreach’s research shows that a poisoned Google Calendar invite can turn Gemini for Workspace into a control channel for spam, data theft, device actions, and other malicious outcomes.
Why it matters: It matters because AI assistants that can read calendars, emails, and connected apps inherit trust from those systems, so identity, authorization, and tool governance become security boundaries.
Context
Promptware is a class of attack where malicious instructions are hidden inside content that an LLM or agent reads at inference time. In this case, the security gap is not model failure alone but the combination of trusted collaboration data, agentic tool access, and weak boundary checks between what the assistant reads and what it is allowed to do.
For IAM and NHI practitioners, the relevant issue is delegated authority. Once an assistant can invoke tools across email, calendar, mobile, and connected home services, the prompt becomes a control input and the tool becomes an execution path. That makes authorization, confirmation, and context isolation central to AI governance.
Key questions
Q: What breaks when an AI assistant can act on instructions hidden in calendar content?
A: The trust boundary breaks first. If the assistant cannot reliably separate user intent from attacker-authored instructions inside retrieved content, then calendar data becomes a control input, not just a record. That can let a malicious invite steer tool use, output, and downstream actions under the victim’s authority.
Q: Why do connected AI agents increase the impact of prompt injection?
A: Connected agents expand one poisoned prompt into a broader execution graph. A single malicious instruction can influence planning, trigger tool use, and cascade into email, messaging, device control, or other services. The risk grows when the assistant can move from one application boundary to another without fresh policy checks.
Q: What are the signs that an AI coding assistant is misusing tool permissions?
A: Watch for unexpected tool chains, especially when a single assistant task touches file search, secret discovery, and outbound rendering or command execution. Another warning sign is when apparently harmless repository content changes the assistant’s behaviour in ways the user did not request. That often means instruction hierarchy or tool gating is not holding.
Q: Should organisations require user confirmation for every sensitive AI action?
A: Yes, for actions that create external effects or expose data. Confirmation should be mandatory before sending messages, deleting records, accessing private data, or controlling connected devices. The goal is not to slow every interaction, but to stop silent escalation when the assistant is steering from retrieved content rather than explicit intent.
Technical breakdown
How indirect prompt injection turns calendar content into control input
Indirect prompt injection happens when an attacker places malicious instructions inside data the model later retrieves or processes, such as a calendar invite, document, or message thread. The user does not type the attack prompt directly. Instead, the assistant reads poisoned content during inference and treats it as part of the working context. In a RAG or agentic setup, that context can influence planning, tool selection, and output generation. The core weakness is that the model cannot always distinguish trusted task data from attacker-authored instructions when both are presented in the same session context.
Practical implication: Treat retrieved content as untrusted input and separate task data from instructions before an agent can act on it.
Why agent chaining expands promptware impact
The research shows that once a prompt can influence one agent, the effect may cascade into other tools or services that the assistant can invoke. That is more dangerous than a bad response text because it turns language manipulation into operational action. If an assistant can read a calendar, then call email, home automation, video, or mobile functions with the same authority, the attack surface is no longer only the model output. It becomes a delegated execution graph where one compromised context can steer multiple downstream capabilities.
Practical implication: Restrict cross-tool delegation so one compromised agent context cannot automatically reach unrelated services.
How tool permissions and memory create a wider trust boundary
Gemini’s architecture, as described in the article, includes short-term session context, long-term remembered data, and integrated agents with access to Workspace resources. That means the assistant’s decision boundary spans both memory and permissions. If malicious prompt content can influence what the orchestrator remembers, repeats, or executes, then the threat is not just malicious text generation. It is unauthorized use of trusted permissions. In practical terms, the trust boundary must sit around each tool call, not around the chat experience as a whole.
Practical implication: Apply per-action authorization and confirmation controls around every sensitive tool invocation.
Threat narrative
Attacker objective: The attacker aims to convert a trusted assistant into an execution layer that can steal information, manipulate services, and trigger physical or digital actions on the victim’s behalf.
- Entry occurs when an attacker sends a victim a Google Calendar invite containing indirect prompt injection hidden in the event content.
- Credential and context abuse follow when Gemini reads the invite and incorporates the attacker’s instructions into its working context and tool-planning flow.
- Escalation and lateral movement happen when the poisoned context drives Gemini to invoke connected agents and services beyond the original calendar interaction.
- Impact includes spam, phishing, event deletion, device control, geolocation, video streaming, and email exfiltration under the victim’s trusted assistant context.
Breaches seen in the wild
- Gemini CLI prompt injection flaw 2025: Tracebit showed a poisoned README could make Gemini CLI run hidden commands and exfiltrate developer secrets; Google fixed it in 0.1.14.
- Gemini AI Breach — Google Calendar Prompt Injection: Gemini AI assistant prompt injection attack leaks sensitive Google Calendar data.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Promptware is now an identity and authorisation problem, not just an AI safety problem. The article shows that a trusted assistant can inherit authority from calendar, email, mobile, and home services, then act on attacker-controlled instructions hidden in ordinary content. That is a delegated access failure, not merely a bad prompt response. The control question is who or what is allowed to issue actions through the assistant, and under what confirmation boundary.
Delegated execution is the new blast radius. Once the assistant can chain from one app into many, the meaningful security unit is no longer the model session but the scope of tool authority attached to that session. This creates a prompt-to-action bridge that can cross application and physical domains. Practitioners should treat every tool edge as a policy decision point, not a convenience feature.
Context poisoning creates a governance gap in agent memory and retrieval. The attack works because the assistant does not cleanly separate user intent, retrieved data, and attacker-authored instructions. That means memory, retrieval, and tool invocation need distinct governance rules. For AI security programmes, this is the same class of problem as privilege creep, but expressed through model context rather than accounts.
Promptware should be assessed with threat analysis and risk ranking, not intuition. SafeBreach’s own framing around a TARA-style assessment is directionally right for this class of issue because these attacks are situational and workflow-dependent. Security teams need a repeatable way to score when an assistant can be steered into sensitive actions, especially where connected services and physical outcomes are involved. The right response is structured AI governance with explicit action boundaries.
What this signals
Assistant-mediated workflows now need policy at the action layer. The lesson is not that every LLM is dangerous, but that any assistant with tool reach becomes part of the access control surface. Security teams should move governance closer to the moment of execution, where the system knows which tool is being invoked, what data triggered it, and whether the action is still within scope.
Promptware pushes AI governance toward zero-standing trust for tools. If an assistant can be influenced by retrieved content, then persistent authority across sessions becomes harder to justify. Practitioners should expect more demand for per-action approvals, tighter context isolation, and better auditability across assistant workflows, especially where personal data or physical-world actions are involved.
For practitioners
- Constrain assistant tool authority by use case Limit each AI assistant to the smallest set of tools needed for the task, and remove broad cross-application reach from general-purpose sessions.
- Separate retrieved content from executable instructions Treat calendar invites, messages, documents, and other retrieved objects as untrusted data unless they pass instruction sanitisation and policy checks.
- Require step-up confirmation for sensitive actions Force explicit user confirmation before the assistant can send messages, delete events, access email, or control connected devices.
- Review agent memory and prompt persistence controls Check whether long-term memory, saved info, and persistent context can be poisoned or reused across sessions in ways that survive the original interaction.
- Test agent chaining and cross-app escalation paths Simulate whether one poisoned interaction can drive actions across calendar, mail, mobile, and home automation services without additional trust checks.
Key takeaways
- Promptware can turn ordinary collaboration content into an execution path when an assistant lacks a reliable boundary between retrieved data and instructions.
- The blast radius grows when one agent can chain into multiple tools or services without fresh policy checks at each step.
- The most effective control point is not just prompt filtering, but per-action governance over tool use, memory, and cross-application delegation.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI01 — Agent Goal Hijack | The attack steers the agent away from user intent through hidden instructions in calendar content. |
| ASI02 — Tool Misuse | The article shows malicious prompts driving calendar, email, and device actions through agent tools. | |
| ASI03 — Identity & Privilege Abuse | The assistant abuses delegated authority attached to the victim’s connected apps and services. | |
| Recommendation — Harden agent goal handling so retrieved content cannot override the user’s original objective. Constrain tool permissions so one manipulated prompt cannot trigger unsafe actions across services. Scope agent privileges tightly and require explicit policy checks before sensitive delegated actions. | ||
| OWASP Non-Human Identity Top 10 | NHI-10 — Human Use of NHI | The assistant acts on behalf of the human user, so human intent and machine execution are being conflated. |
| Recommendation — Separate human intent from machine execution paths and block silent action reuse across sessions. | ||
| NIST AI RMF | GOVERN — AI Governance and Accountability | The article is fundamentally about governance of agent behaviour, tool reach, and accountability. |
| Recommendation — Define governance boundaries for AI actions, approvals, and audit ownership before deployment. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The core issue is excessive or poorly bounded access for assistant-invoked actions. |
| Recommendation — Review entitlements so assistant actions are authorized only within tightly defined scopes. | ||
Key terms
- Promptware: Promptware is malicious content designed to make an AI system carry out harmful actions through instructions instead of code. In practice, it abuses the model's obedience to context, policy text, or local project prompts to redirect legitimate tools toward theft, exfiltration, or unauthorized changes.
- Indirect Prompt Injection: Indirect prompt injection is an attack where malicious instructions are hidden inside content that an AI system reads later. The model may treat that content as context rather than as hostile input, which can influence tool use, data access, or workflow actions if controls are weak.
- Agent Chaining: Agent chaining is the propagation of a model-driven action from one tool or agent to another within the same workflow. It becomes dangerous when one compromised instruction can cause a cascade of unrelated actions across apps, services, or devices without fresh approval.
- Tool Governance: Tool governance is the control of the APIs, service accounts, connectors, and permissions an agent uses to reach other systems. It focuses on the delegated paths that convert agent intent into action, because those paths often hold the real security risk and the broadest privilege exposure.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and identity lifecycle concepts that help teams control delegated access paths. It is a practical fit for practitioners who need to govern identity boundaries across human, machine, and agentic systems.
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org