⭐ VaultysClaw is Open Source! Support the security of agentic AI by leaving us a star on GitHub ⭐
Vaultys
Retour aux actualités

Access Token or VaultysID: which proof truly withstands theft?

Access tokens simplify connections, but their theft can open a session without breaking the password or MFA. VaultysID changes the model with a cryptographic proof linked to each action.

Access Token or VaultysID: Which Proof Truly Resists Theft?

An attacker does not always need to crack a password or bypass MFA. When they obtain a valid session token, they can sometimes take over an already authenticated identity and act until that token expires or is revoked.

This question becomes even more sensitive with AI agents. An agent consults documents, calls APIs, and executes actions at high speed. The proof of identity entrusted to it directly determines what a prompt injection, log leak, or compromise can produce.

Our new video compares two models: the reusable access token and the cryptographic proof provided by VaultysID.

The video is available in French and English.

A Company Must Now Identify Humans, Machines, and AI Agents

A professional connection can be initiated by a collaborator, an application, a server, a service account, or an AI agent. Each action should allow for answering three simple questions:

  • Who is actually acting?
  • What rights have been granted to them?
  • Who authorized this action, for what duration, and within what scope?

Historical identity architectures have primarily been designed to open a session. Automation and agent AI now require tracking the delegation of a right to each executed action.

The Bearer Token: A Convenient Ticket That Must Remain Secret

OAuth 2.0, OpenID Connect, SAML, session cookies, and API keys are not identical mechanisms. Many deployments, however, share a principle: after authentication, the system issues a value that the service accepts as proof of access.

In the case of a bearer token, the rule is straightforward: whoever possesses the token can use it. The RFC 6750 states that no proof of possession of a cryptographic key is required. Therefore, the token must be protected during transport, storage, and its entire lifespan.

02 comparison token signature.jpg

One ticket can be copied. A signature linked to a new challenge must be produced at each exchange.

Comparison PointBearer TokenVaultysID Proof
Proof PresentedA reusable secret valueThe signature of a unique challenge
Secret in CirculationThe token transits between componentsThe private key remains on its support
Effect of InterceptionReplay possible as long as the token remains validThe intercepted signature does not respond to the next challenge
AttributionThe log often identifies an account or clientThe action can be linked to an identity and its delegation
RevocationDepends on the lifespan and control of the issuerThe certificate can be revoked within the trust network

This comparison targets classic bearer tokens. OAuth can also use binding mechanisms to a key, such as DPoP or mTLS, to reduce replay risks.

Why Token Theft May Be Sufficient

The password and MFA generally intervene before session creation. A stolen session token already represents a successful authentication. Its reuse can therefore avoid a new password or second factor request.

Several incidents have demonstrated this:

03-incidents-token-theft.jpg

Three different incidents, with the same lesson: a valid access proof becomes a target in its own right.

Proof of Possession Changes the Attack Scenario

VaultysID relies on a pair of cryptographic keys. The private key remains in the identity support. The public part allows the service to verify a signature.

With each access:

  1. The service generates a random and temporary challenge.
  2. VaultysID signs this challenge with the local private key.
  3. The service verifies the signature with the corresponding public identity.
  4. The access policy then controls the rights associated with this identity.

The signature observed on the network does not allow responding to the next challenge. The WebAuthn standard uses the same fundamental principle of random challenges to prevent replay, even though the Vaultys architecture covers a broader scope than web authentication.

04-cryptographic-challenge-vaultysid.jpg

The private key does not leave the device. Each new challenge requires a new signature.

The signature proves possession of the key. Authorization remains a distinct step. Vaultys therefore associates rights with signed certificates that specify the concerned identity, the granted scope, the issuer, and the validity period.

With an AI Agent, Delegation Must Remain Visible

An AI agent can read an email, a web page, or a document containing a hidden instruction. This indirect prompt injection can steer its behavior without direct interaction with the attacker. The OWASP thus considers each external source processed by an agent as a potential vector.

If the agent uses a broad and durable token, the malicious instruction can trigger excessive action or a credential leak. Logs sometimes only show the name of a service account, without clearly reflecting the user who originated the delegation.

05-ai-agent-injection-token.jpg

The risk depends as much on the capabilities of the agent as on the rights and access proofs entrusted to it.

In October 2026, NIST proposed several principles for agent identity: explicit delegation, least privilege, deterministic access decisions, continuous supervision, and tamper-proof activity proofs. These principles bring the security of AI agents closer to a true IAM model, rather than a simple distribution of API keys.

VaultysID, VaultysHub, and VaultysClaw: Three Complementary Roles

VaultysID Provides Cryptographic Proof

VaultysID assigns a cryptographic identity to humans, machines, and services. The proof is produced locally, without transmitting a password or private key. Its post-quantum hybrid architecture also prepares for the evolution of cryptographic algorithms.

VaultysHub Governs Identities and Access

VaultysHub provides the management layer: assignment and revocation of rights, onboarding and offboarding, application governance, visibility on Shadow IT, and event logging. It connects the Vaultys approach to existing environments through passkeys, FIDO2, OpenID Connect, and SAML.

VaultysClaw Frames Delegation to AI Agents

With VaultysClaw, a human or controller delegates to the agent a signed certificate, limited by a policy. The agent then signs its requests to the authorized services.

  • Revocation of the certificate cuts the delegation chain.
  • Each agent has a distinct identity.
  • Actions remain linked to the identity executing them and to the authority that permitted them.
  • A critical operation may require multiple signatures, for example, a two-out-of-three validation for a payment.
06-vaultysclaw-delegation-cosignature.jpg

Delegation becomes explicit, limited, and revocable. A co-signature policy can protect the most sensitive actions.

A Transition Compatible with the Existing Information System

Companies do not need to immediately replace all their identity federations. VaultysHub can serve as a gateway with OpenID Connect and SAML, while FIDO2 and passkeys secure the user experience.

This compatibility allows for gradually introducing proof of possession on the most sensitive accesses, then extending the model to applications, machines, and AI agents.

07-vaultyshub-compatible-existing.jpg

Vaultys adds a layer of cryptographic identity and governance without imposing a sudden break with the existing system.

Six Questions to Ask During Your Next IAM Audit

  • Where are the tokens, session cookies, and API keys of the organization stored?
  • Can they appear in a browser, a log, a support ticket, or a code repository?
  • Do their scope and lifespan truly correspond to the need?
  • Can a stolen proof be replayed from another device or network?
  • Do the actions of an AI agent remain linked to the human identity that authorized them?
  • Can a revocation or co-signature mechanism immediately interrupt a sensitive action?

These answers help identify accesses that would benefit most from transitioning from a transportable secret to proof of possession.

An identity proves itself. It is not lent.

Do you want to map at-risk tokens, secure your employees' accesses, or frame your AI agents?

Book a 30-minute exchange with Vaultys
Request a demonstration or contact an expert