Metraipolis › archive › dc_416945c8f042

A Blind Trust, the Bloody Thrust: When Attacker-Controlled Hook Updates Steer AI Agent Harnesses towards Malicious Behaviors — arXiv:2609.03884

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.03884
License (as archived)
CC0-1.0
Archived
2026-10-17T01:12:09.031Z
SHA-256 of the archived text
5d1608af8f64b578452b5ddcac4c9b8c2f2ba1a242197bbd1414e6b59e5a78c4
Stable URL of this page
https://metraipolis.com/documento/dc_416945c8f042

How to cite

A Blind Trust, the Bloody Thrust: When Attacker-Controlled Hook Updates Steer AI Agent Harnesses towards Malicious Behaviors — arXiv:2609.03884 — arXiv (en), https://arxiv.org/abs/2609.03884 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_416945c8f042 (Metraipolis archive dc_416945c8f042, sha256 5d1608af8f64b578452b5ddcac4c9b8c2f2ba1a242197bbd1414e6b59e5a78c4)
BibTeX
@misc{dc416945c8f042,
  title = {A Blind Trust, the Bloody Thrust: When Attacker-Controlled Hook Updates Steer AI Agent Harnesses towards Malicious Behaviors — arXiv:2609.03884},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.03884},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_416945c8f042; sha256 5d1608af8f64b578452b5ddcac4c9b8c2f2ba1a242197bbd1414e6b59e5a78c4},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.03884. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Modern AI agent harnesses expose lifecycle hooks that bind shell commands to runtime events such as session start, tool calls, and file edits. These commands run with host privileges yet ship as lifecycle-hook configuration and may fire at times the LLM never observes. We identify the lifecycle-hook update path, which harnesses trust blindly, as a new attack surface. Under a supply-chain threat model in which an attacker controls only plugin metadata and lifecycle-hook configuration, a benign versioned plugin can be trojanized by an update that silently binds attacker-chosen commands to benign events, yielding malicious host-side behavior such as privilege escalation. We propose HookPry, an open-source and fully automated attack framework that systematically exploits this vulnerability across heterogeneous AI agent harnesses. HookPry realizes ten attack objectives; across 25 combinations of harnesses and backends in 1,000 end-to-end runs, it compromises all seven evaluated harnesses, with per-harness success rates reaching 92.5%. Representative defenses remain insufficient: Microsoft Defender has 0% recall, and the union of three static defenses misses 47.5% of malicious artifacts.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-04 in cs.AI).
Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.03884 — 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-17T00:28:03.009Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-04?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).