Guardians of the Agentic System: Preventing Many Shot Jailbreaking with Agentic System
Saikat Barua, Md. Mostafizur Rahman, Rafiul Islam, Shehenaz Khaled, Md Jafor Sadek, Ahmedul Kabir · 2025 · 6 citationsRead the paper
Abstract The autonomous AI agents using large language models can create undeniable values in all span of the society but they face security threats from adversaries that warrants immediate protective solutions because trust and safety issues arise. Considering the many-shot jailbreaking and deceptive alignment as some of the main advanced attacks, that cannot be mitigated by the static guardrails used during the supervised training, points out a crucial research priority for real world robustness. The combination of static guardrails in dynamic multi-agent system fails to defend against those attacks. We intend to enhance security for LLM-based agents through the development of new evaluation frameworks which identify and counter threats for safe operational deployment. Our work uses three examination methods to detect rogue agents through a Reverse Turing Test and analyze deceptive alignment through multi-agent simulations and develops an anti-jailbreaking system by testing it with GEMINI 1.5 pro and llama-3.3-70B, deepseek r1 models using tool-mediated adversarial scenarios. The detection capabilities are strong such as 94\% accuracy for GEMINI 1.5 pro yet the system suffers persistent vulnerabilities when under long attacks as prompt length increases attack success rates (ASR) and diversity metrics become ineffective in prediction while revealing multiple complex system faults. The findings demonstrate the necessity of adopting flexible security systems based on active monitoring that can be performed by the agents themselves together with adaptable interventions by system admin as the current models can create vulnerabilities that can lead to the unreliable and vulnerable system. So, in our work, we try to address such situations and propose a comprehensive framework to counteract the security issues.
What the full text shows
Working prototype- The Reverse Turing Test achieved high accuracy in detecting rogue agents across multiple LLMs. — 87% to 94% accuracy (Across Gemma 2 27B, deepseek r1 7B, Qwen 2.5 7B, llama-3.3-70B, and GEMINI 1.5 pro)
- GEMINI 1.5 pro demonstrated the highest performance in the Reverse Turing Test. — 94% accuracy, 96.5% F1-score, 4% FPR (Reverse Turing Test evaluation)
- The anti-jailbreaking system is vulnerable to long-duration attacks. — Attack success rates (ASR) increase as prompt length increases (Many-shot jailbreaking (MSJ) attacks)
- The proposed security agent (GamoraAI) can be deceived by rogue actors. — '' (Simulated multi-agent environment with tool-mediated interactions)
- Setup
- Evaluated using GEMINI 1.5 pro, llama-3.3-70B-versatile, Gemma 2 27B, deepseek r1 7B, and Qwen 2.5 7B in simulated adversarial network environments.
- How
- The researchers developed a 'Reverse Turing Test' to evaluate an AI agent's ability to detect and neutralize rogue agents in a tool-mediated environment. They also implemented a multi-agent defense system (Groot AI) to monitor and mitigate many-shot jailbreaking attacks.
- Limitations
- Used only safety-aligned models rather than base models. · Simulations may not fully replicate real-world scenarios. · Did not explore all possible compromise paths for the agents.
Summarized by Gemma 4 from the open-access full text · 6 Nov 2026. Read it