Skip to content
NFTVenue Ledger
Directory

Erc721 Erc1155 Eip712 Permit Security

ERC-5192 Minimal Soulbound NFTs: Non-Transferable KYC Badges, Wrapper Traps & Revocation

ERC-5192 standardizes minimal Soulbound NFTs via locked(tokenId) and Locked/Unlocked events, powering on-chain KYC/KYB gating—provided auditors block smart-wallet ownership transfers.

By Dr. Devon Kurosawa, PhDReview not recorded · Updated
ERC-5192 Minimal Soulbound NFTs: Non-Transferable KYC Badges, Wrapper Traps & Revocation — NFTVenue Ledger 2026 quantitative & supervisory data card
NFTVenue Ledger (EIP-712 Signatures, Permit2 Allowance Security, Royalties & Proxy Timelocks): 0xb45a3c0e minimal locking, GDPR-clean KYC hooks, and Safe/TBA wrapper-sale defenses.Source: NFTVenue Ledger Institutional Research DeskLicense: CC-BY-4.0

Permissioned liquidity pools (Uniswap v4 KYC hooks, Aave Arc, tokenized T-bill vaults) and regulated RWA venues under ESMA, Dubai VARA, and MAS frequently issue non-transferable on-chain compliance credentials without leaking raw PII onto public blockchains. Rather than reinventing incompatible token interfaces, the ERC-5192 Minimal Soulbound NFT Standard extends standard ERC-721 with a tiny 1-function, 2-event locking interface (IERC5192, EIP-165 ID 0xb45a3c0e) so wallets and indexers like the Seaport marketplace protocol immediately know never to allow listing or transferring locked tokens!

Anchored in our EIP-712, Permit2 & proxy security master guide, naive Soulbound ("SBT") deployments suffer from a glaring Smart-Account / Wrapper Ownership Sale Bypass unless paired with continuous signer-state or ERC-3643 identity-registry verification!

ERC-5192 Specification & OpenZeppelin v5 _update Hook Implementation#

ERC-5192 adds exactly three elements on top of ERC721:

  • function locked(uint256 tokenId) external view returns (bool) (reverts if tokenId corresponds to zero owner / nonexistent token!).
  • event Locked(uint256 tokenId) (emitted upon Soulbound minting or administrative freeze) and event Unlocked(uint256 tokenId).
  • Inside OpenZeppelin v5's unified _update(address to, uint256 tokenId, address auth) hook, any movement where from != address(0) && to != address(0) (i.e., neither minting nor issuer revocation/burn!) reverts with ErrTokenLocked(tokenId) whenever _locked[tokenId] == true!
ERC-5192 Soulbound KYC credential minting, Seaport EIP-165 listing block, v4 hook check, and issuer revocation
ERC-5192 Soulbound KYC credential minting, Seaport EIP-165 listing block, v4 hook check, and issuer revocationVerified Exhibit

The Fatal Soulbound Wrapper Trap: Selling the Safe or ERC-6551 Account!#

Watch how sanctioned actors bypass naive Soulbound KYC badges across DeFi and NFT venues in our marketplaces directory (from RWA launchpads to gated drops like Admit One and Art Blocks X Bright Moments):

  1. Verified KYC user Mallory deploys a 1-of-1 Safe smart-contract wallet (or an ERC-6551 Token-Bound Account owned by an unlocked wrapper NFT!) and completes KYC so the issuer mints KYC_SBT #402 to address(Safe).
  2. KYC_SBT #402 can never leave address(Safe) (ERC-5192 reverts transferFrom!).
  3. Instead of transferring KYC_SBT #402, Mallory calls Safe.swapOwner(Mallory, Buyer) (or sells the parent NFT of the ERC-6551 account on Seaport)! address(Safe) never changed, yet a completely un-KYC'd Buyer now controls address(Safe) and trades freely in the "KYC-gated" pool!

Mandatory Institutional Mitigations:

  • EOA-Only or Monitored Safe Guard Minting: Either restrict SBT recipients to verified keys/custodians, or attach an immutable Safe Guard / ERC-3643 ONCHAINID claim topic check that invalidates the credential the instant Safe.getOwners or EIP-7702 codehash changes!
  • Rolling Time-to-Live (expirationTimestamp): Store uint64 validUntil per tokenId requiring periodic zero-cost off-chain refresh attestations (e.g., 90–180 days).

On-Chain Identity & Credential Architecture Comparison#

Credential StandardToken / Storage LayerMarketplace UI Auto-DetectionWrapper / Safe Sale DefenseBest Institutional Use Case
ERC-5192 Soulbound NFTERC-721 + locked(id) (0xb45a3c0e)100% Native (OpenSea/Blur hide List)Requires extcodesize / Safe owner hash checkAccredited-investor & Reputation badges
EAS (Ethereum Attestation Service)Singleton registry (Attestation struct)Non-NFT (Custom indexer required)Binds recipient + revocable expirationTimeHigh-volume off-chain/on-chain KYC claims
ERC-3643 (`T-REX`)Security Token + IdentityRegistryBuilt into token transfer hookVerifies ONCHAINID cryptographic claim sigsRegulated tokenized funds & bonds
ERC-5484 Consensual SBTERC-721 + BurnAuth enumPartial EIP-165 supportDefines IssuerOnly vs Both burn rightsUniversity degrees, credit-default flags
Verification gas overhead inside a Uniswap v4 beforeSwap KYC hook across ERC-5192, EAS, and ZK-proofs
Verification gas overhead inside a Uniswap v4 beforeSwap KYC hook across ERC-5192, EAS, and ZK-proofsVerified Exhibit

Safe-Owner-Bound Soulbound Validity Invariant#

To close the smart-account wrapper loophole mathematically, institutional ERC-5192 contracts record a cryptographic Controller Fingerprint (H_ctrl) at mint time and verify it inside isValidCredential(address holder):

Formula or model from the articleNot independently verified
Wrapper-Proof ERC-5192 Credential Validity Function:
  • At Mint Time t_0 for verified account A:
  • Hctrl(t0) = (A.code.length == 0)
  • ? keccak256(abi.encode("EOA", bytes32(0)))
  • : keccak256(abi.encode(A.codehash, ISafe(A).getOwners, ISafe(A).getThreshold))
  • Runtime Pool Hook Check at Swap Time t:
  • Valid(A, t) = (ownerOf(id) == A)
  • && (locked(id) == true)
  • && (block.timestamp < expiry[id])
  • && (Hctrlcurrent(A) == Hctrlrecorded[id])
  • Worked Wrapper-Bypass Foiled Test:
  • Sanctioned actor buys Safe 0x99..BB via swapOwner(VerifiedAlice -> Actor):
  • Hctrlcurrent(0x99..BB) != Hctrlrecorded[id] -> Valid(0x99..BB, t) evaluates FALSE instantly (0-second auto-freeze)!

Inspecting ERC-6551 Token-Bound Accounts Next#

The exact opposite of a non-transferable ERC-5192 badge is an ERC-6551 Token-Bound Account (TBA)—where transferring one parent NFT atomically transfers an entire smart-contract wallet full of tokens and child NFTs! Examine TBA frontrunning traps next in ERC-6551 Token-Bound Account inventory frontrunning and ERC-2981 vs transfer validators inside our EIP-712, Permit2 & Proxy Security hub.

Frequently asked questions

How can someone sell a Soulbound NFT if transferFrom always reverts?

If the issuer allows minting the Soulbound token to a smart-contract wallet (such as a Gnosis Safe or ERC-6551 Token-Bound Account), the recipient can transfer ownership of the wallet itself without ever calling transferFrom on the SBT.

Does putting KYC Soulbound NFTs on Ethereum violate EU GDPR privacy laws?

Publishing names, passport hashes, or raw PII on an immutable blockchain violates GDPR; compliant ERC-5192 badges publish only an opaque revocable boolean/tier flag and expiry timestamp with zero PII.

Should an ERC-5192 contract also revert on approve and setApprovalForAll?

Yes. Reverting inside approve and setApprovalForAll for permanently locked collections saves users wasted gas and prevents stale approvals if a token were ever conditionally unlocked.

How does an issuer revoke an ERC-5192 KYC badge if a wallet is sanctioned?

In OpenZeppelin v5 ERC721._update, the lock guard checks (from != address(0) && to != address(0)), allowing an authorized REVOKER_ROLE to call _burn(tokenId) (where to == address(0)) in a single block.

Publication record

Published
November 13, 2026
Updated
November 14, 2026
Author
Dr. Devon Kurosawa, PhD
Review
Review not recorded
Automated fact check
Passed in the stored pipeline record
Source URLs
3 recorded

AI assistance recorded: anthropic/claude-opus-4.6. This field does not establish human review or source verification.

Academic & Institutional Attribution

Cite This Research & Embed Live Data Card

Open Attribution License (CC BY 4.0)

Standard academic & institutional research paper citation format.

Dr. Devon Kurosawa, PhD. (2026, November 14). ERC-5192 Minimal Soulbound NFTs: Non-Transferable KYC Badges, Wrapper Traps & Revocation. NFTVenue Ledger. https://nftvenueledger.com/protocols/erc-5192-soulbound-attestation-locking-compliance-badges

Regulatory Directory Cross-Reference

Referenced Institutions & Regulatory Registries

Referenced Supervisory Authorities

Explore Erc721 Erc1155 Eip712 Permit Security Hub (20) →

NFTVenue Ledger Data, Benchmarks & Contributor Records

ERC-5192 Soulbound NFTs: KYC Badges & Wrapper Bypass Audits | NFTVenue Ledger