Token-2022 PermanentDelegate Scanner: Stopping Silent Wallet-Drain & LP-Vault Burn Rugs Pre-Buy
Extension Type 12 (PermanentDelegate) inside Solana's Token-2022 standard grants a designated 32-byte authority absolute, irrevocable power to transfer or burn 100% of tokens out of ANY wallet or AMM liquidity vault without the holder's signature. Even hardware-wallet custody cannot stop a PermanentDelegate from seizing purchased tokens or burning the Raydium pool's base vault to drain all WSOL in a single slot. Solana Rent & Rug Shield's 11-Layer Block-0 Jito/Sybil engine runs live Layer-10 TLV byte checks to block PermanentDelegate rugs missed or delayed on RugCheck, SolSniffer, and GoPlus, while reclaiming 2,039,280 lamports (0.00203928 SOL) per empty ATA at 0% 1st-claim fee versus Sol Incinerator (~2%) and ClaimYourSol (5%), plus a 30% ?ref= split.
Bundled Rug Loss Prevention + Dead ATA Rent Recovery Estimator
Estimate how much SOL our 11-Layer Block-0 Jito/Sybil & Token-2022 TLV Shield saves per month compared to relying on RugCheck, SolSniffer, or GoPlus — plus instant 0%-fee 1st-claim recovery (2,039,280 lamports = 0.00203928 SOL per dead ATA).
How Token-2022 Extension Type 12 Seizes Cold-Wallet Tokens & Drains Locked AMM Pools
On legacy SPL Tokenkeg tokens, a third party can only move your tokens if you explicitly sign an Approve (0x04) instruction on your specific Associated Token Account—and you can clear that risk anytime via Revoke (0x05). Token-2022's ExtensionType::PermanentDelegate (TLV type u16 0x0c00, length 32 bytes / 0x2000) fundamentally alters Solana's custody invariants. Designed originally for regulated stablecoin clawbacks, a non-zero PermanentDelegate pubkey embedded in the Mint's TLV region is treated by the spl-token-2022 processor as a universal co-owner of every single token account ever created for that mint.
Scammers weaponize PermanentDelegate through two devastating rug mechanics. First, they wait for high-value whales to accumulate positions in cold storage, then invoke TransferChecked (0x0c) signed solely by the PermanentDelegate keypair to sweep 100% of the victims' token balances straight back to the deployer and dump them into WSOL. Second—even when 100% of LP tokens are burned—the PermanentDelegate calls BurnChecked (0x0f) directly against the DEX pool's base token vault! Destroying 99.99% of tokens inside the AMM vault spikes the pool's nominal token price by 10,000x, letting the attacker sell a tiny wallet bag to extract virtually every lamport of WSOL from the pool.
Mint Program : TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
Offset [165] : 0x01 (AccountType::Mint)
Offset [166..168] : 0x0c00 (u16 LE = 12 -> ExtensionType::PermanentDelegate)
Offset [168..170] : 0x2000 (u16 LE = 32 -> Value Payload Length)
Offset [170..202] : delegate = 4mRt8pQw...9xVn2kLb (ACTIVE SEIZURE AUTHORITY!)
Single-Slot AMM Pool Drain Sequence (LP 100% Burned, Mint Auth Revoked):
Ix[0] BurnChecked(account = Pool_Token_Vault, auth = PermanentDelegate, amt = 999,900,000 TKN)
-> Pool Vault drops from 1,000,000,000 TKN to 100,000 TKN (Zero Holder Consent)
Ix[1] SwapBaseIn(user = Attacker, in = 5,000,000 TKN, out = 98.04% of all Pool WSOL!)
Layer-10 Verdict: CRITICAL_SEIZURE_EXTENSION (PermanentDelegate != 0x00..00 -> BLOCK)
Lamport & EV Forensics: Reclaiming Zeroed Victim ATAs After a PermanentDelegate Wipe
Notice the cruelest side effect of a Direct Holder Seizure rug: when a malicious PermanentDelegate sweeps 100% of tokens out of 2,000 victim wallets via TransferChecked or BurnChecked, every victim's Token-2022 Associated Token Account drops to amount == 0—yet the attacker never closes the victims' ATAs (because only the account's owner or close_authority can claim the rent lamports unless MintCloseAuthority applies only to the Mint). That leaves every rugged trader with an empty 170-byte Token-2022 ATA (locking 2,074,080 lamports) alongside dozens of legacy 165-byte SPL ATAs (locking 2,039,280 lamports = 0.00203928 SOL each).
Preventing a single 5.0 SOL buy into a PermanentDelegate trap saves 5,000,000,000 lamports outright—delivering massive positive expected value before a single trade executes. And for traders cleaning up historical rugged wallets containing 100 empty accounts (e.g., 75 legacy SPL ATAs + 25 Token-2022 ATAs = 204,798,000 lamports / 0.20479800 SOL), Solana Rent & Rug Shield recovers 100% of that locked SOL on your 1st claim at 0% fee, whereas ClaimYourSol siphons 10,239,900 lamports (5%) and Sol Incinerator takes ~4,095,960+ lamports (~2%+).
Victim Wallet State After PermanentDelegate Balance Sweep: Token Balance Offset [64..72] : 0 (Swept by PermanentDelegate without owner sig) ATA Owner Offset [32..64] : Retail_Wallet_Pubkey (Still controls rent lamports!) ATA Close Eligibility : YES -> Native 0x09 CloseAccount recovers full rent 100-Account Mixed Cleanup Comparison (75 SPL @ 165B + 25 Token-2022 @ 170B): 75 x 2,039,280 lamports : 152,946,000 lamports 25 x 2,074,080 lamports : 51,852,000 lamports Total Gross Recoverable SOL : 204,798,000 lamports (0.20479800 SOL) ClaimYourSol Net (5% Fee) : 194,558,100 lamports (-10,239,900 lamports lost) Sol Incinerator Net (~2% Fee) : 200,702,040 lamports (-4,095,960 lamports lost) Rent & Rug Shield (0% 1st) : 204,798,000 lamports (Full 0.20479800 SOL kept)
11-Layer Pre-Buy Gate vs RugCheck, SolSniffer & GoPlus: Zero Tolerance for Custody Backdoors
Attackers launching PermanentDelegate meme traps explicitly count on traders trusting 'LP Burned + Mint Revoked' callouts in Telegram bots and cached web scanners. Because mint_authority at bytes [0..36] and freeze_authority at bytes [46..82] of the base Mint struct are both set to COption::None, legacy parsers built for 82-byte SPL mints mistakenly report the contract as immutable. Even scanners that added Token-2022 metadata checks often bury PermanentDelegate inside secondary expandable tooltips or suffer 30-to-180-second indexing lag during Block-0 PumpSwap/Raydium sniping windows.
Solana Rent & Rug Shield enforces a hard binary invariant inside Layer-10: for any non-institutional speculative token, a non-zero 32-byte pubkey inside ExtensionType::PermanentDelegate triggers an unconditional CRITICAL_SEIZURE_RISK block in under 120ms. Simultaneously, Layer-11 cross-checks whether the PermanentDelegate address links back to known rug clusters or shared Jito bundle funders, and Chrome Extension v4.2.0 Auto-Warn surfaces the alert right before swap confirmation. Pair that with 24h, 30-Day, or Monthly API passes ($0 auto-billing) and our 30% ?ref= affiliate engine for complete wallet defense.
PermanentDelegate Custody Defense & Rent Recovery Matrix
| Dimension | Solana Rent & Rug Shield | Sol Incinerator / ClaimYourSol | RugCheck / SolSniffer / GoPlus |
|---|---|---|---|
| ExtensionType 12 Byte Check | Live <120ms RPC TLV parse blocks non-zero PermanentDelegate | Zero pre-buy mint extension inspection | Cached API lag (30-180s) misses Block-0 launch snipes |
| AMM Pool Vault Burn Risk | Models BurnChecked drain against burned-LP pool vaults | No AMM liquidity vault modeling | Marks burned LP safe despite PermanentDelegate vault access |
| Hardware Wallet Protection | Pre-buy block stops tokens revocable without Ledger sig | Post-rug cleanup only | Passive badge does not auto-block sniper execution |
| Post-Sweep ATA Rent Recovery | Closes zeroed SPL (2,039,280) & Token-2022 (2,074,080+) ATAs | Takes ~2% to 5% cut on victims' remaining rent lamports | Zero CloseAccount recovery capability |
| 1st-Claim Recovery Fee | 0% fee — keep 100% of your first batch rent recovery | ~2% to 5% platform fee deducted on claim | N/A |
| Pass Structure & ?ref= Split | 24h / 30-Day / Monthly ($0 auto-billing) + 30% ?ref= SOL | No security API passes; smaller referral rewards | Recurring subscriptions; zero instant on-chain 30% SOL split |
4-Step Playbook: Block PermanentDelegate Rugs & Reclaim Swept ATAs
Step 1: Audit Every Token-2022 Mint With Layer-10 Pre-Buy
Paste the mint address into the 11-Layer scanner before buying. Layer-10 parses offset 166+ of the live Mint account to verify ExtensionType 12 (PermanentDelegate) is either absent or zeroed out.
Step 2: Ignore Burned-LP Hype When Seizure Extensions Exist
Never trust burned LP tokens on a mint carrying an active PermanentDelegate, because that delegate can burn tokens directly inside the DEX pool vault to extract 99%+ of WSOL liquidity.
Step 3: Sweep Empty ATAs Left Behind by Drained Positions
Connect Phantom, Solflare, or Ledger to detect zero-balance SPL and Token-2022 accounts where tokens were swept or sold, leaving 2,039,280 to 2,157,600+ lamports stranded per ATA.
Step 4: Sign 0x09 CloseAccount at 0% 1st Claim & Share ?ref=
Approve the non-custodial transaction to reclaim 100% of your locked SOL with zero first-claim fee, and distribute your ?ref= link for automatic 30% SOL referral payouts.
Frequently Asked Questions
Yes—for that specific Token-2022 mint! While your SOL and other SPL tokens remain completely safe behind your Ledger private key, the spl-token-2022 runtime explicitly authorizes a mint's PermanentDelegate to execute TransferChecked or BurnChecked on any token account of that mint without the wallet owner's signature.
No. Standard SPL Revoke (0x05) only clears the local delegate field at bytes [72..108] of your individual token account. PermanentDelegate lives permanently inside the Mint account's TLV header (ExtensionType 12) and overrides individual account settings across the entire token supply.
No. PermanentDelegate grants transfer and burn authority over token units, not CloseAccount authority over your ATA's lamports (unless you manually reassigned account close_authority). Once your token balance hits zero, you can still close the ATA yourself to recover your full rent deposit.
Only the active PermanentDelegate itself can call SetAuthority (AuthorityType::PermanentDelegate = 12) to set the authority to None (zeroes). Until bytes [170..202] read all zeroes on-chain, Layer-10 treats the mint as an active seizure risk.
Institutional Pricing Ladder ($0 Free 1st Claim + $19.99 / $49.99 / $99 / $500 Passes)
Free 1st Claim & 24h Trench Pass
Keep 2,039,280 / 2,039,280 lamports (0.00203928 SOL) on your first wallet claim vs Sol Incinerator ~2% and ClaimYourSol 5%. Extra single 11-Layer scan: $0.10. 24h Trench Pass: $1.99.
30-Day Trader Pro
Unlimited Web & Telegram 11-Layer pre-buy audits including Layer-11 Block-0 Jito/Sybil Cluster Defense, beating RugCheck, SolSniffer, and GoPlus.
30-Day Ultra Pro + Sniper Bot API
15,000 API calls/mo ($0.0033/call) + real-time Rug Webhooks + Layer-11 Block-0 Sybil & Token-2022 TLV flags for automated trading bots.
30-Day Quant Desk Pro API
100,000 API calls/mo ($0.00099/call), <120ms Priority SLA + Batch Sybil funding graph endpoints & Streamable HTTP MCP.
Enterprise Unlimited API
Unlimited B2B RPC-backed 11-Layer scoring feeds for wallets, DEX terminals, and launchpads with 100+ RPS throughput and 99.95% SLA.
Autonomous HTTP x402 & MCP
Machine-native Solana USDC & SOL settlement via /api/x402/v2 and /mcp with 14,640h Mainnet telemetry proof.
Earn a Sticky 30% Atomic ?ref= Split (+50% Higher Than 20% Programs)
Paste any valid Solana wallet address to generate your shareable ?ref=<Wallet> link. Every referred pass checkout ($1.99 / $19.99 / $49.99 / $99 / $500) or repeat rent cleanup splits 30% directly to your wallet inside the same unsigned Solana transaction with zero custody, zero withdrawal minimums, and automatic self-referral protection.
Related Solana Security & Rent Forensics Guides
Token-2022 Malicious TransferHook Honeypot Detector | Layer-10 Audit
Audit Token-2022 TransferHook honeypots via 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim + earn a 30% ?ref= split.
Token-2022 Hidden 100% TransferFeeConfig Trap Checker | 11-Layer
Catch 10,000 bps Token-2022 fee traps via our 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim + earn a 30% ?ref= split.
Token-2022 DefaultAccountState Frozen & Soulbound Detector | 11-Layer
Stop Token-2022 DefaultAccountState::Frozen traps via 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim + 30% ?ref= split.
Reclaim Token-2022 Withheld-Fee Empty Accounts | 0% 1st Rent Claim
Unlock stuck Token-2022 withheld-fee ATAs + 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) to 2,157,600 at 0% 1st claim + 30% ?ref= split.
Backpack Wallet SOL Rent Recovery & Pre-Swap 11-Layer Shield Guide
Reclaim 2,039,280 lamports (0.00203928 SOL) per empty Backpack ATA at 0% 1st claim. Add 11-Layer Shield pre-swap checks and earn a 30% ?ref= split.
HTTP x402 Solana Security API for Autonomous AI Trading Agents
Autonomous x402 11-Layer Shield API ($0.10 scan in SOL/USDC), 0% 1st claim of 2,039,280 lamports (0.00203928 SOL) per ATA, and 30% ?ref= split.