ptb-composability
CommunityAudit Sui PTB composability for safe transactions.
AuthorPlamenTSV
Version1.0.0
Installs0
System Documentation
What problem does it solve?
PTB composability in Sui enables atomic multi-command sequences but can introduce security risks if public functions are too broadly exposed or misused across commands, potentially enabling attackers to manipulate state or route assets within a single transaction.
Core Features & Use Cases
- Identify which protocol functions are public and usable within PTB workflows to surface exposure points.
- Model single-call assumptions, value routing, and multi-step sequencing to reveal ordering and routing vulnerabilities.
- Provide mitigations and best practices for safe PTB design in Sui modules, including access control and explicit transfer guarantees.
Quick Start
Run a PTB composability audit on your Sui module to identify public functions, potential single-call and value-routing vulnerabilities, and suggested mitigations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ptb-composability Download link: https://github.com/PlamenTSV/plamen/archive/main.zip#ptb-composability Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.