MAINNET OFFICIAL EXTENSION REPLAY

One origin. Two paths.
Only one asks permission.

This page contrasts the documented NEAR connection flow with the exposed getTempKeyPair provider request. Nothing runs automatically, no raw key is displayed, and no result is sent off-page.

Target OKX Wallet 4.9.14 Network NEAR mainnet Mode operator-controlled
!
Use only a funded disposable test account. The exploit creates a real function-call access key on NEAR mainnet. Record the public key and remove it immediately after validation.
01

Configure

Test parameters

required
Account exists not checked
02

Compare

Permission boundary

CONTROL

Documented connection

near.connect({ contractId })

Expected: OKX opens a “Connect account” permission page.

versus
EXPLOIT

Direct provider request

near.request({ method: "getTempKeyPair" })

Observed: access key is created and returned without a prompt.

03

Verify

Redacted evidence

Waiting for operator action

The private key will never be rendered, copied, logged, or uploaded.

04

Restore

Remove the PoC key

Cleanup not yet applicable

Run the exploit first; the exact public key will appear here.

Function-call keys cannot delete themselves. Removal must be approved by the account’s full-access key. The command below targets only the key returned by this replay.

Waiting for a public key…

Session log

Local event timeline

  1. Page loaded. No wallet method called.