AI Harness Engineering for Cybersecurity: A Reference Architecture and Development Methodology

The emergence of large language models (LLMs) asreasoning engines for cybersecurity has shifted the bottleneckfrom model capability to harness engineering—the disciplineof building the runtime infrastructure that transforms a lan-guage model into a reliable, controllable security agent. Thispaper presents a comprehensive methodology for designing,building, and deploying AI harnesses across the full spectrumof cybersecurity operations: penetration testing, red teaming,reverse engineering, security operations centers (SOC), malwareanalysis, and digital forensics. We synthesize insights fromeleven production harness systems, four foundational researchpapers, and five open-source security agent frameworks—Norma,ARTEX, NeuroSploit, Strix, and AiSOC—to identify seven coresubsystems, twenty-nine design patterns, and five orchestrationarchitectures that form the basis of effective security harnessdesign. We propose a layered reference architecture with concreteimplementation guidance for each layer, covering both cloud-hosted models (Anthropic Claude, OpenAI GPT) and locally-deployed models (Ollama, llama.cpp). A nine-phase develop-ment methodology is presented with working code examplesin Python and Rust. Our methodology addresses the uniquechallenges of security automation: tool safety in adversarialenvironments, evidence-backed claim verification, scope controlacross attack surfaces, and the critical separation between controland execution planes. We additionally present a threat modelfor AI security agents themselves, a complete implementationwalkthrough, lessons learned from production deployments, anda comparison with traditional security automation. We providearchitectural diagrams, pattern catalogs, and a step-by-stepdevelopment methodology that practitioners can follow to buildharnesses for any security domain.

Authors

Publication Details

Journal
Preprints.org
Published
2026-12-03
DOI
https://doi.org/10.20944/preprints202612.0388.v1
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

AI Harness Engineering for Cybersecurity: A Reference Architecture and Development Methodology

Joas Antonio dos Santos
Preprints.org
Adversarial Robustness in Machine Learning
preprint

AI Harness Engineering for Cybersecurity: A Reference Architecture and Development Methodology

Joas Antonio dos Santos
preprint en

Abstract

The emergence of large language models (LLMs) asreasoning engines for cybersecurity has shifted the bottleneckfrom model capability to harness engineering—the disciplineof building the runtime infrastructure that transforms a lan-guage model into a reliable, controllable security agent. Thispaper presents a comprehensive methodology for designing,building, and deploying AI harnesses across the full spectrumof cybersecurity operations: penetration testing, red teaming,reverse engineering, security operations centers (SOC), malwareanalysis, and digital forensics. We synthesize insights fromeleven production harness systems, four foundational researchpapers, and five open-source security agent frameworks—Norma,ARTEX, NeuroSploit, Strix, and AiSOC—to identify seven coresubsystems, twenty-nine design patterns, and five orchestrationarchitectures that form the basis of effective security harnessdesign. We propose a layered reference architecture with concreteimplementation guidance for each layer, covering both cloud-hosted models (Anthropic Claude, OpenAI GPT) and locally-deployed models (Ollama, llama.cpp). A nine-phase develop-ment methodology is presented with working code examplesin Python and Rust. Our methodology addresses the uniquechallenges of security automation: tool safety in adversarialenvironments, evidence-backed claim verification, scope controlacross attack surfaces, and the critical separation between controland execution planes. We additionally present a threat modelfor AI security agents themselves, a complete implementationwalkthrough, lessons learned from production deployments, anda comparison with traditional security automation. We providearchitectural diagrams, pattern catalogs, and a step-by-stepdevelopment methodology that practitioners can follow to buildharnesses for any security domain.

Preprints.org
Adversarial Robustness in Machine Learning
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