Security analysis for LLM agents looks beyond sensitive operations

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

A new static analysis approach aims to better assess security risks in LLM agents by examining not only sensitive operations but also their dependencies and context. This matters because agents can connect model-generated decisions to capabilities such as command execution, filesystem access, and network communication.

The AgentSecGraph framework builds a separate dependency graph for each identified security-sensitive operation. Alongside the operation itself, it records evidence of agent involvement, sources and dependencies, trust boundaries, potential guards, and external-effect semantics. The researchers also introduce AgentSecBench, a collection of 67 real-world agent repositories from 11 ecosystems, containing 37,542 source files.

The current analyzer identified 23,866 candidates across 65 repositories. It recovered source-to-operation dependency evidence for 9,821 candidates and potential guard evidence for 3,075. The corpus-wide analysis took 50.8 minutes. A separate reproduction-backed evaluation classified 22 security-sensitive behaviors across 13 repositories: one confirmed vulnerability, one pending disclosure candidate, and 20 guarded behaviors.

In nine held-out cases, the graph retained 91.1% of the reference context and all five observed guards. The paper reports analysis results, not proof of a general improvement in security. The original source provides further details on the corpus, evaluation, and comparisons: arXiv: Beyond Predefined Sinks.

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

Leave a Comment

The weekly brief: selected developments, projects and videos