# Map Authorization in Sui and Aptos Move

Move access rules can depend on both source checks and who holds an object or capability. Build a source-linked authority map that separates verified controls from missing evidence.

## Install

```bash
npx skillstore add flint-research/move-authority
```

## Metadata

- Status: approved
- Slug: flint-research-move-authority
- Skillstore revision: r1
- Version status: missing
- Tree hash: fd85bd9d436c280656ed1eb22dbb2970f24927f13fe971e2ea8d9ff12fe15576
- Author: flint-research
- GitHub username: flint-research
- Repository: https://github.com/flint-research/skills/tree/b739665d19cd1d924d41c680722e1372867a1bff/auditing/move-audit/skills/move-authority
- Ref: d715043e3196bdd213a9eb9e5f78632e50554733
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 72
- Public page: https://skillstore.pages.dev/skills/flint-research-move-authority
- Manifest: https://skillstore.pages.dev/api/skills/flint-research-move-authority/manifest

## Capabilities

- Classify transaction entry points and functions with public, package, or friend visibility.
- Record signer parameters and capability types, then check where source enforces the corresponding authority.
- Review Sui object identity, ownership modes, and shared object checks.
- Review Aptos signer and address binding, delegated authority, and object references.
- Map package upgrade controls and distinguish source checks from unresolved custody or policy.

## Use Cases

- Check a Sui module before review: List callable functions, identify their object inputs, and document where the module verifies object identity or ownership.
- Review Aptos signer checks: Trace how signer addresses are tied to expected accounts. Identify checks that depend on delegated authority or external policy.
- Document upgrade authority: Map upgrade controls and record what evidence is still needed to verify who can approve a package upgrade.

## Prompt Templates

### List entry points

```
Use only the local Move source I provide. List transaction entry points and function visibility. Cite each declaration.
```

### Verify signer binding

```
Review this local Aptos module against the expected roles I provide. Identify which checks bind each signer to the required account.
```

### Map Sui object authority

```
Review the local Sui modules I provide. Map shared object identity checks and administrative capability requirements. Mark custody as unresolved where the evidence is missing.
```

### Assess upgrade authority

```
Compare upgrade controls across the scoped packages and trusted package identities I provide. Cite enforcement points and list evidence needed to verify custody or external policy.
```

## Limitations

- The workflow uses authorized local source and does not trace historical transactions.
- Source alone cannot establish current on-chain ownership, capability custody, or external policy.
- Signer names and capability type hints are not proof of authorization.
- The documented workflow expects Python 3.11 or later and a CLI that was not included in the reviewed package.

## Best Practices

- Provide the local source, expected roles, and trusted package identities before starting the review.
- Cite the enforcement checks and distinguish them from type hints or assumptions.
- Verify the CLI and its provenance before running it on authorized inputs.

## Anti Patterns

- Treating a parameter named admin as proof of access control.
- Assuming shared object access proves who holds an administrative capability.
- Using a source-only map to infer who authorized a past transaction.

## Security Audit

- Audited at: 2026-11-29T12:04:48.668\+00:00
- Summary: The backticks delimit Markdown text, and the website link does not direct the assistant to make a network request. The instructions call for executing a Python CLI outside the reviewed package, where its contents could not be verified. No evidence of prompt injection or data transfer was found.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
