# movescan

> Static bug-pattern scanner for Move smart contracts on Aptos and Sui targeting resource safety and access control.

movescan is a paid AI agent skill on Agensi by Pum482930, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Pum482930](https://www.agensi.io/creators/https-x-com-khslak58447)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-10-05
- Security: scan passed (2026-10-05); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/movescan
- Tags: trading, code-review, aptos, sui, move-lang

## About this skill

Move smart contracts bypass many Solidity-style vulnerabilities, but introduce unique risks around resource abilities and capability management. A manual review of a large Aptos or Sui repository is slow and error-prone. This skill automates the initial triage phase by scanning Move source code for specific, high-impact bug patterns.

### What it does
- **Detects ability misuse** by flagging value-bearing structs like `Coin` or `Balance` that incorrectly implement `copy` or `drop` abilities.
- **Identifies access control gaps** in `public` or `entry` functions that modify global state without proper signer verification.
- **Spots capability leaks** where administrative capabilities are returned from public functions without authorization guards.
- **Flags precision loss** by locating division-before-multiplication patterns in sensitive financial math like fee or interest calculations.
- **Catches truncation risks** in narrowing integer casts (e.g., `as u64`) that could lead to silent data loss.

### How it works
1. Run the `movescan.scanner` module against a specific Move project directory or individual `.move` file.
2. Use the `--min-severity` flag to filter the noise and focus on high-risk vulnerabilities first.
3. Review the generated list of files and line numbers to pinpoint specific logic flaws in the source.
4. Verify findings manually against the code context to filter out false positives before reporting.

### Frameworks & tools
This tool is built for Move smart contracts on the Aptos and Sui blockchains. It is a pure-Python static analyzer with no external dependencies, requiring only Python 3.9 or higher.

### Why this beats prompting it yourself
Generic LLM prompts often miss Move-specific nuances like resource safety and struct abilities, leading to generic advice. This skill uses targeted pattern matching designed specifically for the Move VM, ensuring it catches structural flaws that general-purpose security prompts overlook.

### Use cases
- Auditing a new Aptos or Sui repository before a mainnet deployment.
- Identifying high-value targets in a codebase for bug bounty hunting.
- Integrating a fast security check into a local development workflow.
- Performing a first-pass triage on complex Move packages to guide manual review.

### Known limitations
This is a pattern-based static analyzer, not a formal verifier or symbolic execution engine. It lacks cross-file resolution and a full type-checker, which may result in false positives.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the movescan skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific types of Move smart contract vulnerabilities does this skill detect?

movescan identifies Move-specific vulnerabilities like resource ability misuse (e.g., incorrectly allowing 'drop' on a Coin), missing signer checks in entry functions, and administrative capability leaks that general-purpose tools often miss.

### Which AI agents or development environments is movescan compatible with?

This skill is a standalone Python-based analyzer that can be integrated with any AI agent capable of running Python scripts or via CLI, requiring only Python 3.9+ and no external blockchain dependencies.

### Does movescan support both Aptos and Sui Move flavors?

Yes, the skill is specifically designed to handle the distinct architectural differences of both Aptos and Sui, including their unique approaches to global storage and object ownership.

### Can this skill replace a professional manual smart contract audit?

While movescan provides high-accuracy pattern matching for rapid triage, it is a static analyzer rather than a formal verification tool; it is intended to augment, not replace, a comprehensive manual security audit.

### What is included in the movescan package purchase?

Your purchase includes the core scanner module, documentation on vulnerability patterns, and access to future updates as new Move bug patterns are identified and added to the library.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
