Solana Program Security: Audit Checklist for Smart Contract Developers
Review account and authority validation, state transitions, token handling, deployment controls and the evidence an external audit should cover.

Solana programs receive accounts from the transaction caller. The runtime enforces account ownership rules, but the application must still check that each supplied account is the right account for this instruction. Solana's account-structure reference explains who can modify account data and debit its lamports. This checklist helps scope a review; it cannot establish that a program is safe on its own. For the user-facing threat of malicious signatures, see our wallet-drainer guide.
1. Write the authority model first
For every instruction, record who may call it, which accounts must sign, which program owns each writable account, and which state fields bind those accounts together. A signer flag alone is insufficient: verify that the signer is the authority stored in the correct state account. Validate account type, initialization, expected mint or vault, owner program and any PDA seeds and bump. The Solana first-program guide demonstrates how Anchor's account constraints and a separate authority comparison work together. Our Anchor getting-started guide provides framework context.
Test wrong owners, wrong mints, wrong PDAs, duplicate accounts, unexpected writable accounts and valid signers controlling the wrong state object. Document which checks the framework supplies and which your handlers still need.
2. Trace every movement of funds and authority
For token transfers and SOL debits, identify the source, recipient and signing authority, then compare them with your intended state transitions. Include Token Program and Token-2022 paths if both are accepted; extensions can alter token behavior. Confirm decimals and rounding from the actual mint and use checked conversions for amounts. Test zero, maximum, partially filled and repeated operations. An unchecked cast or rounding direction can be as important as overflow.
Cross-program invocations require extra care. Verify the callee program ID, accounts passed to it and PDA signer seeds. Re-read or validate data you rely on after a call when the callee can change it. Solana's CPI reference describes privilege propagation and reentrancy rules. Avoid copying an EVM “checks-effects-interactions” recipe without checking Solana's execution and account synchronization behavior.
3. Test lifecycle and economic invariants
Specify allowed initialization, update and close transitions. Test a closed or uninitialized account being supplied again later in the same transaction, and confirm no stale data or lamports can revive a supposedly final state. How an account should be zeroed, reassigned or closed depends on its owner and framework; a bare lamports = 0 code fragment is not a universal closing procedure.
State invariants should be written as executable tests: for example, shares cannot exceed collateral claims, withdrawals cannot exceed user entitlements, and administrative changes cannot bypass delays. Include malicious account permutations, fuzzing, price-oracle failure and concurrent-looking sequences of instructions. Use a local validator or test VM with realistic account layouts and token programs, not only pure unit tests.
4. Review deployment and operational controls
Check the deployed program ID and upgrade authority, key storage, emergency controls and change process. Solana's deployment documentation explains the program authority, while verified-build guidance explains how to compare deployed code with source. A verified build is not an audit. An audit of one commit does not cover a later upgrade unless the changes are reviewed.
Keep a threat model and a list of known limitations with the code. Provide auditors with intended account relationships, trust assumptions, fund-flow diagrams, invariants and tests. Arrange a review of fixes, then monitor on-chain behavior and authority changes after deployment.
5. Match tools and review scope to the risks
For vulnerability reports after deployment, compare bug bounty platforms for Solana protocols.
Automated checks can help find known patterns but are not a substitute for design review. Sec3 and its Soteria lineage are among the Solana-focused options; dependency scanning and fuzzing with Trident can add different coverage. Ask what versions and rules a tool actually checked, and inspect its false positives and missed classes. OtterSec, Halborn and Neodyme are examples of firms whose published reports can help you assess relevant experience. Select a reviewer based on the program's actual mechanisms, obtain a written scope and verify that every important finding was resolved and rechecked.
The release decision should rest on the threat model, test results, reviewed code and deployed authority configuration together. No scanner, audit report or verified-build badge can guarantee the absence of vulnerabilities.
Tools mentioned
Compare features and read reviews.
Live health scores, average ratings, and direct links on MadeOnSol.

Omnipair
Permissionless lending and leveraged trading for any Solana token

Meteora
Dynamic liquidity protocol powering Solana token launches

OpenOcean
Cross-chain DEX meta-aggregator with zero-fee swaps across 40+ chains

Phoenix
Fully on-chain limit order book DEX built natively on Solana

Foxify
Peer-to-peer perpetual futures DEX on Solana with customizable trading pairs
Build with MadeOnSol API
KOL tracking, deployer intelligence, DEX streaming, and webhooks. Free API key — 200 requests/day.
import { MadeOnSol } from "madeonsol";
// Get a free API key at madeonsol.com/pricing
const client = new MadeOnSol({ apiKey: "msk_your_key" });
const { trades } = await client.kol.feed({ limit: 10 });
const { alerts } = await client.deployer.alerts({ limit: 5 });
const { tools } = await client.tools.search({ q: "trading" });Keep reading
More from the blog.

Comparisons
Bug Bounty Platforms for Solana Protocols Compared
Compare Immunefi, HackenProof and Cantina for a Solana bug bounty. Review public scopes, triage responsibility, reward decisions and researcher access.

Developer Tools
What Is a Solana API? A Developer's Guide to Building on Solana Data (2026)
Understand what Solana APIs are, what types exist, and how developers use them to build trading bots, portfolio trackers, and analytics dashboards. Covers RPC, enhanced APIs, data APIs, and when to use each.

Developer Tools
How to Track Solana Program Activity: Instructions, Events & CPI Chains
Learn how to track Solana program activity by monitoring program IDs, decoding instructions with Anchor IDLs, parsing custom events, and following CPI chains. Covers real use cases like DEX monitoring and pool creation detection.

Developer Tools
How to Build a Solana Token Analytics Dashboard (Price, Holders, Volume, Liquidity)
Learn how to build a Solana token analytics dashboard that combines real-time price feeds, holder data, trading volume, and liquidity metrics into a single view using TypeScript and the MadeOnSol API.

Developer Tools
Solana Webhooks: The Complete Guide to Real-Time On-Chain Alerts (2026)
Learn how to set up Solana webhooks for real-time blockchain alerts. Compare Helius, QuickNode, Shyft, and Triton webhook providers, with TypeScript code examples for wallet monitoring, NFT sales alerts, and payment confirmation.

Developer Tools
Solana Account Data: How Programs Store State On-Chain (2026 Guide)
Solana stores everything in accounts. This guide explains the Solana account model, account structure (lamports, data, owner), program accounts, PDAs, token accounts, and how to read and deserialize account data with practical TypeScript examples.
Enjoyed this article?
Explore the live data.
Real-time KOL trades, Pump.fun deployer intel, and 1,200+ ranked Solana & Robinhood Chain tools — free to explore.
Open the KOL Tracker