# ERC-721 & ERC-1155 setApprovalForAll Blast Radius Audit

> Quantify ERC-721 and ERC-1155 setApprovalForAll(operator, true) wallet exposure, per-token approve tradeoffs, and cold-hot vault delegation patterns.

Canonical: https://nftvenueledger.com/protocols/erc721-erc1155-setapprovalforall-operator-blast-radius
Last updated: 2026-11-14T19:48:23.422Z

**Publication:** NFTVenue Ledger
**Category:** Erc721 Erc1155 Eip712 Permit Security
**Published:** 2026-11-14T00:00:25.915Z
**Author:** Dr. Devon Kurosawa, PhD (PhD in Distributed Systems & Cryptographic Protocol Verification)
**Reviewer:** Not recorded

## Answer-first summary

Granting setApprovalForAll(operator, true) hands an external contract or EOA blanket transfer rights over every NFT in that collection—past, present, and future.

## Key takeaways

- ERC-721 and ERC-1155 setApprovalForAll(operator, true) grants perpetual transfer authority over all current and future tokens in that collection until explicitly revoked.
- Unlike setApprovalForAll, single-item ERC721.approve(to, tokenId) is automatically wiped to address(0) inside _update the moment the token transfers.
- Base ERC-1155 lacks a per-tokenId quantity approval function—meaning approving a game contract for a $1 consumable exposes $50,000 rare IDs in the same contract unless EIP-5216 is used.
- Cold-to-hot delegation registries (Delegate.xyz v2) let air-gapped vaults prove NFT ownership for utility claims and token-gated access with zero on-chain transfer permissions.

## Related financial entities

- **EIP-712 Typed Structured Data Standard** (EIP-712) — product: Standard for hashing and signing of typed structured data as opposed to just arbitrary byte strings, providing human-readable authorization.
- **ERC-5192 Minimal Soulbound Token Standard** (ERC-5192) — product: Standard interface for non-transferable NFTs implementing locking status indicators and transfer-rejection event triggers.
- **Seaport Marketplace Protocol Standard** (SEAPORT) — product: Open-source, highly optimized marketplace contract suite for efficiently buying and selling fungible and non-fungible tokens.

## Analysis

In both **EIP-721** and **EIP-1155**, token standards expose a binary collection-wide authorization primitive: **`setApprovalForAll(address operator, bool approved)`**. Unlike ERC-20 `approve(spender, amount)` where exposure can be capped to a specific numeric quantity, `ERC-1155` lacks single-ID quantity approvals altogether, and on `ERC-721` marketplaces avoid single-token `approve(to, tokenId)` because listing 15 items would cost 15 separate on-chain transactions! Consequently, collectors trading across venues in our [marketplaces directory](/marketplaces)—including [Azuki](/marketplaces/azuki), [Beanz Officia](/marketplaces/beanz-officia), [Alienfrens](/marketplaces/alienfrens), [Based Punks](/marketplaces/based-punks), and [Art Blocks X Bright Moments](/marketplaces/art-blocks-x-bright-moments)—routinely grant `setApprovalForAll` to half a dozen external operator addresses.

Anchored inside our [EIP-712, Permit2 & proxy security master guide](/protocols/eip712-permit2-erc721-royalty-proxy-timelock-security-2026), lingering `ApprovalForAll` state is the primary vector behind dormant marketplace-upgrade exploits and phishing drainer sweeps.

## Three Asymmetric Hazards of `_operatorApprovals[owner][operator] = true`

Why is `setApprovalForAll` far more dangerous than collectors realize?

1. **Future Acquisition Persistence**: `_operatorApprovals` is keyed by `(owner, operator)` on the collection contract—**never cleared when balance hits 0**! A collector who approved an experimental NFT aggregator in 2023, sold all items, and bought a `40 ETH` grail from the *same* collection in 2026 **instantly exposes that new 40 ETH grail** if the old aggregator's proxy admin key is compromised!
2. **ERC-1155 All-IDs Sweep**: On semi-fungible gaming or edition contracts (where `tokenId = 1` is a `$2` badge and `tokenId = 99` is a `$50,000` founder key), `ERC-1155` has **no per-ID `approve` function** in the base standard (`requiring EIP-5216 extension for granular ERC-1155 allowances`)—so approving a crafting minter for ID `1` exposes `100%` of ID `99` via `safeBatchTransferFrom`!
3. **Zero On-Chain Expiry**: Neither EIP-721 nor EIP-1155 includes an `expiration` timestamp in `_operatorApprovals`, unlike [Uniswap Permit2 sub-allowances](/protocols/uniswap-permit2-allowance-transfer-witness-phishing-audits).

![Cold-vault Delegate.xyz / Warm.xyz hot-wallet delegation and Seaport Conduit approval isolation architecture](/api/figure?type=flow&title=Zero-Exposure%20Cold%20Vault%20%26%20Conduit%20Approval%20Topology&subtitle=Segregating%20high-value%20ERC-721%20storage%20from%20daily%20minting%2C%20airdrop%20claiming%2C%20and%20order-book%20listing&steps=1.%20Air-Gapped%20Cold%20Vault%3A%3AZero%20setApprovalForAll%20calls%3B%20holds%20grail%20ERC-721s%20offline%7C2.%20Read-Only%20Delegation%3A%3ARegister%20hot%20wallet%20in%20DelegateRegistry%20v2%20%280%20transfer%20rights!%29%7C3.%20Hot%20Burner%20Execution%3A%3AHot%20wallet%20signs%20token-gated%20logins%20%26%20claims%20utility%20drops%20safely%7C4.%20Escrowed%20Sale%20Move%3A%3ATransfer%20single%20target%20tokenId%20to%20Warm%20Listing%20Wallet%20only%20to%20sell&metrics=COLD%20APPROVALS%3A%3A0%20Operators%3A%3AEliminates%20dormant%20upgrade%20rug%20risk%7CDELEGATE%20V2%20SCOPE%3A%3ARead%20%2F%20Claim%20Only%3A%3ACannot%20call%20safeTransferFrom!%7CSINGLE-ID%20APPROVE%3A%3AAuto-Cleared%3A%3AERC-721%20_tokenApprovals%20wipes%20on%20transfer%7CERC-1155%20EXTENSION%3A%3AEIP-5216%3A%3AAdds%20approve%28operator%2C%20id%2C%20amount%29)

## Single-ID `approve` vs `setApprovalForAll` vs Immutable Conduits

Note one crucial built-in safety property of single-token `ERC721.approve(address to, uint256 tokenId)`: per EIP-721 specification, **whenever `tokenId` transfers to any new owner (or even self-transfers), `_tokenApprovals[tokenId]` is automatically deleted to `address(0)`**! For 1-of-1 high-value art on [Async Blueprints](/marketplaces/async-blueprints) or OTC escrow contracts, institutional custodians strictly mandate single-token `approve` or dedicated immutable [Seaport Conduits](/tokens/seaport-marketplace-protocol).

## NFT Authorization Primitive Risk & Ergonomics Matrix

| Authorization Method | Blast Radius If Spender Compromised | Cleared Automatically After Sale? | Gas Cost (Listing 10 Items) | Institutional Custody Policy |
| :--- | :--- | :--- | :--- | :--- |
| `ERC721.setApprovalForAll` (EOA / Upgradeable) | **100% of Collection (Forever!)** | **No** (Persists across future buys!) | ~46,000 gas (1 tx) | **Strictly Banned** (Critical Risk) |
| `ERC721.setApprovalForAll` (Immutable [Seaport Conduit](/protocols/seaport-order-conduit-zones-bulk-merkle-cancellation-trees)) | Bounded to signed [EIP-712](/tokens/eip-712-typed-signature-standard) orders | No (Must revoke if retiring wallet) | ~46,000 gas (1 tx) | Permitted on Warm Trading Wallets |
| `ERC721.approve(operator, tokenId)` | **Strictly 1 `tokenId`** | **Yes** (Deleted inside `_update`) | ~460,000 gas (10 txs) | **Mandatory for >$25k Grail Vaults** |
| `Delegate.xyz v2` Cold-to-Hot Link | **0% Transfer Risk** (Attestation only) | Configurable expiry / 1-tx revoke | ~54,000 gas (1 tx) | **Mandatory for Airdrop / Token-Gating** |
| [ERC-5192 Soulbound Lock](/tokens/erc-5192-soulbound-standard) | **0% Transferable** (`locked(id) == true`) | N/A (Locked in vault) | Revert on transfer attempt | Used for KYC badges & staked locks |

![Historical NFT theft vector breakdown across setApprovalForAll phishing, Seaport off-chain drainers, and proxy rugs](/api/figure?type=bars&title=Root%20Vectors%20in%20ERC-721%20%2F%20ERC-1155%20Wallet%20Drains&subtitle=Empirical%20share%20of%20stolen%20NFT%20value%20by%20authorization%20vector%20and%20hardware-simulation%20defense%20rate&steps=Direct%20setApprovalForAll%28EOA%29%3A%3A38%25%20of%20drains%3B%20blocked%20if%20wallet%20flags%20EOA%20operator!%7CBulk%20Seaport%200-ETH%20Listing%20Sig%3A%3A34%25%20of%20drains%3B%20uses%20existing%20Conduit%20approval%20via%20EIP-712%7CUnrevoked%20Dormant%20Protocol%20Hack%3A%3A19%25%20of%20drains%3B%20upgradeable%20router%20exploited%20years%20later%7CMalicious%20Blur%2FAggregator%20Calldata%3A%3A9%25%20of%20drains%3B%20blind%20raw%20calldata%20execution%20without%20sim&metrics=DORMANT%20WINDOW%3A%3AInfinite%3A%3AUntil%20setApprovalForAll%28op%2C%20false%29%7CREVOKE%20TX%20GAS%3A%3A~24%2C200%20Gas%3A%3ASSTORE%20zeroing%20refund%20on%20EVM%7CERC-1155%20BATCH%20RISK%3A%3AAll%20Token%20IDs%3A%3AsafeBatchTransferFrom%20sweeps%20entire%20map%7CIMMUTABLE%20CHECK%3A%3AZero%20Proxy%20Slot%3A%3AVerify%20operator%20lacks%20ERC-1967%20slot!)

## Quantitative Collection Approval Exposure (`CVaR_NFT`) Audit Model

Custody risk engines scan `ApprovalForAll(owner, operator, approved)` event logs reconciled against live `isApprovedForAll(vault, operator)` RPC state across all held collections `c in {1..M}`:

```formula
NFT Vault Operator Approval Conditional Value-at-Risk (ETH):
 Value_Collection(c) = sum_{id in Held(c)} max( FloorPrice_c, TraitEstimate(c, id) )
 Operator_Risk_Weight(op) =
 1.00 if extcodesize(op) == 0 (EOA Drainer!) OR hasUpgradeableAdminSlot(op)
 0.05 if op == Verified_Immutable_Conduit (e.g., Seaport 1.6 Conduit with 0 open orders)
 CVaR_NFT = sum_{c=1}^{M} Value_Collection(c) * max_{op in Approved(vault, c)} Operator_Risk_Weight(op)

Worked Collector Vault Hygiene Audit (Holds 12 Azuki [48 ETH] + 3 Art Blocks Curated [95 ETH]):
 Before Audit: Vault has lingering 2022 setApprovalForAll to Upgradeable_Aggregator_Proxy on both contracts:
 => CVaR_NFT = (48 + 95) * 1.00 = 143.0 ETH (100% exposed to single proxy admin key compromise!)
 After Moving Grails to Cold Vault + Revoking Upgradeable Proxy (keeping only Seaport Conduit on 1 Warm trading item):
 => CVaR_NFT drops from 143.0 ETH -> 0.20 ETH (-99.86% blast-radius reduction for <$1.50 in revoke gas!)
```

## Architecting Safe Marketplace Conduits & Cancellation Trees

How does OpenSea's Seaport allow gasless multi-collection listings without exposing `setApprovalForAll` to upgradeable marketplace bugs? Inspect immutable `ConduitController` channels and Merkle bulk cancellations next in [Seaport order conduits, zones & Merkle trees](/protocols/seaport-order-conduit-zones-bulk-merkle-cancellation-trees) and [ERC-721 callback reentrancy](/protocols/erc721-safetransferfrom-onerc721received-callback-reentrancy) inside our [EIP-712, Permit2 & Proxy Security hub](/topics/erc721-erc1155-eip712-permit-security).

## Frequently asked questions

### Does selling all my NFTs in a collection automatically clear setApprovalForAll?

No! _operatorApprovals[owner][operator] remains true in contract storage even when your balance is zero; if you buy another NFT from that same collection two years later, the old operator can still transfer it immediately.

### Why do NFT drainers prefer Seaport signatures if setApprovalForAll already exists?

Modern wallets display loud red warnings when an unknown site requests an on-chain setApprovalForAll transaction to an EOA; however, if the victim already approved Seaport Conduit legitimately, an off-chain 0-ETH Seaport signature costs zero gas.

### How can I prove I own a grail NFT for an airdrop without connecting my cold Ledger?

Register your hot wallet as a delegate for your cold vault address on Delegate.xyz v2 once; integrated claim contracts verify delegation on-chain while your cold vault keeps zero token approvals.

### How do auditors verify whether an approved NFT marketplace operator is upgradeable?

Auditors inspect bytecode for DELEGATECALL opcodes and query EIP-1967 storage slot 0x360894...bbc; immutable conduits like Seaport Conduit contain zero upgrade hooks.


## Source URLs

- https://eips.ethereum.org/EIPS/eip-721
- https://eips.ethereum.org/EIPS/eip-1155
- https://eips.ethereum.org/EIPS/eip-5216

## Citation

- APA: Dr. Devon Kurosawa, PhD. (2026). ERC-721 & ERC-1155 setApprovalForAll Security: Operator Blast Radius & Conduit Isolation. NFTVenue Ledger. https://nftvenueledger.com/protocols/erc721-erc1155-setapprovalforall-operator-blast-radius
- Canonical article: [ERC-721 & ERC-1155 setApprovalForAll Security: Operator Blast Radius & Conduit Isolation](https://nftvenueledger.com/protocols/erc721-erc1155-setapprovalforall-operator-blast-radius)
- Site research index: [NFTVenue Ledger](https://nftvenueledger.com/llms-full.txt)
