Penetration Testing of Agentic AI: A Comparative Security Analysis Across Models and Frameworks
Viet K. Nguyen, Mohammad I. Husain

TL;DR
This paper systematically evaluates the security vulnerabilities of agentic AI models across different frameworks and attack types, revealing significant disparities and novel attack strategies, and offers recommendations for safer deployment.
Contribution
First comprehensive comparative security analysis of agentic AI systems across multiple models and frameworks, identifying vulnerabilities and proposing security improvements.
Findings
AutoGen has higher refusal rate than CrewAI
Nova Pro model shows better security resilience
Grok 2 on CrewAI is most vulnerable with only 15.4% refusal rate
Abstract
Agentic AI introduces security vulnerabilities that traditional LLM safeguards fail to address. Although recent work by Unit 42 at Palo Alto Networks demonstrated that ChatGPT-4o successfully executes attacks as an agent that it refuses in chat mode, there is no comparative analysis in multiple models and frameworks. We conducted the first systematic penetration testing and comparative evaluation of agentic AI systems, testing five prominent models (Claude 3.5 Sonnet, Gemini 2.5 Flash, GPT-4o, Grok 2, and Nova Pro) across two agentic AI frameworks (AutoGen and CrewAI) using a seven-agent architecture that mimics the functionality of a university information management system and 13 distinct attack scenarios that span prompt injection, Server Side Request Forgery (SSRF), SQL injection, and tool misuse. Our 130 total test cases reveal significant security disparities: AutoGen demonstrates…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Adversarial Robustness in Machine Learning · Information and Cyber Security
