paper-with-me

홈 › Papers

From Prompt Injection to Persistent Control: Defending Agentic Harness Against Trojan Backdoors

2026-05-29 · Jiejun Tan, Zhicheng Dou, Xinyu Yang, Yuyang Hu, Yiruo Cheng, Xiaoxi Li, Ji-Rong Wen arxiv

LLM agents are evolving from conversational chatbots to operational tools in real-world workspaces. In local agentic harnesses, an LLM can read and write files, call tools, and reuse workspace state across sessions. While such capabilities enhance utility, they also expose a new attack surface for attackers. Attackers can embed a prompt injection within a file or tool output. Agents may read this hidden instruction, store it, and execute it later. In this multi-step trojan attack paradigm, no individual step appears malicious on its own, but these steps can collectively turn untrusted text into persistent control content. However, existing defenses often inspect each step in isolation. As a result, they can block a clear harmful action, but fail to detect the earlier write operation that plants the backdoor. To reveal this threat, we introduce ClawTrojan, a benchmark designed to identify multi-step trojan attacks in local agentic harnesses. In an OpenClaw-style simulated workspace with GPT-5.4, ClawTrojan reaches a 95.5% attack success rate (ASR), while existing single-turn prompt-injection attacks produce near-zero ASR on the same model. To address this threat, we propose DASGuard, which scans control-like text in sensitive local files, traces its origin, and removes control content that does not originate from a trusted source. Our results show that DASGuard achieves strong dynamic defense by combining runtime attack blocking with sanitized commits to the workspace.

📄 PDF Abstract BibTeX arXiv:2605.31042

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Investigating Detection and Obfuscation of Prompt Injection Attacks Against Software Reverse Engineering AI Agents

2026-05-29 · Brian Crawford, Patrick McClure arxiv

Agentic software reverse engineering systems are vulnerable to prompt injection attacks placed into the source code of executable binary files. This research demonstrates defensive tactics for detecting the presences of …

Bad Memory: Evaluating Prompt Injection Risks from Memory in Agentic Systems

2026-07-16 · Soham Gadgil, David Alexander, Sai Sunku, Franziska Roesner arxiv

A growing class of agentic systems maintain persistent state across sessions through memory files, behavioral preferences, and knowledge bases. While this makes agents more useful and self-improving, it also creates a ne…

Logic layer Prompt Control Injection (LPCI): A Novel Security Vulnerability Class in Agentic Systems

2025-07-14 · Hammad Atta, Ken Huang, Manish Bhatt, Kamal Ahmed 외 arxiv

The integration of large language models (LLMs) into enterprise systems has introduced a new class of covert security vulnerabilities, particularly within logic execution layers and persistent memory contexts. This paper…

What If Prompt Injection Never Left? Exploring Cross-Session Stored Prompt Injection in Agentic Systems

2026-06-03 · Yuanbo Xie, Tianyun Liu, Yingjie Zhang, Suchen Liu 외 arxiv

Modern agentic systems transform LLMs from session-bounded assistants into stateful systems that persist and evolve shared world state across sessions through memories, filesystems, tools, and other long-lived contextual…

IH-Challenge: A Training Dataset to Improve Instruction Hierarchy on Frontier LLMs

2026-03-11 · Chuan Guo, Juan Felipe Ceron Uribe, Sicheng Zhu, Christopher A. Choquette-Choo 외 arxiv

Instruction hierarchy (IH) defines how LLMs prioritize system, developer, user, and tool instructions under conflict, providing a concrete, trust-ordered policy for resolving instruction conflicts. IH is key to defending…

Reinforcement Learning