Know Your Agent: Reconnaissance-Driven Pentesting of AI Agents
Abstract
Traditional pentesting uses reconnaissance at each step to uncover unseen weaknesses, build stronger attacks, and advance the objective; we argue that AI agents require the same treatment. We formalize agent reconnaissance by modeling the process and identifying the knowledge assets it seeks to extract: what they are, how they are used, and which agent weaknesses they exploit to give adversaries leverage in indirect prompt injection attacks. We instantiate these insights in Know Your Agent (KYA), a framework that automates black-box, reconnaissance-driven pentesting by probing agents, building target profiles, and using those profiles to craft stronger attacks. We evaluate KYA on agent-security benchmarks and a real-world coding agent, and release KYA, its benchmarks, and baseline implementations for reproducibility.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CR, cs.LG
- Comments
- Accepted to 2026 IEEE Annual Computer Security Applications Conference (ACSAC)
Related papers
Agentic Waterfall: An Intent-Driven Information Discovery Framework for Reclaiming User Control in the Attention Economy
Shared title terminologycs.AIYige Luo, Shining Zhang, Jikun Liu et al.
Multi-Agent System-driven Digital Twins for predictive maintenance: architectures, technologies and open research challenges
Shared title terminologycs.AIKorota Arsène Coulibaly, Mohamed Hamlich
Agentic AI for Bilevel Long-Term Optimization of Policy-Driven Physical Layer Systems
Shared title terminologycs.AIBingnan Xiao, Chenhao Yang, Wei Ni et al.
SR-Agent: An Experience-Driven Agentic Framework for Post-Ranking Strategy Refinement in E-Commerce Recommendation
Shared title terminologycs.AIHanchen Yang, Kaiwen Yang, Junpeng Zhuang et al.
A Failure-Driven Data Flywheel for Post-Training Vision-Language-Action Models
Shared title terminologycs.AIYuhao Luo, Zihao Sheng, Zilin Huang et al.
REE: A Scientific Research Entrance Exam for AI Agents
Shared title terminologycs.AIZeqi Zhou, Minghao Liu, Jiarui Liu et al.