|国家预印本平台
首页|Select Me! When You Need a Tool: A Black-box Text Attack on Tool Selection

Select Me! When You Need a Tool: A Black-box Text Attack on Tool Selection

Select Me! When You Need a Tool: A Black-box Text Attack on Tool Selection

来源:Arxiv_logoArxiv
英文摘要

Tool learning serves as a powerful auxiliary mechanism that extends the capabilities of large language models (LLMs), enabling them to tackle complex tasks requiring real-time relevance or high precision operations. Behind its powerful capabilities lie some potential security issues. However, previous work has primarily focused on how to make the output of the invoked tools incorrect or malicious, with little attention given to the manipulation of tool selection. To fill this gap, we introduce, for the first time, a black-box text-based attack that can significantly increase the probability of the target tool being selected in this paper. We propose a two-level text perturbation attack witha coarse-to-fine granularity, attacking the text at both the word level and the character level. We conduct comprehensive experiments that demonstrate the attacker only needs to make some perturbations to the tool's textual information to significantly increase the possibility of the target tool being selected and ranked higher among the candidate tools. Our research reveals the vulnerability of the tool selection process and paves the way for future research on protecting this process.

Liuji Chen、Hao Gao、Jinghao Zhang、Qiang Liu、Shu Wu、Liang Wang

计算技术、计算机技术

Liuji Chen,Hao Gao,Jinghao Zhang,Qiang Liu,Shu Wu,Liang Wang.Select Me! When You Need a Tool: A Black-box Text Attack on Tool Selection[EB/OL].(2025-04-07)[2025-04-29].https://arxiv.org/abs/2504.04809.点此复制

评论