Move smart contract audit: what the language checks and what it leaves to you

A Move smart contract audit checks what the language leaves to the developer: who may call each function, which objects or resources a caller may touch, and whether the math holds. The Move verifier stops assets from being copied or silently dropped, but Move does not enforce authorization policies, and a wrong formula runs exactly as written. QuillShield audits Solidity today, so for Move code on Sui or Aptos request a manual audit from QuillAudits.

QuillShield doesn't support Move today. It audits Solidity in Foundry projects. For Move code, request a manual audit from QuillAudits.

Last updated . 7 minute read. By the QuillAudits Team.

What does Move guarantee, and what is left to the audit?

A March 2026 guide from HackenProof sums up what the language guarantees: every resource with the key ability must be explicitly moved, stored or destroyed, a struct without copy cannot be duplicated, and the VM verifies all bytecode before it runs. Attackers can't trigger classical EVM-style reentrancy, although the guide notes that logical cycles may exist through function values in Move 2.x.

The same guide is just as clear about the limits. Move does not enforce authorization policies, and if the business logic is wrong, the MoveVM will execute the wrong logic faithfully. Integer division truncates, and the overflow protection in the VM does not cover left shifts. A Move audit spends most of its time inside those limits.

How do Sui objects and Aptos resources change the review?

Sui and Aptos both run Move, but they store state differently, and the review follows the storage model. The Hacken checklist puts the difference in one line: confirm that global borrowing happens from the correct address, since Aptos differs from the input-based model of Sui.

On Sui, state lives in objects that transactions pass in. The SlowMist guide to auditing Sui Move and the Hacken checklist cover these points:

  • Every object has a unique ID and an ownership type: owned by an address, shared, immutable or wrapped inside another object, each with its own access rules.
  • A private object wrongly turned into a shared object exposes it to callers who should never reach it.
  • public functions can be called from transactions and from other modules, entry functions take their arguments from the transaction, and public(package) replaces friend visibility in recent Sui versions.
  • Dynamic fields need keys unique enough to avoid collisions, children need handling when a parent is deleted, and the TreasuryCap of a coin must not be reachable by anyone who shouldn't mint.
  • An upgrade publishes the new code at a new address and init does not run again, so new state needs its own setup path.
  • Validators can reorder transactions, so a multi-step flow should check state at each step.

On Aptos, resources live in global storage under an address. The Hacken checklist and the Aptos audit lessons from CertiK cover these points:

  • Each borrow_global should read from the address of the intended owner, and the signer should match it.
  • A ConstructorRef must never leak, since it can add resources to an object or grant transfer rights.
  • Moving one resource in a resource group should not move the others by accident, and a recipient must have registered a coin type before it can receive that coin.
  • Habits carried over from other languages cause trouble: emulating signed integers brings overflow bugs back, and giving a resource the copy ability sends updates to a copy instead of to global storage.

What are the main Move security vulnerabilities?

The table lists the classes a Move review covers, with the page that explains each one in Solidity terms where the mechanics carry over.

Bug class What goes wrong in Move What to check
Missing authorization A public function that changes balances or settings takes no capability or owner check, because Move enforces types, not who may call. Which capability or owner check guards each function that moves value?
Wrong object or resource access Sui: a function acts on a shared object the caller shouldn't reach. Aptos: borrow_global reads from an address the signer doesn't control. For each object or resource, who may pass it in or borrow it?
Abilities granted too widely drop on an asset lets it vanish outside the burn path, and copy on a resource sends updates to a copy. Which structs that hold value have drop, copy or store, and why?
Capability leakage A TreasuryCap, an admin capability or an Aptos ConstructorRef reaches code outside its trust boundary. Where can each capability travel after it is created?
Unchecked generic types A function accepts any type argument where only one coin or asset type is valid. Is every generic type argument checked against the type the logic assumes?
Overflow in shifts Arithmetic aborts on overflow, but bitwise operations are not overflow-checked, so a hand-written check is the only guard. Does each shift have a bound that is tested at the edge?
Rounding and precision Integer division truncates and there are no floating-point types, so a fee or interest amount can round to zero. Does each division round in favor of the protocol, at small amounts too?
Oracle and price authority A price update path without an authority check lets anyone set a price, and HackenProof cites a Typus Finance incident of this kind. Who can write each price, and where is that checked?
Flash loans Single-transaction borrowing can move the prices or balances that rewards, interest and oracles read. Which values can a loan inside one transaction push, and who reads them?
Denial of service Unbounded loops or growing vectors run out of gas. Is every vector and loop capped?

The rows draw on SlowMist, which notes that bitwise operations in Move do not undergo overflow checks and that Move has no floating-point types, on the Hacken checklist for abilities, capability leakage, generic types and unbounded loops, and on HackenProof for truncating division and the Typus Finance oracle path.

What happened in the Cetus exploit?

Protocol Cetus
Date 22 May 2025
Chain Sui
Loss $223M, of which about $162M was frozen after Sui validators voted to reject transactions from the attacker
What happened Cetus, a DEX on Sui, used an open-source math library whose overflow check in checked_shlw compared values against the wrong limit, so most values greater than 2^192 passed. The 64-bit left shift that followed overflowed silently, because a left shift in Move does not abort on overflow, and the overflow corrupted the token amount that get_delta_a computed for the liquidity the attacker added. Cetus called the root cause a misapplied integer overflow safeguard.
Sources The Block, Dedaub

The Block, reporting on the Cetus incident report, gives the loss and the frozen amount, and an analysis by Dedaub walks through the faulty mask in checked_shlw and the get_delta_a function in clmm_math.move. In any Move codebase, a helper that guards a shift needs tests at its exact boundary, because the VM won't stop that overflow for you, and a library you import, even a small math one, is code in your audit scope.

The Cetus exploit analysis has the full timeline.

Which tools exist for Move security?

  • Move Prover: the formal verification tool for Move, which checks properties written as preconditions and postconditions in spec blocks, as CertiK describes it.
  • Sui Prover: a standalone formal verification tool for Sui smart contracts, developed by Asymptotic, according to the Sui blog.
  • MoveScanner: a research static analyzer that reads compiled Move modules without source code, covers five vulnerability types and reports 88.2% detection accuracy on its own benchmark. The paper gives no code link.
  • Move Vulnerability Database: a catalog of Move vulnerabilities that the HackenProof guide points to.
  • Move Registry: the on-chain package management system of Sui, which can link source code, documentation and audit reports to published packages.

A prover checks the properties you write down and says nothing about the one you forgot, so most Move findings still come from reading who can reach each object, resource and capability, which is why the review questions above matter more than any single tool.

Can QuillShield audit Move?

QuillShield does not audit Move today. It supports Solidity, for Foundry projects, and its full audit and pull request checks don't cover Move on Sui or Aptos. For a Move codebase, request a manual audit from QuillAudits, the audit firm that makes QuillShield, which has audited 1,500+ protocols since 2018 and is ISO/IEC 27001:2022 certified.

If you also ship Solidity contracts on an EVM chain, the Solidity audit page covers what QuillShield checks there. For other non-EVM languages, see the Rust audit page, and for how the two kinds of review split the work, AI audit vs manual audit.

Talk to an auditor about the scope and timing of a manual Move audit.

What should you check before a Move audit?

  • For each public and entry function, which capability or owner check guards it?
  • Which objects are shared, and should every caller be able to pass each of them in?
  • Which structs that hold value have drop, copy or store, and is each ability needed?
  • Where can each capability, such as a TreasuryCap or a ConstructorRef, travel after it is created?
  • Does every shift and every hand-written overflow check have tests at its exact boundary?
  • Does each division round in favor of the protocol, including at the smallest amounts?
  • After an upgrade, does any new state rely on init, which won't run again?

FAQ

Is Move immune to reentrancy?

Move rules out classical EVM-style reentrancy, but HackenProof notes that logical cycles may exist through function values in Move 2.x, and SlowMist describes the risk as limited rather than gone.

Does Move check integer overflow?

Arithmetic has default overflow checks, but bitwise operations do not, and an overflowing left shift does not abort. The Cetus loss on 22 May 2025 came from a hand-written check around such a shift.

How is a Sui audit different from an Aptos audit?

Sui passes objects into functions as inputs, so the review asks who may pass each object. Aptos keeps resources in global storage under addresses, so it asks whether each borrow reads the right address for the signer, which the Hacken checklist treats as the main difference.

Does QuillShield support Move?

QuillShield supports Solidity in Foundry projects today, so for Move on Sui or Aptos, request a manual audit from QuillAudits.

Sources

QuillShield is building the security layer between AI and money, so you can keep shipping between audits.

Sign-up is free, and new accounts get $50 in credit, good for up to half of an order.

  1. 1Sign up and import a repo
  2. 2See the exact price before anything is charged
  3. 3Approve it, and the audit starts