Skip to main content

Sui Move Auditing

What's left to audit when the compiler already prevents 5 of the OWASP Smart Contract Top 10?

Move eliminates re-entrancy, asset duplication, and unchecked access control by construction. The audit surface is different — not "find the reentrancy bug" but "verify the business logic and economic invariants."

What the Compiler Prevents

VulnerabilityEVM (Solidity)Move (Sui)Eliminated?
Re-entrancyManual guards (OpenZeppelin)No recursive calls by designYes
Asset duplicationManual balance managementLinear types — move only, never copyYes
Integer overflowAuto-checked since 0.8Always checked at bytecode verifierYes
Access controlModifier conventionsCapability objects (compiler-enforced)Yes
Dangling referencesN/ABorrow checkerYes

What Still Needs Auditing

RiskExampleOur Coverage
Business logicCart price exceeds intent budget in mandate moduleTested (mandate_tests.move)
Economic invariantsAttribution percentages must sum to 100Proved (tokenomics_validation)
State machine correctnessDevice lifecycle transitions (Active → Maintenance → Decommissioned)Coded (device_registry)
Permission escalationAdmin capability transfer or theftCapability pattern prevents
Oracle trustPrecision agriculture relies on sensor data qualityArchitectural — not code-level

Our Testing

ModuleTest CoverageTechnique
collision644 lines, 30+ scenariosQuality scoring, spam detection monotonicity, value attribution
tokenomics_validation80 linesProperty-based economic proofs with 1M token pools
mandate95 linesHappy path: intent → cart → approval flow
test_framework437 linesReusable property generators for all modules

Verification Tools

ToolWhat It DoesMaturity
Move ProverFormal verification of invariantsProduction (built into toolchain)
Sui ProverExtended formal verification (open-sourced 2025)Production
BelobogFuzzing for Move contractsGrowing
sui move testUnit + integration testing in MoveProduction

Move Prover is the differentiator. Formal verification is built into the toolchain — not a $50K+ audit add-on.

What Goes Here

Pages in this directory document security patterns, vulnerability analysis, Move Prover examples, and testing strategies. Equivalent to EVM Auditing in the EVM section.

Context

Questions

If Move eliminates the vulnerability classes that caused $325M in losses in 2025, where does the remaining audit spend go — and is that spend justified by the business logic risk?