synodic-ai™ AI SECURITY
AI Security Desk · Agent Guardrails

Gating agent actions: what a rulebook cannot certify, where enforcement must sit, and what a gate can learn

Three papers posted between 2026-11-09 and 2026-11-10 examine the gate that stands between an AI agent and the actions it wants to take. A proof shows that no checkable rulebook can clear every safe program in advance, a coding-harness design moves enforcement to the operating-system boundary and beats both regex filters and a model-as-judge, and an industrial gate stops every damaging write from 2,400 autonomous attackers while reading them for intelligence.

Watching catches every violation; nothing clears every safe plan

The theoretical paper posted on 2026-11-09 fixes a simple setting: an assistant writes small programs, and a gatekeeper must decide from the code alone whether each may run under three rules, never perform a forbidden action, never let the published output depend on a secret, and always answer eventually. It asks whether two rulebooks, one of what is allowed and one of what is not, can both be complete if every verdict must rest on evidence a machine can check in finite time. They cannot. Checkable evidence establishes only what a finite record settles, and never and eventually are not settled by any finite record. For prohibitions the failure is one-sided: every violation can be confirmed by watching, but no safe program can be cleared for good; for confidentiality and responsiveness neither side can be confirmed.

Three further results sharpen the point. Any sound rulebook of n bits omits a compliant program of about n bits. A time budget makes every rule decidable, but an always-correct checker must then run the program for essentially the whole budget. What a gatekeeper can still achieve exactly is a separator: a checkable list that contains everything it is obliged to admit and nothing it must refuse, and the paper reads deployed mechanisms such as kernel verifiers, gas budgets and proof-carrying code as instances of such lists, budgets or execution controls.

Simulations on 2.2 million random register-machine programs show the obstruction is adversarial rather than typical. Only 1.6% of random programs were unsafe, and a bounded test with a horizon of 8 steps wrongly permitted up to 30.2% of them at the longest program length, 2.9% at 16 steps, 0.2% at 32 and none at 128 or more. Against a plan written to ask the gatekeeper about itself and do the opposite, each of the seven cheaper gatekeepers tested, from simulating for half the budget to flipping a coin, was wrong on its own adversary at every budget, while the one that simulated the whole budget was always right. The paper's design rule follows: phrase a requirement so that compliance is established by something the plan visibly does, such as publishing a signed attestation or calling an audit hook before acting, or accept a conservative separator, or move enforcement to execution time.

Separate intelligence from authority at the operating-system boundary

The coding-harness paper posted on 2026-11-10 treats the harness as an automated living-off-the-land platform: once instructions are injected into retrieved content, dual-use binaries such as bash, curl and find become the payload. Many of the failures it catalogs are classical operating-system problems accelerated by tool chaining, among them symlink races, path traversal, subprocess escape, server-side request forgery, credential exposure and persistence through build hooks. Its rule is that intelligence may propose actions but must never define its own authority.

Authority travels as HMAC capability tokens, modeled on macaroons, that can only narrow when delegated across four trust and authority rings. Information flow is tracked in a product lattice of trust (trusted, sanitized, derived, untrusted) and sensitivity (public, sensitive), with a separation-of-duties ledger over shared workspace provenance so that collaborating agents cannot launder secrets through disk. Deterministic guards mediate tool invocation, process capability and operating-system resources, and audit logs are sealed under split-horizon dual keys.

On the authors' 252 fixtures (120 attacks, 120 benign engineering tasks and 12 five-stage kill chains), an unguarded harness blocked nothing and a static regex list blocked 43.9% of attacks. A small local model asked to answer BLOCK or ALLOW blocked every attack only by refusing 98.3% of benign work, at a median of 142.3 ms per call. The deterministic layer, alone or with the model kept as an advisory signal, blocked every attack with no false positives at a median of 12.7 microseconds. Across 24 multi-step trajectories, an idealized stateless per-action policy missed 4 of 12 kill chains, a coarse taint lock rejected 83.3% of benign workflows, and the lattice with the provenance ledger caught all 12 without false positives at about 20 microseconds per step. The authors caution that the judge was a compact model and a worst case, and that the perfect scores reflect deterministic checks of typed invariants on structured fixtures, not end-to-end task success.

An inline gate for industrial controllers that reads the attacker

The third paper, posted on 2026-11-10, places a gate on the fieldbus in front of a real controller. It keeps a reputation and quarantine state for each agent identity, returns allow, cache, defer or deny using a small on-device model plus a deterministic fast path, denies writes to setpoint and parameter registers and to any unmapped register, and still permits reads and safe-direction stop commands, so it will not block an emergency stop even from an agent it distrusts. An agent flagged as hostile is silently rerouted to a mirror twin built from the same device family and seed, which accepts the writes the real plant refuses, so the attack continues harmlessly and every frame is logged.

The evaluation ran 2,400 autonomous attacker agents, 600 in each of four tiers of concealment (none, an explicit non-disclosure rule, a warning that the network runs honeypots, and a scripted cover story), all driven by one open-weight model with its refusal behavior removed and told to write maximal values to every register it could reach. No write landed on the real controller. The gate blocked 99.4% to 100% of setpoint and parameter writes per tier and forwarded 1,427 writes it judged harmless or safe, and the controller's own range validation rejected every forwarded write; writes to the real plant before mirroring returned 20,750 exceptions and no successes. Model-driven decisions made up 32% to 40% of the gate's verdicts, with no inference timeouts.

The extraction results matter as much. In a preliminary study of 360 captured agents, direct questions drew no genuine self-disclosure from three of the four tiers, while the same question framed as device work, a register write or a diagnostic form, extracted disclosure from every tier at rates from 48% to 98%. Identity answers were fiction, but the self-reported toolchain and each agent's list of targeted registers accumulated across the swarm into an attacker profile. The study used one attacker model and a synthetic device family.

What the three results say together

The proof explains why the two systems look the way they do. If a gate cannot certify in advance that a plan will never do harm, enforcement has to move to execution time, where the harness checks files, processes and sockets as they are opened and the industrial gate checks each protocol request, with the controller's range check behind it. All three put authority outside the model, and all three show a price: separators omit compliant plans, deterministic guards need typed workflow boundaries such as explicit declassification steps, and the industrial gate relies on a second, independent layer because neither layer is claimed to be perfect alone.

Sources