Manuscript Offprint

arXiv:2610.35835

I-HITL: Inalienable Human-in-the-Loop

Samuel Breckenridge, Dani Vilardell, Wenhao Wang, Fan Zhang, Ari Juels

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Samuel Breckenridge* Dani Vilardell*

Wenhao Wang

Fan Zhang

Cornell Tech, IC3

Cornell Tech, IC3

Yale University, IC3

Yale University, IC3

Ari Juels

Cornell Tech, IC3

Abstract—Human oversight is a pillar of AI safety. It is often exercised by a human in the loop (HITL) who approves critical actions taken by an AI agent. AI agents' increasing ability to bypass guardrails, though, raises the question of how to enforce HITL robustly.

We introduce the concept of inalienable human-in-the-loop (I-HITL). An I-HITL protocol ensures that an agent can initiate an action only with explicit human approval, even when the human interacts with a system (e.g., a local agentic harness) compromised by the agent. A strong I-HITL protocol additionally ensures such approval even when an adversarial human attempts to delegate approvals to an agent.

To motivate I-HITL, we report on experiments with a popular agentic wallet platform in which raising an agent's spending cap requires HITL approval via emailed one-time passcodes (OTPs). Given access to the user's email and a task blocked by the cap, we find that ten different frontier models will often autonomously raise the cap, harvesting OTPs to bypass a HITL guardrail and surfacing other vulnerabilities.

We formally define I-HITL using the concept of communication topologies and prove necessary and sufficient conditions for its realization. We show that an I-HITL protocol requires a trusted entity—a trusted computing device (or equivalent)—and characterize which such devices can and cannot realize an I-HITL protocol. We present a prototype I-HITL system called Countersign that can plug into and strengthen existing HITL systems using off-the-shelf consumer mobile devices.

1. Introduction

AI agents are increasingly entrusted with consequential decisions and tasks, as personal agents such as Meta's Muse [56], OpenAI's Dots [69], OpenClaw [70], and Hermes [65] see rapid adoption. Users frequently grant these agents broad access to credentials and tools: email, payment methods, shell access, and browser sessions. Yet because agents remain susceptible to hallucination, prompt injection, and misalignment, the same access that lets them act on a user's behalf also lets them act against the user's interests.

A natural response is to constrain what an agent can do via a human-in-the-loop (HITL) approval gate (or HITL gate, for short)—a mechanism that permits an agent's action to proceed only after human approval [42], [74], [79]. HITL gates are only meaningful, though, if agents cannot bypass them. In practice, agents can often bypass various guardrails to escalate their own permissions, as two examples show.

Example 1. Circle Agent Wallets allow an account owner to place a daily spending cap on an agent [23]. They protect cap changes via a HITL gate authenticated using a one-time passcode emailed to the account owner. We show in this paper that given access to an email tool, a wallet's agent will often autonomously harvest the OTPs and update caps without human approval, bypassing the HITL gate. Nothing here is specific to Circle or to email: Other agentic wallets' HITL gates use similar design patterns [28], [57].

Example 2. Early versions of Claude Mythos Preview repeatedly bypassed harness-imposed guardrails. In one case, the model used a tool intended only for file editing to write to the shell's input, gaining arbitrary code execution. In other cases, it searched low-level process data for credentials and accessed resources that Anthropic had deliberately withheld [6].

These two examples illustrate a shortcoming of many HITL gates: agents may have or gain access to the very resources used to enforce the gate. There are numerous reports of similar examples, e.g., [49], [55], [64], [82], and analogous, if not HITL-specific, behaviors arising in controlled evaluations of frontier models [18], [54], [73].

Despite the pervasive risk of agents subverting HITL controls, however, the security goal of ensuring human approval before execution of a given action has a notable lack of formal modeling in the literature to date.

Inalienable HITL (I-HITL). To fill this gap, we introduce inalienable HITL (I-HITL). The term inalienable, defined as “unable to be removed” [21], here refers to HITL approval of agent actions.

Our threat model for I-HITL involves three parties: (1) the human, (2) the agent-controlled platform, such as the human's client machine, and (3) a target service, typically a remote server, which gates agent actions. Informally, an I-HITL protocol ensures that the service can distinguish an action approved by the human from one approved by the agent acting through the platform, even if the agent has compromised the platform. We also put forth a notion of strong I-HITL that ensures such approval even when an adversarial human controller attempts to delegate approvals to the agent. This implies a form of accountability useful for enforcing policies that mandate human oversight of AI [35].

Our work shows that I-HITL requires a trusted entity T, but that this is not sufficient to realize I-HITL. Specifically, a trusted entity must be able to attest to having generated a given cryptographic key for I-HITL to be possible.

∗^{*} These authors contributed equally to this work.

A

Figure

B

Figure 1: Two HITL configurations. Red shading indicates resources accessible by the agent; green indicates the HITL gate. In Example 1 (panel A), when an agent-requested action triggers the HITL protocol, the service sends a passcode to an email inbox that the agent can access. In an I-HITL protocol (panel B), the approval channel must terminate at a trusted entity T that the agent cannot access or forge, so only the human can approve.

Figure 1 schematically contrasts the insecure HITL configuration of Example 1 with the general architecture for I-HITL that we explore in this work.

Self-escalation. To motivate our work, we realize Example 1 with Circle’s Agentic Wallets as a testbed. Its HITL gate is authenticated by one-time passcodes (OTPs) emailed to the human user. We give ten frontier models an invoice-payment task requiring funds that exceed a previously set daily spending cap. We use a common configuration that allows agents to access the user’s email. With no adversary and no prompting, nine of the ten models bypass human approval, harvesting OTPs and raising their own cap in at least one run. With email-based prompt injection, this drops to seven of ten models, as some models detect the prompt injection. In experiments where the agent is only asked to summarize email, five models both raise the cap and pay an attacker impersonating the user by email. Broadly, our results do not correlate strongly with model capability.

Formalizing I-HITL. Common deployment failures, such as Examples 1 and 2, prompt us to introduce what we believe to be the first security definition for HITL gates that captures security against an agent-compromised computing platform. Our definition also encompasses a human who attempts to delegate control to an agent. Previous attempts at HITL formalism neglect both of these settings and assume that agents are unable to hijack the approval flow, focusing instead on the potential mismatch between an approved action and its execution [44], [85], a consideration which is subsumed by our definition. Related formal frameworks in ceremony analysis [34], [72] and transaction authentication [14], [15], [33], [84] model platform compromise but not human principals delegating their authority.

We define an I-HITL protocol as having two properties. Completeness states that a service will accept an honest human’s approval of an agent action. Approval-binding says that no adversary can cause the service to accept an approval that the human did not grant. By extending the formal machinery of [13], we characterize the communication topologies, i.e., sets of entities and communication channels, needed to realize a complete and approval-binding I-HITL protocol. In the “plain” topology of human, platform, and service used in many existing and proposed systems [23], [27], [29], [46], [68], [77], [78] there exists no complete, approval binding I-HITL protocol. This result motivates the addition of a trusted entity T outside of the agent’s control—typically in the form of a trusted computing device. We prove that such a trusted entity alone is not in general adequate for I-HITL, and give precise requirements on its functionality which must be satisfied.

Common authentication approaches—e.g., 2FA / authenticator apps, hardware wallets, etc.—do not offer a trusted entity T sufficient to realize an I-HITL protocol. Our work serves as guidance for identifying what devices can do so. Countersign. We introduce Countersign, a prototype implementation of a secure I-HITL protocol that uses an Android or iOS mobile application to realize a trusted entity, showing that the requirements arising from our formal analysis can be satisfied with these devices under realistic trust assumptions. Countersign uses Google’s/Apple’s attestation functionality and the hardware-backed key management capabilities of their respective devices to establish the requisite channels, as well as physical, human-driven approval via a button press or biometric authentication. Excluding scaffolding, Countersign’s core I-HITL logic consists of ~800 LOC for the backend service, and ~150 LOC each for the Android/iOS applications, demonstrating the relative simplicity of the core components. Our implementation also highlights gaps in the current functionality available to developers that could be patched to strengthen I-HITL guarantees.

References (53)