atlas

Research map / Multi-agent systems and games / LLM agents

Attractive Metadata Attack: Inducing LLM Agents to Invoke Malicious Tools

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: Agent safety and attack benchmarks · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Attractive Metadata Attack (AMA), a black-box in-context optimization that crafts attractive but valid tool metadata so LLM agents preferentially invoke a malicious tool, evaluated on ten simulated scenarios across four LLM agents.

Problem

LLM agents choose tools based on metadata (names, descriptions, parameter schemas), which opens a stealthy attack surface where malicious tools get selected without prompt injection or access to model internals.

Approach

Treats malicious tool metadata generation as a state-action-value optimization solved via LLM in-context learning, using generation traceability, weighted value evaluation (absolute invocation probability plus relative improvement over parent), and batch generation with top-K state updates.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AMA-optimized tool metadata instead of Prompt Attack metadataLLM agents · Targeted tool-use scenariosASR: 83.60 -> 95.58Helped
Use AMA-optimized tool metadata instead of Injection AttackLLaMA3.3-70B · Targeted tool-use scenariosASR: 75.80 -> 94.80Helped
Use AMA-optimized tool metadata instead of Injection AttackGPT-4o-mini · Targeted tool-use scenariosASR: 89.00 -> 81.43Hurt
Combine AMA with Injection AttackGemma3-27B · Targeted tool-use scenariosASR: 95.58 -> 95.33Hurt
Combine AMA with Injection AttackLLM agents · Untargeted tool-use scenariosASR: 83.10 -> 99.20Helped
Add Prompt Refuge defenseAMA · Gemma3-27B targetedASR: 95.58 -> 89.00Hurt
Add Dynamic Prompt Rewriting defenseAMA · Gemma3-27B targetedASR: 95.58 -> 90.50Hurt
Transfer optimized metadata across tools within the same domainAMA · Gemma3-27B cross-tool transferASR: 33.33 -> 90.83Helped
Transfer optimized metadata to a different domainAMA · GPT-4o-mini cross-tool transferASR: 65.71 -> 2.86Hurt
Vary declared tool parameter count from 0 to 10 (ablation)AMA · Tool-use scenariosASRNo clear effect
Set weighting coefficient λ to 0.5 instead of λ = 0 (ablation)AMA optimization · Malicious tool generationSelection probabilityHelped

Surprising findings

Limitations

Experimental setup

Datasets: ASB ToolBench AI4Privacy

Benchmarks: ASB AgentBench

Metrics: Task Completion Attack Success Rate Parameter Response Privacy Leakage TPR FPR

Baselines: Injection Attack Prompt Attack Dynamic Prompt Rewriting Prompt Refuge

Builds on: ReAct ToolBench AgentBench ASB

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy