Metraipolis › archive › dc_90b435c5a37c

SafeAgent: Dual-Objective Optimization Against Prompt and Tool Injection in Interactive Environments (2026) · DOI 10.20944/preprints202609.1881.v1

Source
Metraipolis archive
Original
https://doi.org/10.20944/preprints202609.1881.v1
License (as archived)
CC-BY-4.0
Archived
2026-10-17T20:02:20.500Z
SHA-256 of the archived text
83464ea733b799f3dc32f89477c416891f3abdd82d81368fabdfd01f0f2cd71c
Stable URL of this page
https://metraipolis.com/documento/dc_90b435c5a37c

How to cite

SafeAgent: Dual-Objective Optimization Against Prompt and Tool Injection in Interactive Environments (2026) · DOI 10.20944/preprints202609.1881.v1 — Metraipolis archive, https://doi.org/10.20944/preprints202609.1881.v1 (CC-BY-4.0); archived copy: https://metraipolis.com/documento/dc_90b435c5a37c (Metraipolis archive dc_90b435c5a37c, sha256 83464ea733b799f3dc32f89477c416891f3abdd82d81368fabdfd01f0f2cd71c)
BibTeX
@misc{dc90b435c5a37c,
  title = {SafeAgent: Dual-Objective Optimization Against Prompt and Tool Injection in Interactive Environments (2026) · DOI 10.20944/preprints202609.1881.v1},
  howpublished = {Metraipolis archive},
  url = {https://doi.org/10.20944/preprints202609.1881.v1},
  note = {License CC-BY-4.0; archived copy https://metraipolis.com/documento/dc_90b435c5a37c; sha256 83464ea733b799f3dc32f89477c416891f3abdd82d81368fabdfd01f0f2cd71c},
  year = {2026}
}

Archived text

Reproduced under CC-BY-4.0. Attribution: Metraipolis archive, https://doi.org/10.20944/preprints202609.1881.v1. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Articolo recente con licenza aperta: scheda dai metadati Crossref (posted-content).
Titolo: SafeAgent: Dual-Objective Optimization Against Prompt and Tool Injection in Interactive Environments
Autori: Haoyang Lu, Shiyu Lu, Penny Chen, Lei Mao, Lize Chen
Pubblicato: 2026-09-22 · editore: MDPI AG
DOI: https://doi.org/10.20944/preprints202609.1881.v1
Licenza dell'articolo: CC-BY-4.0

Abstract (testo degli autori, CC-BY-4.0):
Large Language Model (LLM) agents that interact with external tools, web content, and code repositories face significant security risks from prompt injection and tool manipulation attacks. However, overly restrictive security measures often render agents ineffective, creating a fundamental tension between safety and utility. We propose SafeAgent, a dual-objective optimization framework that simultaneously quantifies and balances these competing goals. Our approach introduces three complementary defense mechanisms: a context firewall that separates external data from executable instructions, a tool-call sandbox enforcing least-privilege access control, and a safety-aware planning module integrated into the ReAct reasoning loop. We construct a comprehensive attack benchmark encompassing web retrieval injections, malicious tool responses, and repository README attacks. Experimental evaluation on the AgentDojo benchmark demonstrates that our full defense configuration reduces attack success rate (ASR) from 67.2% to 13.4% (a reduction of 53.8 percentage points, corresponding to approximately 80% relative reduction) while maintaining 68.9% task utility. SafeAgent achieves Pareto-optimal performance among tested configurations compared to baseline approaches. Our framework provides measurable, reproducible metrics for evaluating the safety-utility tradeoff in agentic AI systems.

Fonte: https://api.crossref.org/works/10.20944%2Fpreprints202609.1881.v1 — metadati Crossref, consultati il 2026-10-17. Interrogazione: «prompt injection attacks».