← Lab /Security & privacy

ACaM models tool capabilities with 98.3% F1 and uncovers hidden vulnerabilities

The authors claim ACaM can accurately derive tool capabilities from code and detect capability laundering in agentic AI systems

Security & privacy arXiv 17 Nov 2026 Method Prototype evidence Threat model

Published as “ACaM: Automated Capability Modeling for Agentic AI Security”

Why it matters

Pre-deployment capability modeling can automatically surface hidden, multi-tool vulnerabilities, allowing developers to patch code before agents are deployed and reducing reliance on runtime defenses.

Summary

ACaM finds that pre-deployment analysis can uncover hidden, multi-hop vulnerabilities in agentic AI systems, achieving a mean threat-chain reconstruction score of 0.980-about 8 points higher than the best LLM-only baseline (0.903) and far above static-analysis-only baselines (≤0.342). It also surfaces 123 code-execution and credential-exposure paths across 43 real-world agents, all of which were manually confirmed, and produces ten proof-of-concept exploits, six of them arbitrary code execution. The evidence is strong, based on a real-world corpus and manual ground-truth annotation, though the authors note false-positive concentration in two agents and possible false negatives for runtime-constructed file paths.

What they found 3

  1. Threat-chain reconstruction score of 0.980, 8 points above the strongest LLM-only baseline

    “Threat-chain reconstruction: ACaM achieves a mean score of 0.980, roughly 8 points above the strongest LLM-only baseline (0.903) and far above every SA-only baseline (≤0.342).”

  2. 123 code-execution and credential-exposure paths found in 43 agents, all manually confirmed

    “Across the 43 realworld agents, ACaM surfaces 123 code-execution and credential-exposure paths. We manually confirmed that each exists in the code.”

  3. Proof-of-concept exploits for ten critical/high findings, six achieving arbitrary code execution

    “We develop working proof-of-concept (PoC) exploits for ten Critical and High findings, spanning code execution, injection, and access-control failures.”

Caveats 5

  • Two agents account for 85% of all false positives, indicating a concentration of over-generation in certain codebases.
  • When a file path is built at runtime, as in open(os.path.join(base, user_input)), the engine cannot tell which file it names. Such reads can therefore cause false negatives.
  • Two agents account for 85% of all FPs.
  • The engine detects and records sanitizer calls but never uses them to lower a taint label.
  • The engine models the worst-case capability surface.

What’s new here 4

  • Combines static code analysis with LLM-based semantic filling to model the full capability surface of an agent, not just individual tools.
  • Introduces the Agent Capability Property Graph (ACPG), a compositional, queryable model of agent capabilities derived solely from source code.
  • Enables automated multi-hop threat-chain reconstruction and structural vulnerability identification that static-analysis-only tools miss.
  • Detects capability laundering where tool descriptions omit dangerous behavior, a threat class not addressed by prior work.

Threat model stated by the source

Adversaryexternal attacker (TM-A) or same-host attacker with write access (TM-B)
Capabilityinject malicious input via public channels or write to shared files to trigger exfiltration or code execution
AssumesAgent source code is available for analysis; Tool descriptions may be inconsistent with implementation