Attribute-Based Access Control Modelling for Infrastructure as Code with Datalog-Based Formal Verification

Infrastructure-as-Code (IaC) misconfiguration is a common cause of cloud security incidents. Existing verification practice treats the deployed configuration as a self-contained system, overlooking access-control violations in which a known vulnerability in a component along an access path effectively grants the attacker capabilities the configuration was designed to prevent. No existing methodology unifies automated ABAC policy mining from IaC, formal verification, and CVE-augmented reachability analysis. We propose a four-stage methodology in which an Attribute-Based Access Control (ABAC) model is LLM-constructed from Ansible configuration files and then checked by a Datalog fixed-point engine (Z3 Z) to determine both access (the reachability of a queried capability) and solvability (whether the mined policy is formally encodable and resolvable). A recursive language model (RLM) maps the infrastructure and reasons over CVE candidates; an NVD filter rejects CVEs whose affected-version ranges exclude the deployed versions; an encoder normalises the policy into Datalog; and Z3 Z’s Datalog backend computes reachability under intent-only and CVE-augmented modes. We evaluate five LLMs across seven controlled scenarios whose SAT/UNSAT verdicts are known, scoring encode rate, intent accuracy, attack-chain accuracy, and CVE recall using an identical encoder and verifier. The encoding stage is non-optional: raw RLM output contains Markdown and embedded JSON that require schema normalisation before Datalog verification, while the normalised pipeline produces encoded reports on of attempts. Qwen 3.5-27b achieves 90% policy-extraction accuracy (89%, 95% CI [84%, 92%] when pooled with replication runs), competitive with the larger models in the cohort; across all five models, the 105-run main grid and 162 supplemental runs yield 97.4% UNSAT specificity (368/378) and 67.5% SAT recall (237/351) over 729 scored intent queries. CVE-augmented analysis surfaces verdict flips: queries unreachable under intent-only semantics become reachable once applicable CVEs are admitted. CVE recall varies sharply across models (23%–56%).

Authors

Institutions

Publication Details

Journal
Theoretical and Applied Cybersecurity
Published
2026-11-24
DOI
https://doi.org/10.20535/tacs.2664-29132026.3.378969
Primary Topic
Access Control and Trust
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Attribute-Based Access Control Modelling for Infrastructure as Code with Datalog-Based Formal Verification

Максим Осінній
Theoretical and Applied Cybersecurity
Access Control and Trust
article

Attribute-Based Access Control Modelling for Infrastructure as Code with Datalog-Based Formal Verification

Максим Осінній
article en

Abstract

Infrastructure-as-Code (IaC) misconfiguration is a common cause of cloud security incidents. Existing verification practice treats the deployed configuration as a self-contained system, overlooking access-control violations in which a known vulnerability in a component along an access path effectively grants the attacker capabilities the configuration was designed to prevent. No existing methodology unifies automated ABAC policy mining from IaC, formal verification, and CVE-augmented reachability analysis. We propose a four-stage methodology in which an Attribute-Based Access Control (ABAC) model is LLM-constructed from Ansible configuration files and then checked by a Datalog fixed-point engine (Z3 Z) to determine both access (the reachability of a queried capability) and solvability (whether the mined policy is formally encodable and resolvable). A recursive language model (RLM) maps the infrastructure and reasons over CVE candidates; an NVD filter rejects CVEs whose affected-version ranges exclude the deployed versions; an encoder normalises the policy into Datalog; and Z3 Z’s Datalog backend computes reachability under intent-only and CVE-augmented modes. We evaluate five LLMs across seven controlled scenarios whose SAT/UNSAT verdicts are known, scoring encode rate, intent accuracy, attack-chain accuracy, and CVE recall using an identical encoder and verifier. The encoding stage is non-optional: raw RLM output contains Markdown and embedded JSON that require schema normalisation before Datalog verification, while the normalised pipeline produces encoded reports on of attempts. Qwen 3.5-27b achieves 90% policy-extraction accuracy (89%, 95% CI [84%, 92%] when pooled with replication runs), competitive with the larger models in the cohort; across all five models, the 105-run main grid and 162 supplemental runs yield 97.4% UNSAT specificity (368/378) and 67.5% SAT recall (237/351) over 729 scored intent queries. CVE-augmented analysis surfaces verdict flips: queries unreachable under intent-only semantics become reachable once applicable CVEs are admitted. CVE recall varies sharply across models (23%–56%).

Theoretical and Applied CybersecurityVol. 8(3)
National Technical University of Ukraine “Igor Sikorsky Kyiv Polytechnic Institute” (UA)
Access Control and Trust
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Attribute-Based Access Control Modelling for Infrastructure as Code with Datalog-Based Formal Verification — Максим Осінній · Theoretical and Applied Cybersecurity (2026) | TGRS Research Map | TGRS