Source-linked AI summary
Autonomy in Check: Governor-Mediated Adaptive Security at the Edge
Ijaz Ahmad, Ijaz Ahmad, Flavio Esposito, Erkki Harjula
TL;DR
Adaptive planners can produce semantically unsafe actions from manipulated observations, so syntactic validity alone does not protect live policy state. This paper interposes a deterministic governor between planner intents and enforcement; on a 5GTN prototype, protected alarm delivery remained regular while governor decisions stayed below 130 µs at p99.
Problem
Policy-valid actions can be semantically unsafe under manipulated observations or imperfect reasoning, making the planner–enforcement trust boundary a central security concern.
Source: §I · p. 2Method
A deterministic governor mediates typed planner intents against safety, resource, temporal-stability, and proportionality invariants before enforcement.
Source: §I · p. 2Results
On the university 5GTN prototype, protected alarm delivery had p99 cadence excess below 7.3 ms with no sequence gaps, and governor decisions stayed below 130 µs p99.
Source: §VII · p. 9Takeaways & Limitations
The prototype supports mediating adaptive-planner actions at the planner–enforcement boundary while preserving regular protected alarm delivery.
Source: §VII · p. 9The prototype is deliberately small—one RPi5 enforcement node, three endpoints, and a 5G uplink—and coordination of governor state across multiple enforcement points remains open.
Source: C. Scope and Implications · p. 8
Abstract
from arXiv · showhide
Adaptive security at the network edge increasingly relies on automated planners, including rule-based controllers, learned policies, and LLM-assisted agents, that translate observations into enforcement actions. Once such a planner can influence live policy state, syntactic validity is not enough. A semantically wrong action, produced from incomplete or manipulated observations, can be faithfully executed by an enforcement substrate that cannot judge mission context. We address this problem by treating the boundary between planner output and kernel enforcement input as the primary security object. We propose a split-control architecture in which an untrusted planner emits typed security intents, a deterministic governor checks each intent against safety, resource, temporal-stability, and proportionality invariants, and only admitted actions are bound to signed receipts and compiled into pre-installed eBPF map updates. The paper formalizes this trust-boundary problem, defines three threat classes, develops the governor admission predicate, and reports an end-to-end prototype. Across rule-based and LLM-assisted planners on a Raspberry Pi 5 testbed connected to the university 5G Test Network, the governor admits, rejects, and bounds intents at microsecond cost without disrupting protected-flow regularity. The contribution is conceptual as much as empirical: adaptive security does not need to trust the author of an action. It needs a mediation boundary that decides whether the action is admissible.
I. INTRODUCTION
Adaptive edge security makes planner output part of the attack surface: semantically unsafe actions can be faithfully enforced when observations are incomplete or manipulated. The paper proposes a deterministic mediation boundary that admits bounded, auditable intents rather than trusting planner actuation.
Motivation and related work
- Well-typed eBPF actuation and planner-side defenses do not ensure mission-level semantic safety, motivating mediation between planner output and enforcement.The introduction situates this problem across industrial, vehicular, emergency-response, private 5G, O-RAN, and healthcare settings –.Source: §I · p. 1
Governor-mediated architecture
- A deterministic governor mediates typed planner intents against safety, resource, temporal-stability, and proportionality invariants before compiling admitted actions into eBPF enforcement.Planners cannot directly modify enforcement state; the design grounds this separation in the reference-monitor principle.Source: §I · pp. 1–2
Trust-boundary formulation
- The paper frames the planner-enforcement boundary as a trust problem, identifying context manipulation, policy oscillation, and residual-window exploitation as three threat classes.The broader risk includes throttling protected traffic, under-reacting to an active attack, or rapidly changing enforcement states when inputs are adversarially shaped.Source: §I · pp. 1–2
Bounded enforcement with integrity
- Each admitted intent receives an HMAC-protected receipt, while compilation is confined to pre-installed enforcement state and approved actions are append-only logged.This bounds enforcement so neither the planner nor a compromised compiler can synthesize new policy logic.Source: §I · p. 2
Prototype evaluation
- The prototype evaluates rule-based and LLM-assisted planners under three threat classes on a Raspberry Pi 5 connected to the University’s 5G Test Network.It uses three ESP32 endpoints and compares governed behavior with static and no-governor baselines while characterizing governor overhead.Source: §I · p. 2
II. RELATED WORK
Prior work advances adaptive control, programmable enforcement, open control ecosystems, and runtime safety, but often assumes well-formed planner outputs are safe. This work treats planner output as an attack surface and mediates typed security intents before they can change live enforcement state.
Closed-loop and intent-based control
- Autonomic, zero-touch, intent-based, and edge-cloud control establish observe-decide-actuate automation and outcome-to-device-action refinement, but commonly trust well-formed intent sources.Adaptive trust and orchestration address runtime adjustment of service quality, resource headroom, and security posture in 6G and IoT settings.Source: §II · p. 2
Programmable enforcement with eBPF
- eBPF enables low-overhead observability and policy enforcement, but verifier acceptance and efficient execution do not establish that an action is appropriate to mission context.It can enforce rate limits, select inspection paths, or update policy maps, but does not determine whether the requested action is appropriate.Source: §II · p. 2
Open and AI-driven control ecosystems
- Open O-RAN control and LLM-assisted network agents expand planner capabilities, yet malicious control functions and adversarial inputs can still produce unintended outputs requiring mediation.Prompt injection and the difficulty of monitoring AI components interacting with tools and external data are additional planner-side risks.Source: §II · p. 2
Identified gap
- Prior work often assumes well-formed controller outputs are safe, while this paper treats planner output as an attack surface and mediates typed intents before live enforcement changes.A syntactically valid action can still be semantically unsafe when observations are manipulated or reasoning is imperfect.Source: §II · pp. 2–3
Runtime safety and policy mediation
- The governor extends runtime-safety ideas by checking typed security intents against deployment-specific invariants Γ, rather than masking learner actions or monitoring execution traces.The planner remains outside the trusted computing base, and intents must pass checks involving Fcrit, rmin, ∆min, and ϕ.Source: §II · pp. 2–3
III. TRUST BOUNDARY AND THREAT MODEL
The section defines a planner–governor boundary for adaptive security: planners propose typed intents, but a trusted governor independently determines admissibility before approved actions reach enforcement. It frames this boundary around mixed-criticality edge traffic, three planner-facing threat classes, and a formal intent-admission model.
A. Deployment Context and System Model
- In a mixed-criticality 5G edge network, a planner proposes typed intents, while the trusted governor checks admissibility and a compiler translates approved intents into bounded eBPF updates.The planner is outside the trust boundary and cannot directly modify enforcement state.Source: A. Deployment Context and System Model · p. 3
B. Threat Model
- The threat model covers context manipulation, policy oscillation when fadv > 1/∆min, and residual-window exploitation during policy transitions.Context manipulation can induce semantically wrong actions and maps to indirect injection attacks in LLM-integrated systems; adversaries may also inject malicious traffic.Source: B. Threat Model · p. 3
C. Problem Formulation: Governor-Mediated Actuation
- At each decision epoch, the planner proposes an intent and execution tier from observed state, but the governor independently defines the safe action set rather than trusting planner estimates.The state includes traffic observations, flow criticality, tier resource headroom, queue and path state, recent decisions, mission context, and an uncertainty signal.Source: C. Problem Formulation:… · pp. 3–4
- The prototype uses an invariant predicate, not a numerical optimizer for planner risk, cost, or oscillation estimates; its proportionality bound is ϕ(s, u) = max(1, 4s·c(u)).The state builder supplies bounded severity, uncertainty, and intent-impact signals; cooldown ∆min and reserve rmin instantiate temporal-stability and protected-headroom checks, while the proportionality floor keeps ROLL-BACK admissible at any uncertainty.Source: C. Problem Formulation:… · p. 4
IV. GOVERNOR-CENTERED DESIGN
The design confines planner authority to typed intents and admits them only when a deterministic governor’s safety and proportionality invariants pass. Signed approvals are verified before a privileged compiler translates admitted intents into bounded kernel updates.
A. Bounded Intent Vocabulary
- The governor accepts only a fixed vocabulary of typed intents, spanning observation, bounded rate control, escalation, non-critical isolation, approval requests, and rollback.High-impact actions are named explicitly so proportionality checks can be applied independently of planner intent.Source: A. Bounded Intent Vocabulary · p. 4, Table II · p. 4
B. Admission Predicate
- The governor admits an intent only when all five invariants pass, covering validity, protected-flow safety, resource headroom, temporal stability, and proportionality.The cooldown bounds policy oscillation at 1/∆min; rejection returns a typed failure reason and may suggest a lower-impact alternative.Source: B. Admission Predicate · pp. 4–5
C. Integrity Path to Kernel Enforcement
- Only the governor signs approvals, and a privileged compiler verifies each receipt before translating the approved intent into bounded eBPF map operations.The receipt includes a hash of the decision-context snapshot; the governor alone holds its signing key, while the compiler alone holds map descriptors and relevant Linux capabilities.Source: C. Integrity Path to Kernel Enforcement · p. 5
D. Proposed Split-Control Architecture
- The split-control pipeline confines autonomy to planning; pre-verified kernel observation feeds a state builder and planner, while trusted components govern and enforce admitted actions.The planner may be an LLM-based agent, learned policy, or rule-based controller; the architecture is independent of that choice.Source: D. Proposed Split-Control Architecture · p. 5, Figure 2 · p. 5
V. PROTOTYPE IMPLEMENTATION
The prototype places a governor-mediated eBPF enforcement node on a Raspberry Pi 5 connected to the university 5G test network. It evaluates protected and routine traffic under three independently executed adversarial workloads.
A. 5G Edge Testbed
- The Raspberry Pi 5 gateway enforces traffic through tc-ingress eBPF programs and three BPF maps on the University’s 5G Test Network.It connects ESP32-S3 endpoints over WiFi and the 5G core over cellular; Go components on the Pi build state, govern intents, compile admitted actions, and run the planner.Source: A. 5G Edge Testbed · p. 5
- Protected alarms use 20-byte UDP datagrams at 10 Hz, while routine telemetry uses 1 kB bursts at 1 Hz.Receiver-side cadence is measured from RPi timestamps because cross-device clock drift caused invalid one-way latency samples; baseline runs last about 30 minutes and attack runs about five minutes.Source: A. 5G Edge Testbed · pp. 5–6
- The LLM planner uses llama3.1:8b in Q4_K_M through Ollama, and its wrapper submits only structured tool-call intents to the governor.The prototype sets ∆min = 5 epochs (500 ms) and rmin = 6.4 kbps, a 2× reserve over the nominal protected-alarm rate.Source: A. 5G Edge Testbed · p. 6
B. Adversarial Workloads
- The three threat classes run independently with a 30 ms cooldown: T1 suppresses alarm reports, T2 injects intents at fadv = 2/∆min, and T3 sends epoch-boundary UDP bursts after approved transitions.T2 uses a local Unix-socket process as a conservative worst case; T3 probes the stabilisation window.Source: B. Adversarial Workloads · p. 6
VI. EVALUATION
The evaluation tests whether the governor preserves protected-flow cadence while containing unsafe or manipulated planner actions at low decision overhead. It also identifies deployment-specific parameter tradeoffs and the prototype’s scale and transition-window limits.
A. Security and Performance Results
- T1 raises uncertainty to 0.600 under context manipulation, T2 rejects 49.7% of oscillation intents, and T3 bounds—but does not eliminate—the residual window.For T3, the average window is 2.616 ms and the average admitted burst is 1279.2 B; I5 contracts actions only when severity also rises.Source: A. Security and Performance Results · pp. 6–7, Table IV · p. 7
- Governor p99 decision overhead ranges from 76.24 µs to 129.09 µs across nominal and attack runs, remaining below the 1 ms reference in every scenario.The check remains fast with stochastic planners and adversarial inputs, separating the safety boundary from planner complexity.Source: A. Security and Performance Results · p. 7, Figure 5 · p. 7, Table V
- Governed Rule and LLM configurations admit 86.9% and 48.0% of attack-induced intents, while nominal p99 cadence excess stays within a 1.5 ms band across all configurations.Static emits no adaptive intents; Rule, no gov. admits all planner-emitted intents. The governor changes what can be actuated under attack without measurably degrading receiver-side cadence.Source: Figure 6 · p. 7, A. Security and Performance Results · p. 7
- In the nominal LLM run, 13 of 51 structured intents were admitted and 38 rejected; under T2 both planner families had 149 I4 cooldown rejections, and under T3 both had ten I2 flow-safety rejections.I3 reserves rmin = 6.4 kbps, a 2× margin over nominal alarm-class load, but did not activate because measured alarm and routine traffic stayed below its floor.Source: A. Security and Performance Results · pp. 7–8, Figure 7 · p. 8, Table VI · p. 8
B. Deployment Implications
- The prototype uses ∆min = 5 epochs (500 ms) and rmin = 6.4 kbps; larger values strengthen cooldown or protected-traffic headroom but reduce adaptation flexibility.For T2, 149 of 300 injected oscillation intents fail cooldown at fadv = 2/∆min; systematic parameter-sensitivity analysis is left for future work.Source: B. Deployment Implications · p. 8
C. Scope and Implications
- The prototype evaluates one RPi5 enforcement node, three endpoints, and a 5G uplink; larger-scale coordination, synthetic replay, and I3 saturation testing remain future work.Deployment-specific choices include the protected-flow set, service budget, and ∆min; invariant logic, HMAC receipts, and the eBPF substrate are described as carrying over unchanged.Source: C. Scope and Implications · p. 8, B. Deployment Implications · p. 8
- The same governor can mediate rule-based, learned, or LLM-assisted planners, but admission control cannot eliminate the short transition window after an action is approved.Applications with stricter timing requirements will need faster enforcement activation in addition to governor-mediated admission.Source: C. Scope and Implications · p. 8
VII. CONCLUSION
The paper treats the planner–enforcement boundary as the primary security object, protecting it with a governor that checks intents against five admission invariants. Its prototype results show regular protected alarm delivery and fast governor decisions while retaining planner flexibility without direct authority over critical enforcement state.
VII. CONCLUSION
- The governor mediates the planner–enforcement boundary because enforcement can faithfully execute unsafe decisions based on manipulated observations.The paper specifies five admission invariants for this boundary.Source: §VII · pp. 8–9
- p99 alarm cadence excess stayed below 7.3 ms with no sequence gaps across baseline runs, while governor decisions stayed below 130 µs across nominal and attack scenarios.The prototype used in-kernel eBPF enforcement on the University’s 5GTN testbed.Source: §VII · p. 9
- Under policy oscillation, the governor rejected 49.7% of injected intents; under nominal LLM planning, it rejected 38 of 51 structured intents before enforcement.Source: §VII · p. 9