sui-move-security-review

sui-move-security-review is a skill for Claude Code, Codex from MystenLabs/sui. It costs 174 tokens per session (1,209 once invoked), scanned A, original, Apache-2.0.

A security-review checklist for Move programs on Sui, a blockchain platform. It covers both source files and disassembled compiled code.

In plain words
What is it for?
Use it to audit Sui Move packages, inspect on-chain packages, and assess vulnerabilities involving capabilities, access control, struct abilities, and type safety.
Why use it?
It helps find design and coding mistakes that could let attackers bypass permissions, misuse assets, or exploit unsafe type behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit Sui Move packages, inspect on-chain packages, and assess vulnerabilities involving capabilities, access control, struct abilities, and type safety.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mystenlabs/sui/sui-move-security-review
About the project

Sui is a blockchain platform for running smart contracts and managing digital assets, using the Move programming language and a network of authorities to process transactions. It is intended for developers building web3 applications and on-chain assets.

MystenLabs/sui · 7,744 stars · on GitHub · sui.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MystenLabs/sui --skill sui-move-security-review
Clone the repo
git clone --depth 1 https://github.com/MystenLabs/sui

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sui-move-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystenlabs/sui/sui-move-security-review/github.svg)](https://agentmods.dev/skills/mystenlabs/sui/sui-move-security-review)
Your own site
<a href="https://agentmods.dev/skills/mystenlabs/sui/sui-move-security-review"><img src="https://agentmods.dev/badge/skills/mystenlabs/sui/sui-move-security-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sui-move-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/mystenlabs/sui/sui-move-security-review"><img src="https://agentmods.dev/badge/skills/mystenlabs/sui/sui-move-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,209 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00174 $0.01209
Opus 5 $0.00087 $0.00605
Sonnet 5 $0.00035 $0.00242
Haiku 4.5 $0.00017 $0.00121

Measured 11d ago against content hash 6e127d92c670, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sui-move-security-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

crates/sui-prompt/src/skills/sui-move-security-review/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Move Security Review (on Sui)

Self-bootstrap (any AI agent): this skill is bundled inside the sui binary. For comprehensive audits, read every reference file in this bundle — default to sui prompt skill sui-move-security-review --all for a one-shot load of all of them. Incremental loading is possible but should be the last resort. Even then, do not skip any files or rules to avoid creating blind spots. The detection heuristics, severity ratings, and exploit sketches live in those per-category files. This skill belongs to one or more categories — run sui prompt categories to see them and sui prompt category <name> to read the category's workflow. No filesystem install is required — the binary is self-contained.

Offensive counterpart to the constructive Move skills — each rule = violated invariant with detection heuristic, severity, and exploit sketch.

Sources. Per-rule citation MystenLabs/skills → <file>. [+domain] = established auditing practice not in upstream skills (high-yield, easy to miss — e.g. SM-A3, SM-B4). Verify on-chain facts against docs.sui.io, move-book.com, or framework source.

Representation. The catalog is stated in Move semantics. Use .move files when the target is a source repository. Use disassembly (.asm) when the target is a deployed on-chain package: fetch bytecode with sui-and-move-tools, disassemble it, then walk rules with auditing-bytecode.md as the per-rule opcode-signal bridge.

How to audit with this skill

  1. Map the attack surface first. List every public and entry function (these are the only externally reachable entrypoints), every *Cap/witness/OTW type, every shared object, and every struct's ability set. PTB callers control argument order and supply arbitrary inputs — treat all entrypoints as adversarial.
  2. Walk the catalog by category (A–M). For each rule, run the Detect heuristic against the code representation.
    • A grep hit is a candidate, not a finding. Confirm the invariant is actually broken before reporting.
    • A grep miss is NOT proof of absence — walk the candidate set explicitly. Many rules detect the absence of a guard, check, or invariant — either purely (SM-A2, A3, A6, B4, D1, E4, G2) or as confirmation on top of a candidate-presence check (SM-C1, C3, C4, F2, G1, M1). For these the bug shape is "X is missing where it should be"; an empty grep often means "X is missing everywhere". Identify the rule's candidate set (privileged call sites for SM-A6; &mut SharedT-mutating public/entry fns for SM-A2; cap-gated fns for SM-A3; dynamic_field::borrow* / bag::borrow* / table::borrow* sites for SM-E4; object::delete sites for SM-C1; etc.) and for each candidate check whether the required guard is present — reason about dataflow, not the textual presence of assert! somewhere in the file.
  3. Report findings keyed to the rule ID (e.g. SM-A3) with: severity, the offending location (file:line), why the invariant is violated, and the concrete exploit. Distinguish exploitable from defense-in-depth.
  4. Re-derive, don't trust naming. A struct named AdminCap may be safe; an unnamed struct may be the real authority. Reason from abilities and from who can construct/obtain a value.

Read the full file on GitHub · 75 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 75 lines · 174 tokens per session scan A 6e127d92c670

Subscribe to this mod's changes

sui-move-security-review is a skill published in the GitHub repository MystenLabs/sui (7,744 stars, last pushed today), licensed Apache-2.0. It adds 174 tokens to every session and 1,209 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

blockchain-application

Use this skill when asked about smart contract development, Solidity, Vyper, Rust smart contracts (Solana, NEAR, Polkadot), Haskell/Plutus (Cardano), Cairo/StarkNet, dApp backend development, Truffle, Hardhat, Foundry, Anchor, and blockchain application patterns. Languages: Solidity, Vyper, Rust, Haskell, Cairo, Move.…

j4flmao/agent-skills · 175 tokens

blockchain-expert

Expert-level blockchain, Web3, smart contracts, DeFi, and cryptocurrency development. Use when the user mentions Web3, smart contracts, DeFi, Ethereum, or Solidity, or when the task involves Blockchain Fundamentals, Web3 & DeFi, Smart Contract Security, or Gas Optimization.

personamanagmentlayer/pcl · 63 tokens

lineth-quickstart

Operating manual for the Lineth Stack quickstart — the Docker-Compose dev/demo stack at docs/getting-started/lineth-stack in the lineth-monorepo that boots a local Linea/Lineth L2 with Sepolia or local L1 finality. Use whenever you are working inside the lineth-stack quickstart and need to boot or run the stack…

LFDT-Lineth/lineth-monorepo · 228 tokens

frontend-design

Create distinctive, production-grade Stellar dApp UI. Combines bold aesthetic direction with smart contract integration patterns — wallet connection flows, transaction UX, contract data displays, and agentic kit hook wiring. No generic "AI slop" aesthetics.

rylsherdamz-rgb/stellar-forge · 51 tokens

stellar-mcp

MCP (Model Context Protocol) tools for Stellar development. Gives Claude direct access to the Stellar blockchain, filesystem, GitHub, and Playwright through configured MCP servers. Use when querying chain data, deploying contracts, managing repos, or running e2e tests from within the agent.

rylsherdamz-rgb/stellar-forge · 61 tokens

web3-expert

Build production-ready Web3 applications including smart contracts, dApps, DeFi protocols, and decentralized storage solutions. Use when the user mentions Web3, smart contracts or Solidity, dApps, DeFi protocols, ethers.js or web3.js, IPFS, or on-chain integration with Ethereum-compatible networks.

personamanagmentlayer/pcl · 66 tokens