ISM: Implicitly Manipulating LLM Agent Skill Selection via Semantic MatchingImplicit Manipulation for Skill Selection in LLM Agents with Semantic Matching
Translation in progress — untranslated text is omitted.
The researchers propose ISM (Implicit Skill-Selection Manipulation via Semantic Matching), an implicit attack on the skill selection stage of LLM agents: even if the user prompt and skill description are each harmless on their own, their semantic relationship can still be shaped to favor an attacker-chosen skill. The method simultaneously shapes the metadata of the target skill and reusable prompts, using a three-stage strategy to expand semantic coverage, strengthen the distinctiveness of the target skill, and maintain natural wording, without relying on explicit selection instructions. Across four task domains and eight selector models, ISM increased the average target selection rate (TSR) from 15.2% to 63.5%; in matched comparisons it reached 73.5%, only 9.8 percentage points below explicit steering. Human reviewers intercepted ISM in only 2.9% of judgments (91.4% for explicit steering), five LLM-based checkers passed it on average 82.9% of the time (37.4% for explicit steering), and ISM remained effective against PPL-W, Llama Prompt Guard 2, and PIGuard.
- Large-model agents typically rely on semantic matching to select skills, and existing explicit prompt injection easily exposes manipulation signals. How to manipulate skill selection through semantic matching without containing explicit selection instructions and evade review and defenses is a key security issue before agent execution.
- Proposes a dual-end manipulation method ISM, which collaboratively constructs target skill descriptions and reusable prompts in three stages: building task-related cues to expand semantic coverage, injecting customized technical hooks to enhance target distinctiveness, and using semantic bridges for constrained rewriting to achieve prompt naturalization.
- Across 8 selectors and 4 domains, ISM increased the average target selection rate from 15.2% for Native to 63.5%. Human review intercepted ISM at only 2.9%, far lower than the 91.4% for Explicit Steering; after Prompt Guard 2 and PIGuard defense, TSR remained at 47.8% and 46.9%.
- Structured rewriting is only a partial mitigation; false capability claims may still remain; experiments cover only the pre-execution skill selection stage, not the subsequent malicious behavior of the selected skill's backend; experiments cover 4 domains, 8 target skills, and 8 selector models.
The paper provides a method for manipulating skill selection that does not rely on explicit instructions, along with a comparison of pass rates for human and LLM review and rule-based guardrails, which can serve as a reference for teams working on agent tool selection protection.