# Agent Authenticator: Passkey-Grade, Hardware-Bound Authentication for AI Agents

Harish Santhanalakshmi Ganesan · arXiv · 2026-11-14

- **Problem** Coding agents authenticate with bearer secrets that the model's subprocesses and co-resident code can read and that work from any machine. Passkeys protect people well, but an autonomous process cannot operate them.
- **Method** The Agent Authenticator is a daemon that holds non-exportable keys in secure hardware, checks a human-signed mandate before each signature, and relies on the runtime, not the model, to set the origin of each request.
- **Results** All five documented incidents are expected to be contained or blocked under the design, as qualitative judgments rather than measurements. In a survey of 5,205 open-source MCP servers, 88% required credentials.

![Table 3: Bindings onto existing mechanisms](https://refivu.com/papers/c6881b60-4466-4f78-874b-a41bdd696c71/figures/figure-59774fc040cb44e9f8383453bc5d2889.png?thumb=512)

**Table 3** : Bindings onto existing mechanisms.

[Original paper](https://arxiv.org/abs/2611.19536v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Harish Santhanalakshmi Ganesan · Agent Authenticator: Passkey-Grade, Hardware-Bound Authentication for AI Agents · Original paper figure · Extracted the figure area from page 8 of the original PDF.

## Why agent credentials are a weak point

Coding agents now read repositories, run tests, push branches and open pull requests, and they also publish packages or provision cloud resources. Each of those steps calls a service built for human users or for conventional workloads, so the agent must present some credential to it. In practice the agent borrows whatever the developer's environment already holds, such as an SSH key, a personal access token, a cloud CLI profile or an npm token.

Such credentials are bearer secrets: anyone who holds one can use it from any machine, for anything it permits.

Three traits of agents make this more dangerous than it is for a developer working by hand. Agents read untrusted content such as issues and dependency source, and that content can carry instructions the agent may follow. Agents also start subprocesses that the agent's own safeguards do not watch, and they act faster than anyone can check each step.

Passkeys answered the same threat for people by holding a per-site key in secure hardware and leaving the choice of site to the browser. Every assertion needs a person to make a gesture, and enrollment cannot be done programmatically, so an autonomous process cannot operate them.

## What the documented incidents show

Five publicly analysed incidents form the basis of the failure analysis, each involving a coding agent or developer credentials and each with a distinct mechanism.

Four failure classes recur across these cases. F1, ambient bearer secrets, means a credential can be reached by the agent and its helpers and used from anywhere. F2, in-agent controls, means safeguards live inside the process they constrain, so content that compromises the agent can also compromise them. F3, over-broad scope, means a credential allows far more than the task needs and stays valid far longer.

F4, missing attribution, means relying services cannot separate an agent's actions from its human's, and nothing ties an action to the person who authorized it.

## Where existing mechanisms stop

Passkeys address F1 for humans, but an autonomous process cannot operate them.

Workload identity removes static secrets for cloud services, but it has no human approver and fits developer laptops poorly. No existing mechanism covers all four classes together.

## Adversaries, exclusions and goals

The threat model names four adversaries, each placed at a different point where the agent meets the outside world. A1, the content injector, controls text the agent reads, such as issues, pull requests, documentation, tool outputs and dependency source, and so can steer model outputs and tool calls. A2, the co-resident code, runs on the same host with the same user privileges, for example through a compromised dependency's install script.

The design is measured against seven goals, G1 to G7. G3 requires non-exportable agent keys and a normalized account of how strongly they are protected. G4 requires a named human to approve every credential and every high-risk action, possibly on a different device from the agent. G5 scopes authority to services, actions, resources and time, and allows it to narrow only under delegation, while G6 requires deployment over existing IdPs and services and G7 requires one protocol for local and cloud agents.

## Roles, keys and the origin rule

This paper proposes the Agent Authenticator, a design that gives agents authentication properties similar to passkeys. The agent is the model-driven process and everything it spawns, and the design treats it as untrusted. The agent runtime launches the agent and owns its network connections. Relying parties are the services the agent calls, an enterprise IdP may act as policy authority, and the human approver holds an ordinary passkey.

The runtime takes the role the browser has in WebAuthn: it supplies the origin of every request from the live TLS connection.

Four keys take part, and none of them is reachable by the model process. The approver key lives in the human's passkey authenticator and is long-lived, while the AA identity key lives in AA secure hardware for the life of the device or cloud environment. Agent credential keys are held in AA secure hardware, one per agent and relying party, lasting until mandate expiry or revocation locally and for a single task in the cloud.

The evidence key is kept apart from the credential keys and is rotated per epoch with forward security.

## Normalized assurance levels

Relying parties are not expected to understand each vendor's attestation format. Instead the AA turns platform evidence into an Entity Attestation Token that carries a normalized assurance level, and a RATS verifier appraises it.

AL2 applies when keys sit in dedicated secure hardware but the host software is not isolated, as with TPM 2.0, the Secure Enclave via App Attest, or Android StrongBox.

Policies name levels rather than platforms, for example requiring AL2 and human approval for publishing.

## Mandates and the AgentData assertion

It names the agent credential by key thumbprint, the AA and its minimum assurance level, the permitted relying parties, and the permitted actions written as RAR authorization details. It also lists the actions that need fresh approval, states whether sub-delegation is allowed, and gives an expiry.

The example mandate allows git push to the github.com/acme/api location on refs matching agent/fix-\*, with registry.npmjs.org also listed as a permitted relying party and AL2 as the minimum assurance level. Merge, publish and delete are listed as step-up actions, and delegable is set to false.

Every assertion signs an AgentData structure, which plays the role WebAuthn's authenticator data plays. The flag mb records that the agent acts within its mandate, and the flag ha records that a human approved this specific action.

## Registration, step-up and relying-party checks

Registration starts when the runtime asks the relying party for registration, and the relying party returns a nonce. The AA then shows the human a plain-language rendering of a draft mandate, and the human signs it with their passkey.

Before signing, the AA checks that the relying party and action are permitted, the mandate has not expired, and the assurance level is still met. Routine calls skip the approval steps and are signed on the mandate alone.

The relying party checks the credential's existence and revocation status, the RP identifier and origin, and whether the challenge is fresh and unused. It then checks the signature, requires the counter to have increased, since a non-increasing counter signals cloning and triggers revocation, and confirms the mandate hash matches the registered mandate, which must be unexpired.

A relying party may hand the policy checks to its IdP through token exchange, but it always performs the cryptographic checks itself.

The AA subscribes to OpenID Shared Signals, so an IdP revocation destroys the matching keys, and it emits signals when attestation fails.

## Bindings to existing protocols and local or cloud profiles

The design maps onto MCP authorization with DPoP, ID-JAG with token exchange and a JWT grant, OAuth APIs using a JWT grant or token exchange with RAR, git over HTTPS and over SSH, cloud workload identity federation, and trusted publishing for package registries. In the MCP binding the AA acts as the auth provider for the MCP client, and tokens are bound to the agent key.

ID-JAG normally requires the user's identity assertion as the token-exchange subject, while this binding presents the agent assertion as the actor token. That choice matches the meaning of token exchange, in which one party acts for another, and it leaves IdP policy in control.

## Action records and their tamper evidence

The AA signs records with its evidence key, never the agent, and chains them by hash.

## Why each goal holds against its adversary

For G1 against A1 and A2, the model process never receives private keys or long-lived tokens, and access tokens are DPoP-bound to the agent key, so A1 can at most cause the agent to request actions. A2 runs with the same user privileges and cannot extract hardware-held keys, and the AA refuses to sign for processes outside the lineage it launched.

A1 can still misuse the relying parties the mandate permits, and G5 is what bounds that damage.

For G4 and G5, credentials cannot be used until a mandate signed with the approver's passkey is registered.

## Mapping the five incidents onto the design

For the GitHub MCP injection the expected outcome is contained, because the mandate limits the agent to named repositories and refuses cross-repository publication outside them. For Comment and Control the expected outcome is blocked, since no secrets exist in the agent's environment and review agents receive no secret-reading scope. For the coding-agent exploits the expected outcome is contained, because the AA enforces policy outside the agent and tokens are not exposed for exfiltration.

For Nx s1ngularity the expected outcome is blocked, because no credentials sit on disk to harvest and hardware keys cannot be read.

These outcomes are qualitative judgments drawn from the incident reports and the design, and no measurements were taken.

## Related standards and products

AAuth gives each agent its own signing key, and the PTV draft binds agent identity to TPM-anchored attestation of model and policy.

Enterprise products register agents as directory identities, issue certificate-backed agent credentials, or authorize tool calls at an agent gateway, and the authors are not aware of any that binds an agent key to attested hardware and a passkey-signed mandate in one credential.

Personhood credentials address the complementary question of whether a human rather than an AI is present.

## Limitations

No full Agent Authenticator has been built, so the paper reports no performance, usability or deployment measurements.

Until then the analysis in Section 8 is informal.

Hardware attestation is linkable across relying parties, and sending only normalized levels reduces this only partially, while unlinkable presentation with anonymous credentials or Direct Anonymous Attestation remains future work. Step-up approvals may invite approval fatigue, and whether people review these prompts carefully has not been studied.

Assurance depends on hardware and cloud vendors' attestation roots, and adoption depends on IdPs and services accepting agent assertions.

## Paper info

- **Authors**: Harish Santhanalakshmi Ganesan
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-14
- **Added**: 2026-11-17
- **Updated**: 2026-11-14
- **Version**: v1
- **arXiv**: 2611.19536
- **Category**: cs.CR · cs.AI
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.19536v1) · [PDF ↗](https://arxiv.org/pdf/2611.19536v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

AI coding agents now push code, publish packages, call model APIs and operate cloud resources on behalf of developers. They authenticate to these services with the same bearer secrets humans use, personal access tokens, API keys and package-registry tokens, stored where the model, its subprocesses and any co-resident malware can read them. Incidents in 2025 and 2026, including prompt-injection attacks on coding agents and self-propagating supply-chain worms, show that this arrangement fails in predictable ways. Passkeys solved the analogous problem for humans, but they require a human gesture on every use and cannot be operated by an autonomous process. We present the Agent Authenticator, a design that gives agents passkey-grade authentication properties: per-service hardware-bound keys, no shared secrets, origin binding enforced by the runtime rather than the model, normalized attestation of the execution environment, human-signed scoped mandates, and cross-device human approval for high-risk actions. The same protocol serves agents on developer laptops and in cloud enclaves, and it deploys as a profile over existing mechanisms, MCP authorization, OAuth token exchange including the Identity Assertion JWT Authorization Grant, git and SSH, rather than as a new identity system. The authenticator also produces a signed, hash-chained record of each action it authorizes. We analyze the design against a threat model centered on prompt injection and same-host compromise, map it onto five documented incidents, and discuss its limits.

## Quote from the paper

Harish Santhanalakshmi Ganesan (2026). Agent Authenticator: Passkey-Grade, Hardware-Bound Authentication for AI Agents. arXiv:2611.19536v1. https://arxiv.org/abs/2611.19536v1

**BibTeX**

```
@misc{ganesan2026agent,
  title = {{Agent Authenticator: Passkey-Grade, Hardware-Bound Authentication for AI Agents}},
  author = {Harish Santhanalakshmi Ganesan},
  year = {2026},
  eprint = {2611.19536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19536v1}
}
```

## Other paper commentary

- [Beyond Plain MCP: Do Decision Models and Code Mode Make Tool Use Cheaper and Faster?](https://refivu.com/en/papers/88efe713-93d8-47d6-b8be-667c299e21ae-beyond-plain-mcp-do-decision-models-and-code.md)
- [We Have All the Cards: Securing Agent Cards at the Operational Trust Boundary of the Agent2Agent Protocol](https://refivu.com/en/papers/cd6a0a5f-90c9-460a-83d6-55b002515aa1-we-have-all-the-cards-securing-agent-cards.md)
- [Distilling Safety Filters for Filter-free Multi-agent RL](https://refivu.com/en/papers/21f25915-d36f-4f26-a265-4e45ef0cc511-distilling-safety-filters-for-filter-free-multi-agent.md)
- [Imitation Bootstrapped Multi-Agent Reinforcement Learning](https://refivu.com/en/papers/511a869c-410d-47b0-9d94-36dde9bb5cef-imitation-bootstrapped-multi-agent-reinforcement-learning.md)
- [Agentic AI for Discovering Fault-Tolerant Quantum Circuits](https://refivu.com/en/papers/e6680a5e-8c8b-48e6-aa57-a669a9a0c6a1-agentic-ai-for-discovering-fault-tolerant-quantum-circuits.md)
- [Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization](https://refivu.com/en/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959-experts-across-schemas-agent-guided-mixture-of-relational.md)
- [Synthetic Neurosymbolic Task Generation with Controlled Constraint Complexity](https://refivu.com/en/papers/ebe4fa7e-eeaf-4ae2-b493-81d2f69199e5-synthetic-neurosymbolic-task-generation-with-controlled.md)
- [Risk-Averse Decision-Focused Learning: Minimizing CVaR of Regret](https://refivu.com/en/papers/1b202435-6b1b-4d7f-9578-41fb452e0118-risk-averse-decision-focused-learning-minimizing-cvar-of.md)
- [InvarOrd: Self-Supervised Ordinal Knowledge Distillation with Rank-Invariant Alignment for Label-Efficient Cross-Species Hyperspectral Fish Freshness Assessment](https://refivu.com/en/papers/d5665851-f744-4a87-b3a5-325553323dcc-invarord-self-supervised-ordinal-knowledge-distillation-with.md)
- [Joint Learning of Factual and Counterfactual Worlds for Causal Prior-data Fitted Networks](https://refivu.com/en/papers/ca05fe75-c727-4e23-8b7e-a0a51814ae5a-joint-learning-of-factual-and-counterfactual-worlds-for.md)
- [Multi-Objective Causal Bandits: Minimal Intervention Space and Policy-Level Learning](https://refivu.com/en/papers/540f68b6-056b-44ce-94f3-5d91726bf05d-multi-objective-causal-bandits-minimal-intervention-space.md)
- [ResWAM: Learning What Changes, Not What Stays, for World-Action Models](https://refivu.com/en/papers/8ff204e6-02d0-446a-b10f-79536a9345b6-reswam-learning-what-changes-not-what-stays-for.md)

## Terms in this paper

- [Large Language Model](https://refivu.com/en/terms/a5109f1a76b2-large-language-model)
- [threat model](https://refivu.com/en/terms/3d3e656e8e49-threat-model)
- [agent](https://refivu.com/en/terms/1493ee0468ca-agent)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/c6881b60-4466-4f78-874b-a41bdd696c71-agent-authenticator-passkey-grade-hardware-bound)
