What is smart contract auditing?
A smart contract audit is a structured security review of on-chain code. Auditors read the code, test assumptions, look for known vulnerability patterns and economic weaknesses, and write reports with fixes.
Auditors work at security firms, as independent researchers, on competitive audit platforms such as Code4rena, Sherlock and Cantina, and through bug bounty programmes like Immunefi, always within the programme’s rules.
How to use this Smart Contract Auditing roadmap
Solid Solidity skills come first. Then practise on intentionally vulnerable training contracts and past audit contests where findings are already public.
Only test contracts in scope of a programme or on your own local copies. Never interact with live contracts in ways a programme does not allow.
1Step 1: Deep Solidity and EVM
You must know the code better than its authors.
What is it?
Go beyond basics: storage layout, the EVM, low-level calls, proxies and gas behaviour.
What to learn
Read code more than you write it. Auditing is mostly careful reading.
Learn each topic here
Solidity in depth
Inheritance, modifiers, events and errors.
Why it matters: Spot subtle mistakes.
EVM basics
Stack, memory, storage and opcodes.
Why it matters: Understand what code really does.
Low-level calls
call, delegatecall and staticcall.
Why it matters: Source of many bugs.
Proxies and upgrades
Storage collisions and initialisers.
Why it matters: Common in production.
Token standards
ERC-20, ERC-721, ERC-1155 and ERC-4626 quirks.
Why it matters: Integration bugs.
Example
solidity
// Initialiser that can be called again (bug)
function initialize(address owner_) public { owner = owner_; }
// Fixed with OpenZeppelin Initializable
function initialize(address owner_) public initializer { owner = owner_; }An unprotected initialiser and its fix.
Helpful resource: Solidity documentation
2Step 2: Vulnerability classes
Know the patterns behind past incidents.
What is it?
Most findings fall into known categories. Learn each one, how it appears in code and how to fix it.
What to learn
For each class, keep a note with a vulnerable snippet, the fix and a real incident reference.
Learn each topic here
Reentrancy
External calls before state updates.
Why it matters: Classic, still found.
Access control
Missing or wrong permission checks.
Why it matters: Top cause of losses.
Oracle and price manipulation
Spot prices used as truth.
Why it matters: Major DeFi risk.
Arithmetic and rounding
Precision loss and share inflation.
Why it matters: Subtle vault bugs.
Logic and business rules
Code that does the wrong thing correctly.
Why it matters: Hardest to find.
Example
solidity
// Fix: checks-effects-interactions + guard
function withdraw(uint256 amount) external nonReentrant {
require(balances[msg.sender] >= amount, "insufficient");
balances[msg.sender] -= amount; // effect first
(bool ok, ) = msg.sender.call{value: amount}("");
require(ok, "transfer failed");
}A safe withdrawal pattern that prevents reentrancy.
Helpful resource: SWC registry and OWASP Smart Contract Top 10
3Step 3: Tools and testing
Automate what you can.
What is it?
Static analysers, fuzzers and formal tools find classes of bugs quickly and let you prove assumptions.
What to learn
Tools find easy issues. Your value is the logic bugs they miss.
Learn each topic here
Slither
Static analysis for Solidity.
Why it matters: Fast first pass.
Foundry tests and fuzzing
Write proof-of-concept tests for findings.
Why it matters: Show issues are real.
Invariant testing
Properties that must always hold.
Why it matters: Deep bug discovery.
Echidna and Medusa
Property-based fuzzers.
Why it matters: Edge cases humans miss.
Formal verification basics
Certora or Halmos for proving properties.
Why it matters: Highest assurance.
Example
bash
slither . --exclude-dependencies
forge test --match-test test_PoC -vvvv
forge test --match-contract InvariantRunning static analysis and focused tests during an audit.
Helpful resource: Slither
4Step 4: Audit methodology
A repeatable process.
What is it?
Good auditors follow a method: understand the system, map trust and money flows, list assumptions, then test them.
What to learn
Write down every assumption the developers make. Bugs live where assumptions fail.
Learn each topic here
Scoping
Which contracts, commits and chains are in scope.
Why it matters: Clear boundaries.
System understanding
Docs, diagrams and talking to developers.
Why it matters: Context for findings.
Threat modelling
Actors, assets, entry points and trust.
Why it matters: Focus on what matters.
Manual review passes
Line-by-line, then flows, then economics.
Why it matters: Thorough coverage.
Proof of concept
Tests demonstrating each issue on a local copy.
Why it matters: Convincing findings.
Example
text
Audit notes: Vault v2
Actors: depositor, keeper, admin (multisig)
Money flows: deposit -> strategy -> harvest -> fees
Assumptions to test:
1. Share price can never be manipulated by a first depositor
2. Keeper cannot withdraw user funds
3. Fee changes are timelockedStructured notes that guide the review.
Helpful resource: Secureum resources
5Step 5: Reporting and communication
Findings only matter if they are fixed.
What is it?
Clear reports with severity, impact, proof of concept and recommendations are the product of an audit.
What to learn
Write for a developer reading at 2 a.m. Be precise and short.
Learn each topic here
Severity ratings
Impact and likelihood to rank findings.
Why it matters: Teams fix the right things first.
Finding structure
Summary, details, impact, PoC and recommendation.
Why it matters: Clear, actionable reports.
Fix review
Check that fixes work and add no new bugs.
Why it matters: Complete the cycle.
Client communication
Questions, updates and handling disagreement.
Why it matters: Professional relationships.
Responsible disclosure
Private reporting and programme rules.
Why it matters: Legal and ethical work.
Example
text
[H-01] First depositor can inflate share price
Impact: later depositors lose funds to rounding
Likelihood: medium (needs empty vault)
PoC: test_FirstDepositorInflation (local fork)
Recommendation: use virtual shares/decimals offset or seed initial depositA concise high-severity finding.
Helpful resource: Code4rena reports
6Step 6: Competitive audits and career
Expert level: build a reputation.
What is it?
Experts compete in public audit contests, specialise in areas like DeFi or zero-knowledge, lead audits and build a public track record.
What to learn
Your public results are your CV. Track findings, rankings and payouts over time.
Learn each topic here
Audit contests
Code4rena, Sherlock and Cantina.
Why it matters: Real code and public results.
Bug bounties
Immunefi and protocol programmes, strictly within scope.
Why it matters: Rewards for responsible disclosure.
Specialisation
DeFi, bridges, ZK, Solana or Move.
Why it matters: Deeper expertise.
Leading audits
Coordinating teams and final reports.
Why it matters: Senior roles.
Continuous learning
Post-mortems and new research.
Why it matters: The field changes fast.
Example
text
Track record (12 months)
Contests entered: 14
Valid highs: 6 | mediums: 19
Top-10 finishes: 3
Specialty: lending and vault accountingA simple record that shows growth.
Helpful resource: Cantina
Smart Contract Auditing roadmap project ideas
Public, permitted work builds your reputation: training write-ups, mock audits of past contests and contest results.
Annotated contracts
Line-by-line notes on audited code.
Training write-ups
Fix notes for practice levels.
Tool-assisted review
Slither and invariants on a past contest.
Mock audit
Timed audit using a clear method.
Full report
Professional report with PoCs and fixes.
Contest record
Several public contests with write-ups.
Tips to finish this smart contract auditing roadmap
- Stay in scope. Only test what you are allowed to test.
- Read past reports. They teach patterns fast.
- Write PoCs on local copies. Never test on live systems without permission.
- Rest your eyes. Fresh reviews catch more bugs.
Career paths and next steps
Auditing leads to security researcher, smart contract auditor, protocol security engineer and lead auditor roles. Security firms and exchanges, including VARA-regulated firms in Dubai, need these skills.
Next, specialise in DeFi security, formal verification or another chain such as Solana.
Related roadmaps
Smart Contract Auditing Roadmap FAQs
How do I become a smart contract auditor?
Master Solidity, study vulnerability classes, do mock audits of past contests and join public audit competitions.
Do auditors earn well?
Top auditors earn well, but income in contests varies. Firm roles offer steadier pay.
Is auditing legal?
Yes, when done for clients or within public programme rules. Testing outside scope is not.
Which tools should I learn first?
Foundry, Slither and a fuzzer such as Echidna or Medusa.