AirGapAgent: Protecting Privacy-Conscious Conversational Agents

Eugene Bagdasarian, Ren Yi, Sahra Ghalebikesabi, Peter Kairouz, Marco Gruteser +3 more
5/8/2024
cs.CRcs.CLcs.LG

No confident code implementation found for this paper.

Abstract

The growing use of large language model (LLM)-based conversational agents to manage sensitive user data raises significant privacy concerns. While these agents excel at understanding and acting on context, this capability can be exploited by malicious actors. We introduce a novel threat model where adversarial third-party apps manipulate the context of interaction to trick LLM-based agents into revealing private information not relevant to the task at hand. Grounded in the framework of contextual integrity, we introduce AirGapAgent, a privacy-conscious agent designed to prevent unintended data leakage by restricting the agent's access to only the data necessary for a specific task. Extensive experiments using Gemini, GPT, and Mistral models as agents validate our approach's effectiveness in mitigating this form of context hijacking while maintaining core agent functionality. For example, we show that a single-query context hijacking attack on a Gemini Ultra agent reduces its ability to protect user data from 94% to 45%, while an AirGapAgent achieves 97% protection, rendering the same attack ineffective.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bagdasarian2024airgapagent,
  title  = {AirGapAgent: Protecting Privacy-Conscious Conversational Agents},
  author = {Eugene Bagdasarian and Ren Yi and Sahra Ghalebikesabi and Peter Kairouz and Marco Gruteser and Sewoong Oh and Borja Balle and Daniel Ramage},
  year   = {2024},
  eprint = {2405.05175},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.05175v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.05175.svg)](https://codeofpaper.com/paper/2405.05175)

Discussion