Source Weigh

Google Researchers Tackle Security Risks of Agentic AI with Contextual Defenses

translateen

Google's Systems Research group is confronting the unique security vulnerabilities introduced by AI agents — autonomous systems that can act on users' behalf across applications and data stores.

In a forthcoming technical talk, researcher Lily Tsai will detail how prompt injection attacks allow adversaries to hijack agent behavior with minimal effort, effectively creating a new form of remote code execution.

The work, developed jointly with Google's cross-team Contextual Agent Privacy and Security (CAPS) initiative, argues that traditional sandboxing is insufficient and proposes contextual, deterministic defenses tailored to the way agents process natural language instructions.

The Rise of Agentic AI and Its Security Blind Spots

AI agents represent a fundamental shift from passive models that merely generate text to active systems that execute code, query databases, and control workflows. Unlike traditional software, which follows explicit, deterministic logic, agents interpret natural language prompts and translate them into sequences of actions.

This flexibility is powerful — but it also means the boundary between data and instruction is porous. An agent reading an email, summarizing a document, or browsing a website may inadvertently treat malicious content embedded in those sources as legitimate commands.

In simple terms: Imagine a personal assistant that reads your emails and automatically schedules meetings based on what it finds.

Prompt Injection

The core vulnerability Tsai highlights is prompt injection — both direct, where an adversary feeds malicious instructions to the agent, and indirect, where the agent encounters injected commands while processing external data such as web pages, documents, or messages.

Because agents operate with broad permissions to access user data and system tools, a successful injection can exfiltrate sensitive information, modify files, or trigger unauthorized transactions. The attack surface is vast: any untrusted input that enters the agent's context window becomes a potential vector.

In simple terms: Prompt injection is like slipping a forged note into a stack of legitimate documents on a clerk's desk. The clerk (the AI agent) reads the forged note alongside the real ones and follows its instructions because it looks like just another task. The difference is that the clerk has access to your bank account, email, and file system.

Why Traditional Defenses Fall Short

Conventional system security relies on clear boundaries: sandboxing isolates untrusted code, access control lists restrict permissions, and input validation filters known-bad patterns. But agents blur these lines. Their "code" is natural language, which is inherently ambiguous and context-dependent. Sandboxing an agent often means restricting the very tools it needs to be useful.

Static analysis cannot reliably detect malicious intent in free-form text. And the principle of least privilege — granting only necessary permissions — conflicts with the open-ended nature of agent tasks, which may require dynamic access to diverse resources.

In simple terms: Traditional security is like a building with keycard doors — each person gets access only to specific rooms. An AI agent is more like a master key holder who needs to go wherever the job requires. You can't just lock doors; you need a way to verify that each request the agent makes is genuinely authorized, not tricked.

Contextual Security

Tsai's research explores "contextual yet deterministic defenses" — mechanisms that evaluate agent actions within the full context of the user's intent, the data sources involved, and the system state, while providing provable guarantees rather than probabilistic filtering.

This includes techniques for tracking data provenance through the agent's reasoning chain, enforcing policies that distinguish user-supplied instructions from external content, and applying formal methods to verify that safety properties hold under defined threat models.

The goal is not to prevent all injections — which may be impossible given the expressiveness of natural language — but to ensure that injected commands cannot cause harm even if they reach the model.

Collaborative Effort Across Google Research

The work emerges from two coordinated efforts: the Systems Research Group's (SRG) systems security and privacy expedition, which focuses on foundational infrastructure for data protection, and the cross-functional CAPS team, which addresses privacy and security specifically for agentic systems.

Tsai, who joined SRG after completing her PhD at MIT under Frans Kaashoek and Malte Schwarzkopf, brings expertise in web application security, formal methods, and scalable systems. Her background in multicore performance and data protection informs an approach that treats agent security as a systems problem — not just a model alignment challenge.

As AI agents move from research prototypes to deployed products — powering coding assistants, enterprise automation, and consumer productivity tools — the urgency of these defenses grows. The talk signals that major technology platforms recognize agent security as a distinct discipline requiring new primitives, not merely patches to existing frameworks.

For the broader field, it sets a research agenda: how to preserve the flexibility that makes agents valuable while establishing the deterministic guarantees that security demands.

Was this clear?

check_circleVerified by Official Documents

library_booksSource

public

MIT Computer Science and Artificial Intelligence Laboratory (CSAIL)

8 Jun 2026

Read sourceopen_in_new
funding model
non-profit research (private research university; endowment, grants and contracts)
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
owner
Massachusetts Institute of Technology (MIT)

Was the source link correct?

topicRelated Articles