AI Navigate

DynaTrust: Defending Multi-Agent Systems Against Sleeper Agents via Dynamic Trust Graphs

arXiv cs.AI / 3/18/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • DynaTrust introduces a dynamic trust graph (DTG) to model multi-agent systems as evolving trust networks rather than static attributes.
  • The method updates each agent's trust based on historical behavior and the confidence of selected expert agents, enabling adaptive responses to sleeper agents.
  • Instead of blocking, DynaTrust restructures the graph to isolate compromised agents while preserving task connectivity and system usability.
  • Evaluation on mixed benchmarks from AdvBench and HumanEval shows DynaTrust outperforms AgentShield, increasing defense success rate by 41.7% and achieving over 86% success under adversarial conditions.
  • The approach also reduces false positive rates, balancing security with ongoing operation through continuous graph adaptation.

Abstract

Large Language Model-based Multi-Agent Systems (MAS) have demonstrated remarkable collaborative reasoning capabilities but introduce new attack surfaces, such as the sleeper agent, which behave benignly during routine operation and gradually accumulate trust, only revealing malicious behaviors when specific conditions or triggers are met. Existing defense works primarily focus on static graph optimization or hierarchical data management, often failing to adapt to evolving adversarial strategies or suffering from high false-positive rates (FPR) due to rigid blocking policies. To address this, we propose DynaTrust, a novel defense method against sleeper agents. DynaTrust models MAS as a dynamic trust graph~(DTG), and treats trust as a continuous, evolving process rather than a static attribute. It dynamically updates the trust of each agent based on its historical behaviors and the confidence of selected expert agents. Instead of simply blocking, DynaTrust autonomously restructures the graph to isolate compromised agents and restore task connectivity to ensure the usability of MAS. To assess the effectiveness of DynaTrust, we evaluate it on mixed benchmarks derived from AdvBench and HumanEval. The results demonstrate that DynaTrust outperforms the state-of-the-art method AgentShield by increasing the defense success rate by 41.7%, achieving rates exceeding 86% under adversarial conditions. Furthermore, it effectively balances security with utility by significantly reducing FPR, ensuring uninterrupted system operations through graph adaptation.