Drainproof

Cold storage manual · edition 1

Seven compartments.
One inspection.

What each check reads from the chain, how bad it is when it trips, and what the fixer can and can’t do about it. The fixer is open-source: github.com/alphadevelopmentorg/drainproof/tree/main/lib/fix.

01

Door shelves

Token delegates · doors left ajar

SPL and Token-2022 accounts with a delegate and a delegated amount. A delegate can move tokens without asking you.

Severity when found
● Critical: a delegate can move funds.
Fix
One-click Revoke (you sign). Nothing else is in the transaction.
When clear
“Door shelves shut.”
02

The crisper

Token accounts · owner & close auth

Token accounts whose owner or close authority isn't you, plus empty accounts still holding rent you can reclaim.

Severity when found
● Critical when someone else holds owner or close authority. ◦ Info for empty accounts holding rent.
Fix
One-click CloseAccount for empty accounts only. Foreign authority: move tokens to a fresh wallet.
When clear
“Crisper's yours.”
03

The freezer

Stake · stake & withdraw authority

Stake accounts where the staker or withdrawer authority is someone other than you.

Severity when found
● Critical: someone else can unlock your stake.
Fix
Manual: the fixer never builds SetAuthority. Move stake to a fresh wallet.
When clear
“Freezer's sealed.”
04

The door log

90 days of risky signatures

90 days of signatures, looking for Approve, SetAuthority, Assign and unknown programs, and whether any are still live.

Severity when found
▲ Warning, or ● critical if a risky approval is still live.
Fix
Shows what was opened and whether it's still open. Live approvals appear under 01.
When clear
“Door log clean.”
05

The ice maker

Custodial bot wallets you funded

SOL you sent to custodial trading-bot wallets, labelled only from public sources. Their keys live on their servers.

Severity when found
▲ Warning: funds held off-fridge, on someone else's server.
Fix
Manual: withdraw what you aren't using from the bot.
When clear
“No outside lines.”
06

Strangers' leftovers

Known drainer counterparties

Every counterparty in your history against a sourced list of known drainer addresses.

Severity when found
● Critical on a match with a sourced address.
Fix
Manual: check for open doors to that address first.
When clear
“Nothing that isn't yours.”
07

Mail on the door

Poisoned look-alikes & dust

Dust from addresses that copy the first and last characters of an address you use. It can't move funds; it's a trap for copy-paste.

Severity when found
▲ Warning, “+1 trap”. Can't move funds.
Fix
Manual: always paste from the source, never from history.
When clear
“No poisoned mail.”

Moving to a fresh wallet

  1. Create a brand-new wallet in your wallet app. Write the new seed phrase on paper. Never type it into a website.
  2. Send your SOL and tokens from the old wallet to the new address. Copy the new address from the wallet itself, never from history.
  3. Stop using the old wallet. If its seed phrase was exposed, assume someone else can sign with it.
  4. Inspect the new wallet to confirm every compartment is cold.
Warning

We will never ask for your seed phrase or private key. Ever.

Not to inspect, not to fix, not “to verify”. Anyone who asks is the raccoon. Inspecting needs only a public address. Fixing uses your own wallet’s popup, with every instruction shown in plain English first.