AegisAgent: An Autonomous Defense Agent Against Prompt Injection Attacks in LLM-HARs
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
The integration of Large Language Models (LLMs) into wearable sensing is creating a new class of mobile applications capable of nuanced human activity understanding. However, the reliability of these systems is critically undermined by their vulnerability to prompt injection attacks, where attackers deliberately input deceptive instructions into LLMs. Traditional defenses, based on static filters and rigid rules, are insufficient to address the semantic complexity of these new attacks. We argue that a paradigm shift is needed -- from passive filtering to active protection and autonomous reasoning. We introduce AegisAgent, an autonomous agent system designed to ensure the security of LLM-driven HAR systems. Instead of merely blocking threats, AegisAgent functions as a cognitive guardian. It autonomously perceives potential semantic inconsistencies, reasons about the user's true intent by consulting a dynamic memory of past interactions, and acts by generating and executing a multi-step verification and repair plan. We implement AegisAgent as a lightweight, full-stack prototype and conduct a systematic evaluation on 15 common attacks with five state-of-the-art LLM-based HAR systems on three public datasets. Results show it reduces attack success rate by 30% on average while incurring only 78.6 ms of latency overhead on a GPU workstation. Our work makes the first step towards building secure and trustworthy LLM-driven HAR systems.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 18 of its 50 references that are in the map. First posted on arXiv 24 Dec 2025.
Builds on
18 of 50 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
6 more
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2023MotionGPT: Human Motion as a Foreign Languagecited by 527
- 2023GPTScore: Evaluate as You Desirecited by 361
- 2016Towards the Science of Security and Privacy in Machine Learningcited by 89
- 2017DolphinAtack: Inaudible Voice Commandscited by 69
- 2024IMUGPT 2.0: Language-Based Cross Modality Transfer for Sensor-Based Human Activity Recognitioncited by 22
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives
- 2025AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Security
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
- 2025Defend LLMs Through Self-Consciousness
- 2025Design Patterns for Securing LLM Agents against Prompt Injections
- 2026PocketAgents: A Manifest-Driven Library of Autonomous Defense Agents
- 2025Trust in LLM-controlled Robotics: a Survey of Security Threats, Defenses and Challenges