Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Move Capability Patterns

Notes on capability-based access control in Move (Sui and Aptos). Coming from an EVM background, Move's resource model is fundamentally different — you cannot call arbitrary functions on arbitrary contracts, and capabilities (special objects) gate privileged operations instead of msg.sender checks.

This repository documents patterns I found while reading open-source Move contracts, with a focus on what can go wrong.

Contents

Why Move

After spending a year on EVM auditing, I started looking at Move because:

  1. More DeFi TVL is moving to Sui and Aptos
  2. The security model is different enough that EVM audit intuitions do not transfer directly
  3. The capability pattern is elegant but has its own failure modes that are under-documented

Related

About

Security patterns for Move language capability-based access control. Notes from reading Sui and Aptos contracts.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors