Abstract
dc:description.abstractAI agents combine language models with a harness that manages memory, invokes tools, and coordinates interactions with external environments. These systems can execute complex, multistep tasks, but their ability to access private data, modify software, and act on a user's behalf also makes security failures consequential. For example, both indirectly introduced untrusted information and direct jailbreak prompts can enter an agent's context, alter its decisions, and induce unauthorized or destructive actions. Therefore, from an AI security research perspective, we pursue two complementary approaches to enhance the robustness of AI systems: (1) risk assessment through red-teaming and evaluation, and (2) the development of countermeasures, such as guardrails, informed by the assessment findings. This dissertation systematically connects these approaches, from attack discovery through risk assessment to guardrail design. To understand how these failures arise, Chapter 2 characterizes agent attack surfaces and develops individual attack algorithms. It starts by introducing typical agent execution flows and how different agent components, workflows, and use cases can introduce various attack vectors and risks under different threat models. Then we introduce AgentPoison, the first backdoor attack against generic retrieval-augmented LLM agents, which optimizes a backdoor trigger so that a trigger-bearing query retrieves poisoned demonstrations from memory or a knowledge base and induces an attacker-chosen action. Without retraining the underlying model, this mechanism can cause database deletion or unsafe driving actions while evading perplexity-based filtering. Furthermore, in Chapter 3, we extend individual algorithms to explore the broader attack surface more systematically by integrating risk definitions, attack vectors, and attack algorithms into automated red-teaming frameworks, which select strategies, execute attacks, and refine them iteratively with attack feedback. For example, we introduce DTap, whose red-teaming agent, DTap-Red, adaptively searches for successful attacks across injection strategies and locations using the victim's execution trajectory. In addition, ARMs extends adaptive search to multimodal models through plug-and-play cross-modal attack algorithms as well as sequential and orthogonal orchestration of attack strategies. These frameworks turn individual attack mechanisms into components of a continuing search for policy violations. However, red-teaming agents against real-world services is costly and difficult to scale for controlled training and evaluation, and can expose real assets to harmful actions. Thus, in Chapter 4, we develop environment simulation for evaluation and training through two complementary approaches. Model-based simulation uses learned models to represent environment transitions and feedback that are difficult to specify with fixed rules, such as stochastic user responses. DreamGym instantiates this approach with a reasoning experience model that learns from limited real-world trajectory data to predict multi-turn environment transitions, augmented by an experience replay buffer that retrieves relevant interactions to improve prediction consistency and factuality. On the other hand, program-based simulation, exemplified by DTap, mimics realistic environment logic and state in a reproducible software stack, supporting resettable tasks and deterministic verification of action outcomes, enabling sim-to-real attack transfer while capturing realistic behavior in long-tail error cases. These approaches make repeated rollouts available for controlled evaluation and training without executing attacks against real-world resources. With such scalable environments and effective attack algorithms, we advance to quantifying risks through benchmarks that compare AI systems under consistent protocols. Chapter 5 develops security and safety platforms, benchmarks, and evaluation methods, where we introduce four representative works: (1) DTap-Bench, introduced in DTap, evaluates AI agent robustness under both indirect prompt injection and direct misuse threat models; (2) MMDT evaluates multiple trustworthiness dimensions of state-of-the-art multimodal LLMs and diffusion models; (3) GuardSet-X systematically evaluates guardrail solutions under diverse safety and security policies; and (4) MJ-Bench provides the first benchmark for multimodal judges across dimensions such as safety and alignment. Together, these studies enable fair comparisons of models and agents through broad evaluation coverage, providing diagnostic signals for improving their robustness. Finally, the risks exposed by these evaluations motivate defenses at both the model and harness layers. Chapter 6 introduces systematic guardrails for AI agents and models and examines formal and statistical safety guarantees. We distinguish two complementary designs. Proactive guardrails target known attack patterns or failure modes, enabling effective and efficient mitigation within their intended scope, but may not cover new attacks that exploit different mechanisms. For example, HALC reduces object hallucinations in multimodal LLMs through adaptive focal-contrast decoding, with certifiable robustness under stated assumptions. Reactive guardrails, in contrast, assess whether content, proposed actions, or their anticipated consequences violate explicit policies. This assessment can require additional context and reasoning, but allows protection to ground on policies and deployment scenarios without relying on recognition of a particular attack. For example, SafeWatch provides the first policy-following video guardrail grounded in government regulations and company policies. In addition, ShieldAgent converts agent platform policies into an action-based network of safety rules and provides action-level guardrails for generic AI agents, with statistical safety guarantees under its modeling assumptions. Together, these methods connect risk discovery to controlled evaluation and policy-based protection.
Degree
thesis:*- Grantor dc:publisher
- The University of Chicago
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chen, Zhaorun
- Advisor dc:contributor.supervisor
-
- Li, Bo
- ORCID person:identifier.orcid
Subjects
dc:subject × 3Rights
dc:rights- Statement dc:rights
-
- Distribution License
- © 2026 Zhaorun Chen
Identifiers
dc:identifier.*- Datacite Relatedidentifier Type
-
DOI
URL - Dc Identifier Other
- oai:knowledge.uchicago.edu:4kmxk-k1261
- Mods Identifier Ror
-
https://ror.org/024mw5h28
https://ror.org/047426m28
https://ror.org/01an7q238