pith:XFUQC4S5
Prompt Injection Attack to Tool Selection in LLM Agents
ToolHijacker injects optimized malicious tool documents to force LLM agents to select attacker-chosen tools.
arxiv:2504.19793 v3 · 2025-04-28 · cs.CR
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{XFUQC4S5LY3RKMXHWPBCZ56YKV}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
ToolHijacker is highly effective, significantly outperforming existing manual-based and automated prompt injection attacks when applied to tool selection.
The attacker can successfully inject a malicious tool document into the agent's tool library, and the LLM's retrieval-plus-selection process remains vulnerable to prompt injection through that document in no-box scenarios.
ToolHijacker optimizes malicious tool documents via a two-phase strategy to hijack LLM agents' tool selection in no-box settings.
References
Formal links
Cited by
Receipt and verification
| First computed | 2026-05-17T23:38:47.172959Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
b96901725d5e371532e7b3c22cf7d8554323f3b645c668e74656b6870c1d1ef3
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/XFUQC4S5LY3RKMXHWPBCZ56YKV \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: b96901725d5e371532e7b3c22cf7d8554323f3b645c668e74656b6870c1d1ef3
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "0684b0018f8a4ccc3173dcc6c48a06d7041ac42096f90559f60f6c38b93d7c3e",
"cross_cats_sorted": [],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.CR",
"submitted_at": "2025-04-28T13:36:43Z",
"title_canon_sha256": "6ca23ef6e0dbc0b583009bdb339b7972c0c31fedcf7570f20c13530b042639bf"
},
"schema_version": "1.0",
"source": {
"id": "2504.19793",
"kind": "arxiv",
"version": 3
}
}