본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

suisec

k66inthesky 제작

Health & Fitness
829clawskills.sh가 보고한 다운로드 수
2스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Sui Secure - Pre-simulate transactions via sui client call --dry-run and sui client ptb --dry-run, compare results.

설명

이 스킬이 하는 일

Sui Secure intercepts Sui blockchain transactions before execution by running a dry-run simulation and comparing results against your declared intent. If the simulated outcome diverges from expectations, the transaction is blocked. Supports both automated auditing via main.py and manual comparison for sui client call commands.

Unlike manually inspecting contract source code, suisec runs the actual transaction path in simulation and surfaces concrete balance and object changes against your stated intent.

사용 시점

  • Catching hidden SUI drain to attacker addresses before signing
  • Verifying NFT mint cost matches quoted price
  • Auditing swap transactions for unexpected asset flows
  • Blocking object ownership hijack in DeFi interactions
  • Pre-checking gas consumption on unfamiliar smart contracts

예시 워크플로

입력

User asks: run this PTB to swap 100 USDC for SUI, should cost about 0.01 SUI

에이전트
  1. 1

    Collect user intent: swap 100 USDC for SUI, gas under 0.01 SUI

  2. 2

    Run python3 main.py 0.01 'sui client ptb --move-call 0xPKG::module::swap ...'

  3. 3

    Parse balance changes and object changes from dry-run JSON output

  4. 4

    Compare each change against declared intent, flag any unexpected recipients or mutations

  5. 5

    Report SAFE TO SIGN or BLOCKING MALICIOUS TRANSACTION based on exit code

출력

Audit passed: balance changes match intent, no unknown recipients detected. Transaction executed, digest: 0xABC123...

요구 사항

  • Sui CLI installed and configured with an active address
  • main.py auditor script present in the working directory

설치

clawhub install k66inthesky/suisec

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크