Metraipolis › archive › dc_2048a3135792
What Guides the Agent? Adjudicating Unauthorized Behavior via Localizing Behavior-Guiding Instructions — arXiv:2608.24022
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.24022
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T06:30:41.900Z
- SHA-256 of the archived text
65e0679ec1675bbfb859df0f60ab87132683cf890d82fc1db72831a95dba7eff- Stable URL of this page
https://metraipolis.com/documento/dc_2048a3135792
How to cite
What Guides the Agent? Adjudicating Unauthorized Behavior via Localizing Behavior-Guiding Instructions — arXiv:2608.24022 — arXiv (en), https://arxiv.org/abs/2608.24022 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2048a3135792 (Metraipolis archive dc_2048a3135792, sha256 65e0679ec1675bbfb859df0f60ab87132683cf890d82fc1db72831a95dba7eff)
BibTeX
@misc{dc2048a3135792,
title = {What Guides the Agent? Adjudicating Unauthorized Behavior via Localizing Behavior-Guiding Instructions — arXiv:2608.24022},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.24022},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2048a3135792; sha256 65e0679ec1675bbfb859df0f60ab87132683cf890d82fc1db72831a95dba7eff},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.24022. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
LLM agents integrated with external resources gain complex task capabilities, yet the unified natural-language context channel makes them vulnerable to injection attacks: untrusted external data may be dynamically parsed as behavior-guiding instructions during LLM inference, thereby subverting the agent's decision. Existing defenses focus on static detection or isolation of malicious content at the input/output level, remains insufficient for detecting such dynamic inducements that arise during model reasoning. We propose Attnlocate, a runtime framework for fine-grained localization of context spans that genuinely influence tool-calling decisions, i.e., behavior-guiding instructions. Attnlocate casts this localization problem as an object detection task, aiming to detect the distinctive activation traces induced by behavior-guiding instructions within the attention matrix. Specifically, we design a multi-head, multi-layer attention aggregation scheme to construct a token-level feature space tailored for object detection. Then, a 1-D U-Net equipped with an anchor-free detection head is deployed to detect these spans. Finally, based on the authority of the provider from which the detected behavior-guiding spans originate, Attnlocate dynamically adjudicates malicious invocation attempts. We evaluate Attnlocate across ten agent configurations from five LLM families, covering scenarios involving indirect prompt injection and tool poisoning. Attnlocate achieves a mean IoU of 0.743, an average AUROC of 0.956, and a 0.934 true-positive rate at 0.067 false-positive rate. It also transfers effectively across unseen models and supports authority policy adaptation without retraining. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-26 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.24022 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T06:27:46.679Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-26?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).