October 26, 2026
Auditing Smart Contracts on Solana
Account validation, program-derived addresses, cross-program calls, and the risks behind Solana protocol accounting.
Author:
Tigran PiliposyanIn short: Solana programs keep state in separate accounts that each transaction passes in, so a Solana audit checks whether the program verifies those accounts, the authorities and addresses behind them, the programs it calls, and the tokens, prices and shares involved. Certora’s Solana audits have found missing authorization checks, oracle update failures, share-pricing flaws and accounting errors that only appear across multiple operations.
In one Certora audit of Lulo, the deposit_pool instruction required the owner’s signature but never checked that the signer matched the owner recorded in the UserAccount it modified. An attacker could deposit a minimal amount into another user’s account that had no referrer set, name themselves as the referrer, and collect the referral fees on later deposits by that user. The attack repeated across every such account. Lulo fixed the issue.
