Best Smart Contract Audit Tools in 2026
Part of our guide to smart contract audits

Quick answer. Use Slither for Solidity and Forge if you already use Foundry; for Solana Rust, start with Clippy and Mollusk and add Trident for stateful flows. Use SMTChecker for Solidity assertions, Claude Code or Codex for test drafts, and OpenZeppelin Monitor for self-hosted alerts.
Video transcript
A clean scan does not tell you whether your vault can cover what it owes. Pick tools that fit your runtime, then test the rules your protocol depends on.
Run Slither against your Solidity build and triage what it flags. If you already test in Foundry, use Forge to check whether your rules hold across randomized calls.
Use Clippy for Rust lints and Mollusk for targeted instruction tests with accounts you supply. Add Trident when a property spans multiple instructions or account state transitions. Keep separate integration tests for runtime behavior Mollusk does not model.
Before you pick a fuzzer, write down what must stay true. For a vault, do assets still cover liabilities after deposits, withdrawals and fees?
For Solidity assertions, enable a verification engine in the SMTChecker. Use Certora when a rule warrants a separate specification. Treat unproved assertions and solver timeouts as unresolved.
If code access is approved, let Claude Code or Codex draft tests from your written rule. Check the expected result yourself.
If you can self-host, use OpenZeppelin Monitor. Start with upgrades and privileged role changes, name a responder, then simulate an event to check that the alert reaches them.
Read the full guide for what to keep from each check. If your release changes who can move funds, bring the proposed commit and the rules it must preserve to Guardian.
Pick Your Starting Stack
This guide distinguishes smart contract audit tools Guardian has publicly documented using from picks based on maintainer documentation.
Guardian's smart contract audit turns accounting and solvency rules into executable invariant tests. The protocol team keeps the invariant suite.
| Job | First Pick | Add or Switch When | Output to Keep |
|---|---|---|---|
| Solidity scanning | Slither for source checks | Use Mythril when you need symbolic analysis of EVM bytecode | Triaged findings and justified suppressions |
| Solana source checks | Clippy for general Rust linting | Pilot Sec3 X-Ray for Solana program source analysis | Lint results and triaged analyzer diagnostics |
| Solana execution checks | Mollusk for targeted instruction tests | Add Trident for multi-instruction fuzz campaigns | Account fixtures, instruction results and failing sequences |
| Solidity fuzzing | Forge when tests already run in Foundry | Add Echidna for a separate property campaign or Medusa for parallel coverage-guided fuzzing | Failing call sequences and the properties checked |
| Formal checks | SMTChecker for Solidity assertions | Halmos for symbolic Foundry tests; Certora for explicit EVM or Solana specifications | Result status, any counterexample, and model assumptions |
| Test drafting | Claude Code or Codex with Trail of Bits' property-based testing skill | Draft tests manually if assistant access to the code is not approved | Reviewed assertions and fixtures |
| Live monitoring | OpenZeppelin Monitor if self-hosting | Consider hosted monitoring if you cannot operate the service yourself | Alert rules with named responders |
Static Analysis and Scanners
Start with Slither if it runs against your existing Solidity build. Its detectors flag patterns, and contract summaries help you map unfamiliar code.[1]
Triage the backlog before making Slither a merge gate. Record why you suppressed each warning.
Use the same build inputs as your tests. If the scanner cannot compile your project, record a failed check, not a clean scan.
Clippy is a general Rust lint baseline. For Solana-specific source analysis, pilot Sec3 X-Ray on your own project before making it a CI gate.[2, 3]
X-Ray's latest listed release, v0.0.6, finds programs via solana-program or anchor-lang dependencies in Cargo.toml or Xargo.toml. It registers arithmetic overflow and underflow checks.[4, 5, 6]
The diagnostic list names signer and owner checks but does not establish that they run. Separately, a March 2026 patch corrected Rust-model rule registration without a new tagged release.[7, 8]
Skip Aderyn for a new pipeline. Cyfrin archived it on November 17, 2026 and stopped supporting installs and updates. It was written in Rust but analyzed Solidity.[9]
Mythril symbolically analyzes EVM bytecode; its latest listed release is 0.24.8, from March 27, 2024. Check compatibility with your target EVM.[10]
Fuzzing and Invariants
Write the rule before you choose a fuzzer. For a vault, start with whether total assets still cover liabilities after deposits, withdrawals and fee accrual.
In Forge, use handlers to steer randomized calls toward meaningful operations. Check the call summary for functions that rarely succeed.[11]
Guardian used a Solidity Forge harness to check Orderly's staking and revenue accounting after each randomized action.[12]
Add Echidna as a second engine for a dedicated property campaign. Guardian's Synthetix BFP Market and Poolshark case studies describe Echidna harnesses.[13, 14]
Choose Medusa for parallel workers and a reusable coverage-guided corpus. Port one property first and confirm the new harness checks the same rule.[15]
For test formats and benchmark limits, read the Echidna vs Medusa vs Foundry comparison.
Use Mollusk for instruction tests with explicit account fixtures. Keep separate integration tests for behavior its reduced Solana runtime does not model.[16]
Guardian's public LayerZero reports include the October 2026 Solana Console review. Its resolved Medium finding M-01 records a Mollusk test with relevant programs loaded: initialization failed for PermissionedBurn but passed for plain and transfer-hook mints.[17, 18]
Add Trident to generate sequences across instructions and check account state along the way. Define realistic flows before growing the campaign.[19]
Formal Verification and Symbolic Tests
Enable Solidity's SMTChecker by selecting a verification engine such as CHC. The checker treats require conditions as assumptions while trying to prove assert conditions.[20]
Try Halmos to run selected Foundry tests symbolically. Check the tool's feature support and execution bounds before interpreting the result.[21]
Use Certora when a property justifies writing a separate specification. The EVM workflow uses CVL; its Solana prover uses CVLR, a specification language embedded in Rust.[22, 23]
Choose a narrow rule, such as an issuance cap that must hold after every mint. List the calls and dependencies the model covers.
Check that the proof's preconditions admit the states the rule is meant to cover. A passing result is unhelpful if the model rules them out.
Record unproved assertions and solver timeouts as unresolved, not as successful checks.
AI Assistants for Test Drafts
Give Claude Code or Codex a rule your team has already written. Use Trail of Bits' property-based testing skill to draft tests for it.[24]
Review the expected result before looking at the generated assertion. If the test copies the implementation's arithmetic, rewrite the expectation from the spec.
Check that the generated test fails against a local fixture that violates the rule.
A 2026 vulnerability detection benchmark on two Solidity datasets found over-reporting from broad static analyzers and language-model tools. Budget time to triage scanner results.[25]
Guardian's two independent teams review the same scope: one pairs manual review with the invariant fuzzing suite; the other runs Helix. Only human-verified findings reach the report.[26]
For full-repository scanners, see the AI smart contract auditing tools comparison.
Monitoring After Deployment
Choose OpenZeppelin Monitor if your team can operate its own service. It filters activity on EVM-compatible networks and Solana and routes matching activity to configured destinations.[27]
For hosted monitoring, verify support for your chain, the signal you need and your delivery channel. See the smart contract monitoring tools comparison for options.
Hosted OpenZeppelin Defender retired on July 1, 2026. The self-hosted Monitor is a separate project.[28, 29]
Start with upgrades and privileged role changes. Name who gets paged and who can act if a change was unauthorized.
Before launch, simulate a matching event and verify that the on-call responder receives its alert.
How Tools Fit an Audit
Run fast checks on every pull request. Schedule deeper campaigns and rerun them when critical code changes.
Fuzzers sample behavior. Give the reviewer a list of rules you have not tested and important states your harness rarely reaches.[11, 13, 15]
Review the deployment configuration alongside the code. Name every dependency your tests replace with a mock.
After remediation, rerun the relevant checks against the release candidate. Keep a regression test for each fix.
Give the reviewer enough to rerun your checks:
- The exact commit, dependency lockfiles, compiler version and target runtime.
- The reviewed scope, including upgrade permissions and the external dependencies that hold or move funds.
- Pinned tool versions and exact rerun commands, with seeds where applicable.
- Remaining gaps and the person responsible for closing each one.
Get a Smart Contract Audit
If your release changes who can move funds or how balances are calculated, bring the proposed commit and the rules it must preserve. Scope a smart contract audit with Guardian.
Frequently Asked Questions
Is there a free smart contract scanner I can run locally?
Yes. Slither is open source under AGPLv3, and you don't have to upload unpublished source to a hosted scanner.[1]
Can I scan a deployed contract from its address?
SolidityScan's Quickscan takes an explorer link for a deployed contract with verified source on a supported network. Use the scan summary to decide what to investigate first.[30]
How often should Forge check an invariant?
Check after every call if the rule must hold throughout the sequence. Forge lets you space out evaluations, but a later call can restore a broken invariant before the next check sees it.[11]
Related reading
- Solidity Security Best Practices: 9 Keys
- Solana Smart Contract Security: Vulnerabilities and Fixes
- Foundry Invariant Testing: Handlers, Ghost Variables, Actors
- Smart Contract CI/CD Pipeline: Foundry, Slither and Fuzzing
Sources
- Trail of Bits: Slither: Smart Contract Static Analyzer
- Rust Project: Rust Clippy Documentation
- Sec3: X-Ray: Solana Programs Static Analysis Tool
- Sec3: X-Ray v0.0.6 Release
- Sec3: X-Ray v0.0.6 CLI Program Discovery
- Sec3: X-Ray v0.0.6 Ruleset Implementation
- Sec3: X-Ray v0.0.6 Diagnostic Configuration
- Sec3: X-Ray Fix for Rust Model Ruleset Registration
- Cyfrin: Aderyn Repository and Retirement Notice
- Mythril maintainers and Python Package Index: Mythril 0.24.8 Package Description and Release History
- Foundry: Foundry Guide: Invariant Testing
- Guardian: Orderly Solana Vault Review: I-10, Staking and Revenue Fuzzing Suite
- Trail of Bits: Echidna: Ethereum Smart Contract Fuzzer
- Guardian: Echidna vs Medusa vs Foundry: Which Fuzzer Should You Use?
- Trail of Bits: Medusa: Parallel Coverage-Guided Solidity Fuzzer
- Anza: Mollusk: Solana Program Test Harness
- Guardian: LayerZero Audit Reports by Guardian
- Guardian: LayerZero Solana Console Review: M-01, Mint Initialization Compatibility
- Ackee Blockchain Security: Trident: Rust Fuzzing Framework for Solana Programs
- Solidity Project: Solidity SMTChecker and Formal Verification
- Halmos maintainers: Halmos: Symbolic Testing for EVM Smart Contracts
- Certora: Certora Prover Documentation: CVL Rules
- Certora: The Certora Solana Prover
- Trail of Bits: Trail of Bits Skills Marketplace
- Dagstuhl Publishing: Do Smart Contract Auditing Results Transfer Across Datasets?
- Guardian: Best AI Tools for Smart Contract Auditing in 2026
- OpenZeppelin: OpenZeppelin Monitor Repository
- OpenZeppelin: Defender Sunset FAQ (June 30, 2025)
- OpenZeppelin: OpenZeppelin Documentation: Mapping Your Defender Setup
- SolidityScan: SolidityScan Docs: Quickscan of a Deployed Contract
- Foundry: Foundry v1.10.1 Release Notes
- Tenderly: Tenderly Documentation: Introduction to Alerts
- Guardian: Limit Break AMM Round 2: L-04, Fixed Pool Output Exceeds Ceiling
- Guardian: Smart Contract Security: Seven Layers Beyond One Audit
- Sec3: X-Ray v0.0.6 Rust Source Parser