AgentLens tests security risks in LLM agents under realistic workflows

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

AgentLens is a framework for systematically auditing LLM-based agents. It aims not only to find possible weaknesses in an implementation, but also to test whether they actually manifest as security risks during execution. That matters for pre-deployment reviews because agents interact with external tools, files, APIs, and execution environments.

The method represents the agent’s implementation, component relationships, and built-in defenses in an Audit Knowledge Graph. It derives candidate attack paths from that graph and creates corresponding multi-turn test scenarios. These place test inputs in task-relevant contexts to check whether the agent exhibits security-violating behavior. The paper lists unauthorized file access, code execution, and data leakage among the possible risks.

The authors report evaluating AgentLens on five widely used agent applications, each with more than 24,000 GitHub stars. The framework identified 44 vulnerabilities, and the paper says each was triggered during execution. Compared with AgentFuzz, AgentLens detected 3.67 times as many vulnerabilities. Twelve reported issues have since been assigned CVE identifiers.

These results concern the five applications tested and do not establish the same detection performance for other agents. The source text does not name the applications or detail the individual findings. The original paper provides a fuller account of the method and evaluation.

Original paper on arXiv

🇬🇧 https://arxiv.org/abs/2611.34380v1

Leave a Comment

The weekly brief: selected developments, projects and videos