Certified execution guardrails for agentic AI: safe and minimally intrusive Petri-net supervisory control between reasoning and actingCertified Execution Harness for Agentic AI: Safe and Least-Intrusive Petri-Net Supervisory Control Between Reasoning and Action
Translation in progress — untranslated text is omitted.
The paper proposes a Petri-net-based certified execution guardrail for constraining LLM agent tool calls under prompt injection. The method formalizes the execution guardrail as a supervisory control problem, using markings to represent capabilities, approvals, and budgets, with transitions firing only when the required markings are present, so injected requests whose preconditions are unmet or exhausted are rejected regardless of wording. The authors treat tool results as uncontrollable, use a conventional maximally permissive supervisor to guarantee safety, and state that safety transfers to the running system under four assumptions; to characterize agents that re-propose after rejection, the paper introduces a replanning loop in which each retry consumes one inference call. In this loop, a conventional supervisor can be arbitrarily more intrusive than a stricter safety supervisor, and for a given proposal model the least intrusive maximally permissive supervisor is characterized as a value-threshold refinement; comprehensive results on an autonomous publishing agent indicate that safe deployment requires supervisors able to reject steps after a rollout has begun.
- When an LLM agent calls tools, prompt injection may manipulate it into performing unauthorized or out-of-order operations (such as deployment without approval). The authors argue that existing defenses do not track operational state and cannot guarantee operational safety under uncontrollable outcomes.
- The execution harness is formalized as a Petri net supervisory control problem: markings represent capabilities, approvals and budgets, and the admission rule contains four checks; the Ramadge–Wonham method is used to synthesize a maximally permissive safe supervisor, which is then refined by a value threshold to obtain a minimally intervening supervisor.
- The theory shows that under four assumptions safety transfers to the running system; synthesis on the release agent finds that safe deployment requires steps that can be rejected after the rollout starts; in injection simulations the unauthorized deployment rate of the kernel architecture is zero, and the classifier architecture cannot block a benign but premature tstart.
- Directions listed by the authors: characterizing the additional cost of an inaccurate proposer model, relaxing the assumption that the proposer depends only on the current marking, handling partial observation of markings, and developing compositional synthesis. The guarantees do not cover the parameters of permitted operations, data leakage through permitted operations, or approval laundering.