Anti-Drainer Opcode Security // Cluster B • M013

How Fake 'Claim SOL' Drainers Disguise SPL SetAuthority (0x06) as CloseAccount (0x09)

Search ads and spoofed X replies targeting Solana rent recovery routinely deploy wallet drainers disguised as high-payout SOL cleaners. Instead of emitting safe zero-balance CloseAccount (0x09) instructions, phishing sites construct SPL SetAuthority (0x06) payloads or opaque CPI wrapper calls that silently reassign ownership of your funded USDC, WSOL, and liquid-staking ATAs. Solana Rent & Rug Shield enforces strict client-verifiable zero-balance invariants—returning all 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim vs Sol Incinerator ~2% and ClaimYourSol 5%—backed by 11-Layer Inner-CPI & Block-0 defense superior to RugCheck, SolSniffer, and GoPlus plus a 30% ?ref= split.

Run Safe Non-Custodial ATA Sweep Verify Opcode & CPI Shield Get 30% ?ref= Link
0x09 Only
Direct SPL CloseAccount Opcode
0 Wrapper CPI
No Opaque Proxy Smart Contracts
2,039,280
Safe 0% 1st-Claim Lamport Return
Layer-9 Trace
Inner-CPI Drainer Disarm Engine
Interactive Mainnet Lamport Calculator • Unit M013

Live Empty ATA Rent & Competitor Fee-Leak Simulator

Adjust your empty SPL Associated Token Account count below to compute exact 2,039,280 lamports (0.00203928 SOL) principal recovery on your 0% fee 1st claim versus Sol Incinerator (~2%–5%), ClaimYourSol (5%), and RefundYourSol (15%).

0.509820 SOL
Rent & Rug Shield 1st Claim (0.0% Fee • 509,820,000 lamports)
-0.010196 SOL
Lost on Sol Incinerator (~2.0% Close / up to -0.025491 SOL at 5% Burn)
-0.025491 SOL
Lost on ClaimYourSol / SolCleaner (5.0% Skim)
-0.076473 SOL
Lost on RefundYourSol (15.0% Relayer Skim)

Byte-Level Anatomy: SPL SetAuthority (0x06, AccountOwner) vs Genuine CloseAccount (0x09)

Phishing drainers exploit a critical nuance in the Solana SPL Token state machine: transferring tokens reduces your visible balance in wallet simulation, whereas reassigning the owner field (bytes 32..64 of the 165-byte SPL Account struct) via SetAuthority (instruction discriminator 0x06) moves zero tokens during the phishing transaction itself. The attacker serializes a 35-byte instruction payload—[0x06, 0x02, 0x01, <32-byte_drainer_pubkey>]—where 0x02 specifies AuthorityType::AccountOwner and 0x01 encodes COption::Some. Naive simulation previews show no outgoing USDC or token transfers, tricking users who expect to see only a small SOL rent credit—often baited by a fake 0.01 SOL airdrop dust lure in instruction 0.

Even more sophisticated phishing kits hide SetAuthority (0x06) or Approve (0x04) inside a custom unverified Anchor or Pinocchio wrapper program. The top-level instruction calls an innocent-sounding method like claim_rebate(), which then executes an inner Cross-Program Invocation (invoke) into TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA to hijack funded ATAs or drain native SOL via SystemProgram::Transfer. By contrast, a legitimate rent sweep NEVER calls an intermediary smart contract: every instruction targets Tokenkeg or Token-2022 directly with single-byte payload [0x09] (CloseAccount), which the Solana runtime natively rejects unless token amount == 0.

SPL Instruction Byte Layout: Malicious SetAuthority (0x06) vs Safe CloseAccount (0x09)
// MALICIOUS DRAINER PAYLOAD (35 bytes) -> Hijacks Funded USDC / JitoSOL / Meme ATAs!
Program:  TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Accounts: [0: victim_funded_usdc_ata (writable), 1: victim_signer (signer)]
Data:     [0x06, 0x02, 0x01, <32-byte_attacker_vault_pubkey>]
//         ^^^^  ^^^^  ^^^^
//         |     |     +-- COption::Some (1)
//         |     +-------- AuthorityType::AccountOwner (2) -> Overwrites ATA bytes 32..64!
//         +-------------- TokenInstruction::SetAuthority (6) -> Token balance stays unchanged in TX1!

// SAFE SOLANA RENT & RUG SHIELD PAYLOAD (1 byte) -> Mathematically Cannot Touch Non-Zero ATAs
Program:  TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Accounts: [0: empty_ata (writable), 1: victim_signer_destination (writable), 2: victim_signer (signer)]
Data:     [0x09] // TokenInstruction::CloseAccount -> Runtime enforces u64::from_le_bytes(data[64..72]) == 0

Four Deterministic Safety Invariants + 0% First-Claim Lamport Economics

Solana Rent & Rug Shield enforces four verifiable client and RPC invariants on every generated transaction: (1) Direct Canonical Program IDs only—only ComputeBudget111..., Tokenkeg..., TokenzQd..., and SystemProgram (solely on 1.5% repeat sweeps) may appear in programIdIndex, with zero proxy contracts; (2) Strict Opcode Whitelist—every SPL instruction data buffer must equal exact 1-byte [0x09]; (3) Destination Binding—account index 1 (rent lamport recipient) of every CloseAccount call must equal your connected wallet pubkey; and (4) Pre-Flight Account Layout Validation—raw offset 64..72 (amount) == 0 and offset 108 (state) == 1 (Initialized, skipping frozen state == 2 accounts).

Alongside zero-drainer security, you stop overpaying predatory 'legitimate' wrappers that charge drainer-lite fees—such as RefundYourSol (15%–28.8%) or ClaimYourSol (5%–20%). On 300 empty ATAs, our 0% first claim credits all 611,784,000 lamports (0.611784 SOL) directly to your wallet with zero intermediary custody. Subsequent cleanups charge just 1.5% (30,589 lamports/ATA), with 30% of repeat fees and 30% of $49.99/$99/$500 24h & 30-Day API passes ($0 auto-billing) split atomically to any ?ref= partner.

Pre-Sign Security Verification Checklist & 300-ATA Net Recovery Math
Invariant Check                     | Phishing 'Claim SOL' Site          | Solana Rent & Rug Shield
------------------------------------|------------------------------------|----------------------------------------
Top-Level Program Target            | Unverified Custom Proxy Program    | Native Tokenkeg / Token-2022 Only
SPL Instruction Discriminator       | 0x06 (SetAuthority) / 0x04 Approve | Strict 1-Byte [0x09] (CloseAccount)
Target ATA Balance (bytes 64..72)   | Targets highest-USD funded ATAs    | Enforces u64 amount == 0 (Runtime-safe)
Rent Destination Account (Acct[1])  | Attacker drain vault               | Strictly equals connected Signer[0]
300-ATA Net Return (1st Claim)      | -100% Wallet Drained               | +611,784,000 lamports (+0.611784 SOL)

Layer-9 Inner-CPI Simulation vs Static Scanners (RugCheck, SolSniffer & GoPlus)

Malicious CPI patterns do not appear only on fake rent sites—they increasingly weaponize malicious Token-2022 TransferHook programs and custom AMM pools on Solana. Traditional token scanners like RugCheck, SolSniffer, and GoPlus parse static account headers at rest without tracing dynamic inner Cross-Program Invocations across simulated trade paths, and they provide no defense against Block-0 Jito Sybil supply traps where mint authorities are already revoked.

Our 11-Layer Shield runs deep Layer-9 Inner-CPI Trace inspection (L9_INNER_CPI_TRACE) alongside Layer-3 Token-2022 TLV auditing (catching PermanentDelegate 0x0C and malicious TransferHook state mutations) and Layer-11 Block-0 Jito bundle graph analysis in under 120ms. Whether you are reclaiming trapped 2,039,280-lamport ATA deposits or sizing a 5 SOL entry into a newly migrated pool, every execution path is verified before your private key signs.

Drainer Security & Fee Audit: Rent & Rug Shield vs Phishing Sites & Rivals

DimensionSolana Rent & Rug ShieldFake 'Claim SOL' Ads / High-Fee ClonesRugCheck / SolSniffer / GoPlus
SPL Opcode TransparencyDirect 1-byte [0x09] CloseAccount onlyHidden 0x06 SetAuthority or proxy CPIRead-only; does not build safe Close TXs
Non-Zero Balance ProtectionNative SPL runtime + offset 64..72 == 0Specifically targets funded USDC/SOL ATAsStatic token check only
1st-Claim Recovery Fee0.0% (Full 2,039,280 lamports kept)15%-28.8% skim or 100% wallet drainZero rent recovery functionality
Layer-9 Inner-CPI InspectionSimulates nested invoke_signed call treesUses nested CPI to mask asset theftStatic header scan misses dynamic CPI
Block-0 Jito Sybil AuditLayer-11 flags 10-15 wallet Slot-0 bundlesZero token rug protectionBlind to <6% split fresh wallets
Affiliate ?ref= Architecture30% atomic direct-to-wallet splitPhishing affiliate links steal user fundsNo atomic on-chain SOL referral split

4-Step Anti-Drainer Protocol for Safe Solana Rent Recovery

Step 1: Verify Domain Canonical URL & Never Click Paid Search Ads

Always bookmark rentandrugshield.com directly instead of clicking sponsored search ads or unsolicited X replies promising 'unclaimed airdrop SOL'. Legitimate rent recovery only reclaims 2,039,280 lamports per empty ATA you previously funded.

Step 2: Confirm Direct Tokenkeg / Token-2022 [0x09] Instructions

Expand your Phantom, Solflare, Backpack, or Ledger transaction details before signing. Verify that only native SPL Token CloseAccount calls appear, with zero SetAuthority (AccountOwner), Approve, or unverified third-party smart contracts.

Step 3: Collect 100% of Your 0% First-Claim Principal

Approve the non-custodial v0 batch to sweep up to 24 zero-balance ATAs per packet directly into your own wallet address—retaining every single lamport on your first claim with zero custodial intermediary.

Step 4: Audit Unfamiliar Tokens With Layer-3 & Layer-9 Shield

Before interacting with airdropped dust tokens or new Pump.fun mints, run a <120ms 11-Layer scan to expose PermanentDelegate extensions, TransferHook traps, and Slot-0 Sybil clusters, and share your 30% ?ref= link safely.

Frequently Asked Questions

Why doesn't Phantom or Solflare always show token loss on a SetAuthority (0x06) drainer?

Because SetAuthority with AuthorityType::AccountOwner (0x02) modifies the 32-byte owner authority inside the ATA data buffer (bytes 32..64) without moving a single token during that block. Only after your signature confirms does the attacker submit a second transaction—signed solely by their own key—sweeping your entire USDC or token balance out of the hijacked ATA.

Why is an unverified wrapper smart contract a red flag in a rent cleaner?

Standard SPL CloseAccount (0x09) is built natively into Solana's canonical Tokenkeg and Token-2022 programs. No custom Anchor or Rust proxy contract is needed to close your own empty ATAs. Wrapper contracts exist either to enforce predatory 15%-28.8% fees or to hide malicious inner Cross-Program Invocations from basic UI decoders.

What happens to frozen dust tokens in my wallet during a sweep?

If a scammer froze an ATA (account byte offset 108 == 2, AccountState::Frozen), the SPL runtime rejects CloseAccount with TokenError::AccountFrozen unless thawed by the freeze authority. Our scanner automatically detects state == 2 and legacy frozen accounts beforehand, isolating them cleanly so your valid 2,039,280-lamport batch transactions never revert.

How can creators monetize safe security education with the 30% ?ref= split?

Security researchers and trading educators can append ?ref=<SOL_WALLET> to any Solana Rent & Rug Shield guide or scanner link. Users get a verified 0% first claim plus 11-Layer anti-drainer protection, while educators earn an instant 30% atomic on-chain split on repeat 1.5% sweeps and $49.99/$99/$500 passes ($0 auto-billing).

Institutional Pricing Ladder ($0 Free 1st Claim + $19.99 / $49.99 / $99 / $500 Passes)

New layers included free during active pass, $0 auto-billing. Settle instantly in SOL, SPL USDC, Stripe Card, or autonomous HTTP 402 (x402).

Free 1st Claim & 24h Trench Pass

$0 Free 1st Scan & 0% 1st Claim

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.

Launch Live Scanner

30-Day Trader Pro

$19.99/mo$39.99/mo

Unlimited Web & Telegram 11-Layer pre-buy audits including Layer-11 Block-0 Jito/Sybil Cluster Defense, beating RugCheck, SolSniffer, and GoPlus.

Activate $19.99 Trader Pro

30-Day Ultra Pro + Sniper Bot API

$49.99/mo$99.00/mo

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.

Get $49.99 Sniper Bot API

30-Day Quant Desk Pro API

$99.00/mo$199.00/mo

100,000 API calls/mo ($0.00099/call), <120ms Priority SLA + Batch Sybil funding graph endpoints & Streamable HTTP MCP.

Unlock $99 Quant Desk API

Enterprise Unlimited API

$500/mo$999/mo

Unlimited B2B RPC-backed 11-Layer scoring feeds for wallets, DEX terminals, and launchpads with 100+ RPS throughput and 99.95% SLA.

Provision $500/mo Enterprise SLA

Autonomous HTTP x402 & MCP

x402 v2 Zero-Signup Agent Pay

Machine-native Solana USDC & SOL settlement via /api/x402/v2 and /mcp with 14,640h Mainnet telemetry proof.

Inspect x402 & MCP Spec
Zero-Custody On-Chain Affiliate Engine (3,000 bps)

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

Unit M008 • Cluster B

ClaimYourSol Alternative: Beat 5%–20% Fees With 0% 1st SOL Claim

Stop losing 5% to 20% on ClaimYourSol. Reclaim 100% of 2,039,280 lamports (0.00203928 SOL) on your 1st claim + 1.5% repeat, 30% ?ref= split & 11-Layer Rug Shield.

Unit M009 • Cluster B

RefundYourSol 15%–28.8% Skim Forensics vs 0% 1st SOL Rent Claim

On-chain forensics exposing RefundYourSol's 15% to 28.8% empty ATA recovery fees vs Solana Rent & Rug Shield: 0% 1st claim (2,039,280 lamports) + 11-Layer Shield.

Unit M010 • Cluster B

UnclaimedSOL vs Solana Rent & Rug Shield (0% 1st Claim + 11-Layer Audit)

Compare UnclaimedSOL fees & security vs Solana Rent & Rug Shield: reclaim 100% of 2,039,280 lamports (0.00203928 SOL) on Claim #1, 30% ?ref= split & 11-Layer Shield.

Unit M011 • Cluster B

SolCleaner 5% Fee vs Rent & Rug Shield: 0% First-Claim SOL Audit

Compare SolCleaner 5% tax vs Rent & Rug Shield: keep all 2,039,280 lamports (0.00203928 SOL) per ATA on 0% 1st claim, 11-Layer Shield, and 30% ?ref= split.

Unit M014 • Cluster B

Solana Empty ATA Rent Math: 2,039,280 Lamports & Token-2022 Guide

Exact Solana Rent::minimum_balance(165) math: reclaim all 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim with 11-Layer Shield and 30% ?ref= split.

Unit M020 • Cluster C

Pump.fun Dev Sold Bait & 2-Hop Fresh Wallet Splitter Tracker Tool

Expose Pump.fun Dev Sold bait & 2-hop splitters via 11-Layer Shield. Reclaim 2,039,280 lamports (0.00203928 SOL) at 0% 1st claim plus 30% ?ref= split.