कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक