Firewalls to Secure Dynamic LLM Agentic Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Abdelnabi, Sahar, Gomaa, Amr, Bagdasarian, Eugene, Kristensson, Per Ola, Shokri, Reza
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917300827848704
author Abdelnabi, Sahar
Gomaa, Amr
Bagdasarian, Eugene
Kristensson, Per Ola
Shokri, Reza
author_facet Abdelnabi, Sahar
Gomaa, Amr
Bagdasarian, Eugene
Kristensson, Per Ola
Shokri, Reza
contents The emergence of agent-to-agent communication protocols mirrors the early internet: powerful connectivity with minimal security infrastructure. When AI agents communicate on behalf of users, every message crosses a trust boundary where the user's personal data and the external agent's unconstrained language each present distinct risks. We address both through a dual-firewall architecture grounded in a unifying principle: each task defines a context, and both sides of the communication carry information far exceeding what that context requires. Our firewalls act as projections onto the task context, allowing only contextually appropriate content to cross each boundary. The Language Converter Firewall projects incoming messages onto a closed, domain-specific, structured protocol; an external agent's message is converted to validated fields while persuasive framing, urgency tactics, and embedded instructions are structurally eliminated through deterministic verification. This replaces the asymmetric challenge of resisting every possible manipulation with the structural guarantee that manipulation has no channel through which to arrive. The Data Abstraction Firewall projects outgoing information onto the granularity appropriate for the task, rather than applying binary disclose-or-redact filtering, as previous airgapping solutions did. Both firewalls operate in a trusted environment isolated from external input, applying domain-specific rules learned automatically from demonstrations. Across 864 attacks spanning three domains on the recent ConVerse benchmark, our architecture reduces privacy attack success rates (e.g., from 84% to 10% for GPT-5) and security attacks (from 60% to 3%), while maintaining or even improving task completion quality. Code is available at: https://github.com/amrgomaaelhady/Firewall-Agentic-Networks.
format Preprint
id arxiv_https___arxiv_org_abs_2502_01822
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Firewalls to Secure Dynamic LLM Agentic Networks
Abdelnabi, Sahar
Gomaa, Amr
Bagdasarian, Eugene
Kristensson, Per Ola
Shokri, Reza
Cryptography and Security
Computers and Society
The emergence of agent-to-agent communication protocols mirrors the early internet: powerful connectivity with minimal security infrastructure. When AI agents communicate on behalf of users, every message crosses a trust boundary where the user's personal data and the external agent's unconstrained language each present distinct risks. We address both through a dual-firewall architecture grounded in a unifying principle: each task defines a context, and both sides of the communication carry information far exceeding what that context requires. Our firewalls act as projections onto the task context, allowing only contextually appropriate content to cross each boundary. The Language Converter Firewall projects incoming messages onto a closed, domain-specific, structured protocol; an external agent's message is converted to validated fields while persuasive framing, urgency tactics, and embedded instructions are structurally eliminated through deterministic verification. This replaces the asymmetric challenge of resisting every possible manipulation with the structural guarantee that manipulation has no channel through which to arrive. The Data Abstraction Firewall projects outgoing information onto the granularity appropriate for the task, rather than applying binary disclose-or-redact filtering, as previous airgapping solutions did. Both firewalls operate in a trusted environment isolated from external input, applying domain-specific rules learned automatically from demonstrations. Across 864 attacks spanning three domains on the recent ConVerse benchmark, our architecture reduces privacy attack success rates (e.g., from 84% to 10% for GPT-5) and security attacks (from 60% to 3%), while maintaining or even improving task completion quality. Code is available at: https://github.com/amrgomaaelhady/Firewall-Agentic-Networks.
title Firewalls to Secure Dynamic LLM Agentic Networks
topic Cryptography and Security
Computers and Society
url https://arxiv.org/abs/2502.01822