NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ACaM: Automated Capability Modeling for Agentic AI Security

Monika Santra, Dhilung Kirat, Qiushi Wu, Kevin Eykholt, Xiaokui Shu, Ian MolloyarXiv 2026

TL;DR

ACaM is a neurosymbolic framework that secures AI agents by deriving their actual capabilities directly from source code rather than trusting natural-language tool descriptions. By combining the structural precision of static analysis with the semantic reasoning of LLMs, it uncovers "capability laundering"—hidden, dangerous behaviors that can lead to remote code execution and data leaks in real-world agentic systems.

What Problem Does This Paper Address?

In modern agentic AI systems, an LLM acts as an orchestrator, invoking various "tools" (Python functions, APIs, etc.) to accomplish tasks. Currently, these systems rely on natural-language descriptions to tell the LLM what a tool does.

The authors identify a critical security gap called Description-Code Inconsistency (DCI). Because nothing forces a tool's code to match its description, a tool named get_weather might functionally provide a forecast while silently exfiltrating API keys in the background. This enables capability laundering: a threat where dangerous functionality is hidden behind a benign description.

Traditional security tools struggle here. Classical static analysis cannot reason about the "fuzzy" boundary where an LLM decides which tool to call based on natural language. Conversely, LLM-based security scanners often take descriptions at face value and fail to track complex data flows across multiple tool calls.

TABLE 1: Related work compared against the properties a structural, pre-deployment agentic security analysis requires. ✓ = yes, × = no, P = partial.

Methods

ACaM uses a five-stage neurosymbolic pipeline to build an Agent Capability Property Graph (ACPG), a machine-readable model of everything an agent can actually do.

  1. AFG Construction and Taint Seeding: It converts source code into an Agent Flow Graph (AFG), identifying components (tools/orchestrators) and conduits (files, network calls, shared state). It seeds these conduits with initial security labels (e.g., environment variables are SECRET, network calls are PUBLIC).
  2. Capability Property Discovery: It uses a fixed catalog of 19 core properties (like reads_secret or executes_dynamic_code) and employs an LLM to propose "extended" properties specific to that agent's unique logic.
  3. Static Analysis Engine: A deterministic engine performs field-sensitive taint tracking. It follows how data moves within and between tools, noting which components read from or write to specific conduits.
  4. Guarded Capability Filling: This is the "neurosymbolic" heart. Static analysis locks in facts it can prove (e.g., "this tool definitely reads a file"). For properties requiring semantic judgment (e.g., "is this branch a privilege check?"), an LLM is consulted. Crucially, no LLM output can override a fact established by static analysis.
  5. IFC Fixpoint: The system propagates these confirmed facts across the entire agent until it reaches a stable state, resulting in the final ACPG.
Figure 1: System Overview of ACaM

Datasets

The authors evaluated ACaM on a Discovery Corpus of 43 unmodified real-world agents collected from GitHub, spanning popular frameworks like LangChain, LangGraph, and CrewAI.

To rigorously test accuracy, they created a controlled subset of 24 agents:

  • 10 Base Agents: Unmodified real-world code.
  • 14 Vulnerable Variants: Agents where the authors manually injected "laundered" capabilities (hidden exfiltration paths) that bypassed the LLM or used structural indirection to hide from simpler analyzers.

Key Insights and Ideas

  • Asymmetric Authority: The most important design choice is that static analysis "grounds" the LLM. Static analysis handles the long, complex "plumbing" of data flow where LLMs tend to hallucinate or lose track, while the LLM provides the "eyes" to understand code intent that rules cannot capture.
  • Compositional Threats: Many vulnerabilities only appear when tools are chained together. A tool that writes to a cache and another that uploads logs are benign individually, but together they form an exfiltration chain. ACaM's graph-based approach is specifically designed to find these multi-hop threats.
  • The "Laundering" Reality: The research proves that capability laundering isn't just theoretical. By analyzing unmodified agents, they found that structural vulnerabilities (like Indirect Prompt Injection) are rampant because prompts lack a hard boundary between data and instructions.
Figure 3: AFG and initial taint seeds of the running example. Components are solid; conduits are dashed and tagged with their seed. The token can reach http_post:PREFS_URL via shared_state, a flow neither tool reveals alone.

Key Results

  • High Accuracy: On the annotated dataset, ACaM recovered capability properties with a 98.3% macro-F1 score.
  • Superior Threat Reconstruction: In tracing injected attack chains, ACaM scored 0.980, significantly outperforming LLM-only baselines (0.903) and traditional static analysis tools like Pysa and Semgrep (which scored below 0.35).
  • Real-World Impact: When applied to the 43 unmodified agents, ACaM discovered hundreds of vulnerable paths. The authors developed and confirmed 10 proof-of-concept exploits, including:
  • Critical RCEs: Arbitrary code execution via poisoned search snippets or unsafe deserialization (pickle).
  • High-Severity Leaks: Insecure Direct Object Reference (IDOR) flaws and cross-site scripting (XSS).
  • Efficiency: The analysis is practical for CI/CD pipelines, averaging about 57 seconds and $0.77 per agent.

Limitations and Future Work

  • Language Scope: The current implementation is Python-specific. While the core logic is language-agnostic, the frontend (AST parsing and framework detectors) would need porting for TypeScript or other languages.
  • Dynamic Evasion: ACaM assumes an adversary hides capabilities behind benign descriptions, not behind heavily obfuscated or self-modifying code designed specifically to defeat static analysis.
  • Runtime vs. Static: As a pre-deployment tool, ACaM cannot account for threats that emerge purely at runtime (like adaptive prompt injection attacks). The authors suggest the ACPG could be used to automatically generate the security policies that runtime enforcement tools currently require humans to write.

Summary updated

BibTeX
@misc{santra2026acam,
  author = {Monika Santra and Dhilung Kirat and Qiushi Wu and Kevin Eykholt and Xiaokui Shu and Ian Molloy},
  title = {{ACaM: Automated Capability Modeling for Agentic AI Security}},
  year = {2026},
  eprint = {2611.23507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23507},
}
Figure