跳到正文
arXiv (AI + Vision + Imaging)· Simon Hegelich, Habiba Sarhan, Morteza Shahrezaye, Kolja Hegelich, Christian Montag, Ralf Schneider, Erik Cambria·· 15 天前AI 评分12

从攻击面到防御架构:Agentic编码框架的组合式安全方案ActiveSecHarness

From Attack Surface to Defense Architecture: Compositional Security for Agentic Coding Harnesses

AI 导读

ActiveSecHarness提出神经符号参考监控架构,以智能与权限分离为原则,通过Macaroon式HMAC能力令牌、信任与敏感度乘积污点格及职责分离账本等四层机制防护AI编码框架。在252个测试样本和12+12多步轨迹套件上,Ring 0实现FPR=0.000、中位延迟31.5 us,比本地LLM-judge快4,517倍,并阻断12/12多步杀伤链。

正文 · 原文

arXiv:2611.13960v2 Announce Type: replace-cross Abstract: AI coding harnesses couple language models to shells, filesystems, and network sockets so that agents can resolve issues and run tests. That coupling turns the harness into an automated Living-off-the-Land (LotL) platform: once an adversary can inject instructions into retrieved content, dual-use binaries such as bash, curl, and find become the payload rather than a vulnerability to be separately exploited. We argue that security in agentic systems is not an emergent behavioral property of individual language models, but a structural property of the cognitive architecture and of the composition of permissions across interacting agents and humans. Static regex blacklists miss flag permutations and structural attacks, whereas LLM-as-a-Judge guardrails ask a second model to guess physical invariants at tens to hundreds of milliseconds per call while over-blocking benign work. We present ActiveSecHarness, a neurosymbolic reference-monitor architecture organized around Separation of Intelligence and Authority across four pillars: (1) Macaroon-inspired HMAC capability tokens across four Trust and Authority Rings; (2) a product taint lattice L_trust x L_sens and a compositional Separation-of-Duties ledger over shared workspace provenance; (3) deterministic OS/subprocess guards; and (4) extended bytecode certificates, split-horizon dual-key audit logs, a self-healing verification loop (CodeVerifier, DualModelReviewer, SecurityTestSynthesizer), and a progressive pedagogical UserWikiManager. On N=252 fixtures and a 12+12 multi-step trajectory suite, Ring 0 achieves FPR=0.000 (0.939 unfitted out-of-sample / 0.962 OS-inert; 1.000 post-audit conformance ABR) in 31.5 us median latency (4,517x faster than a live local LLM-judge) and blocks 12/12 multi-step kill chains at 0.000 benign trajectory FPR (266.7 us/step; ~24 us/step O(1) ledger state folding).

来源:arXiv (AI + Vision + Imaging) · arxiv.org