Case · DiggingBeagle record

x402 sign-in extension could relay a cross-origin wallet login signature

V12 demonstrated that an API server could request a valid Sign-In with Ethereum message naming a different website, allowing possible session takeover where the target accepted the challenge.

Scope

x402 SIWE client extension before August 2026 remediation; Ethereum-style wallet authentication.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
fixed reported
AI role
AGAINST AI
Basis and provenance

CASE-2026-X402-SIWE-ORIGIN: The SIWE client signed a formatted login challenge for an origin other than the service contacted, without checking the domain and URI against that server. Evidence comes from SRC-2026-V12-X402-25-FINDINGS. Published technical statements or controlled results are not verified production-loss counts. No impact band is assigned because the observed outcome and its denominator do not establish a comparable severity measure.

Assessed Oct 24, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Obtain a valid login challenge from another website

    An attacker-controlled API server can fetch a SIWE-style challenge from a target that uses wallet authentication.

    Boundary: Target site nonce / attacker-controlled server

  2. 02

    Relay the challenge through an unrelated request

    The malicious API provides an extension whose domain and URI identify the target rather than the service the agent contacted.

    Boundary: Merchant response / target-site authentication message

  3. 03

    Get a signature for the wrong origin

    Without comparing contacted origin to signed origin, the agent wallet may sign a message that could authenticate a session at the target, depending on target controls.

    Boundary: Local origin verification / wallet signing authority

Timeline

  1. Aug 12, 2026
    Event type unspecified

    Researchers privately report the critical x402 issue

    V12 says this vulnerability was reported to maintainers with two other critical findings.

  2. Aug 20, 2026
    Event type unspecified

    Critical-finding fixes completed

    V12 dates completion of fixes for the three critical findings by August 20, ahead of their public report.

  3. Oct 22, 2026
    Event type unspecified

    Cross-origin wallet-login issue publicly described

    V12 disclosed the test and explained that actual account privileges depend on the accepting target service.

  4. Oct 22, 2026
    disclosure

    Public disclosure

Claims & evidence

CLM-X402-SIWE-01The SIWE client signed a formatted login challenge for an origin other than the service contacted, without checking the domain and URI against that server.supported

Basis: reported finding

Link to claim
CLM-X402-SIWE-ENRICH-DOMAINV12 demonstrated a correctly formatted SIWE signature whose domain was unrelated to the contacted host and identified origin binding as the missing client-side check.supported

Basis: reported finding

Link to claim

Implications

The unit of harm is authentication authority, not an on-chain token transfer. A syntactically valid SIWE signature proves control over a wallet but not that the owner intended to log into the target service during this particular request.

Controls and mitigations

  • Upgrade to the patched x402 SIWE client and enforce explicit origin and URI binding before signing. Require nonce, domain, chain and expiry verification at the target service as independent session controls.

Unknowns and contradictions

  • Target-site account capabilities and live takeover incidence are not established.

Sources and citation

Material revision history

  1. Oct 24, 2026 · Canonical change recorded · new in release · revision 188