Choosing What to Test: Reasoning about Redundancy and Attack Chains in Neurosymbolic Penetration Testing

Identical copy of the record on Zenodo: https://doi.org/10.5281/zenodo.24660316. Please cite the Zenodo DOI, which is also printed on the title page of the PDF.Paper: CC BY 4.0. Code: MIT. © 2026 Self Hack Oy.Language-model agents for penetration testing propose attack hypotheses far faster than they can verify them, so an autonomous tester must choose which candidate tests to run within a budget. Tests interact: several may probe the same weakness, and some pay off only together, as an attack chain. We study this choice as the symbolic step of a neurosymbolic loop, modelled as noisy-OR coverage of threats plus pairwise chain value under a budget; how the parameters are estimated is not studied. Rules that rank tests by their own value can lose almost all attainable value, and with chains no polynomial-time method has a constant-factor guarantee under the exponential time hypothesis. On 64 synthetic instances with 100 to 10 000 candidates, ranking lost 22–38% of the attainable value in the default regime, and on small pools still 8.5–17% when 90% of the cost could be spent, whereas a pair-aware greedy averaged 0.53%. Outer approximation over a mixed-integer program proved every optimum of the main benchmark within 98 s, but not on very dense chain graphs; the bound of its first solve certifies any selection against the model without knowing the optimum. With noisy estimates, exact optimisation did worse than the pair-aware greedy (from σ = 0.5 at n = 1000; on small pools only at σ = 1 with 50 candidates); structural errors and planted decoys raised the gaps of all interaction-aware methods to about 3–24% on average, alike across methods, although ranking never caught up. Quantum-inspired simulated bifurcation on a QUBO surrogate matched simulated annealing without a consistent advantage. None of the 41 LLM-based systems we could assess (of 49 screened) is described as optimising this choice over redundancy and chains. Code and instances with proven optima are released. Files: the preprint (PDF, CC BY 4.0); hypothesis-selection-benchmark.zip, the code, raw results and language-model illustration materials (MIT); ising_instances_1of3.zip to 3of3.zip, the 64 main-benchmark instances in Ising form (CC BY 4.0; unzip all three into one directory).

Authors

Publication Details

Journal
Figshare
Published
2026-11-29
DOI
https://doi.org/10.6084/m9.figshare.35151799
Primary Topic
Information and Cyber Security
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Choosing What to Test: Reasoning about Redundancy and Attack Chains in Neurosymbolic Penetration Testing

Alperen Ugurlu
Figshare
Information and Cyber Security
preprint

Choosing What to Test: Reasoning about Redundancy and Attack Chains in Neurosymbolic Penetration Testing

Alperen Ugurlu
preprint en

Abstract

Identical copy of the record on Zenodo: https://doi.org/10.5281/zenodo.24660316. Please cite the Zenodo DOI, which is also printed on the title page of the PDF.Paper: CC BY 4.0. Code: MIT. © 2026 Self Hack Oy.Language-model agents for penetration testing propose attack hypotheses far faster than they can verify them, so an autonomous tester must choose which candidate tests to run within a budget. Tests interact: several may probe the same weakness, and some pay off only together, as an attack chain. We study this choice as the symbolic step of a neurosymbolic loop, modelled as noisy-OR coverage of threats plus pairwise chain value under a budget; how the parameters are estimated is not studied. Rules that rank tests by their own value can lose almost all attainable value, and with chains no polynomial-time method has a constant-factor guarantee under the exponential time hypothesis. On 64 synthetic instances with 100 to 10 000 candidates, ranking lost 22–38% of the attainable value in the default regime, and on small pools still 8.5–17% when 90% of the cost could be spent, whereas a pair-aware greedy averaged 0.53%. Outer approximation over a mixed-integer program proved every optimum of the main benchmark within 98 s, but not on very dense chain graphs; the bound of its first solve certifies any selection against the model without knowing the optimum. With noisy estimates, exact optimisation did worse than the pair-aware greedy (from σ = 0.5 at n = 1000; on small pools only at σ = 1 with 50 candidates); structural errors and planted decoys raised the gaps of all interaction-aware methods to about 3–24% on average, alike across methods, although ranking never caught up. Quantum-inspired simulated bifurcation on a QUBO surrogate matched simulated annealing without a consistent advantage. None of the 41 LLM-based systems we could assess (of 49 screened) is described as optimising this choice over redundancy and chains. Code and instances with proven optima are released. Files: the preprint (PDF, CC BY 4.0); hypothesis-selection-benchmark.zip, the code, raw results and language-model illustration materials (MIT); ising_instances_1of3.zip to 3of3.zip, the 64 main-benchmark instances in Ising form (CC BY 4.0; unzip all three into one directory).

Figshare
Information and Cyber Security
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