Λογότυπο Auditing Move Resource Ownership

Auditing Move Resource Ownership

Οργανισμός
UnboundCompute
auditing-move-resource-ownership

Ελέγξτε ένα έξυπνο συμβόλαιο Move (Aptos ή Sui) για δημόσια συνάρτηση entry ή αντικείμενο ή πόρο που της παρέχεται και εκτελεί ενέργειες χωρίς να επαληθεύει την εξουσιοδότηση του signer, την ιδιοκτησία ή την κατοχή capability, αφού προσδιοριστούν η ορατότητα της συνάρτησης και το σύνολο abilities. Καλύπτει δημόσια συνάρτηση entry χωρίς έλεγχο εξουσιοδότησης signer, αντικείμενο ή πόρο του οποίου η ιδιοκτησία δεν επαληθεύεται πριν από τη χρήση του, capability που επιστρέφεται ή αποθηκεύεται με τρόπο που επιτρέπει τη διαρροή και την κλιμάκωση προνομίων, ability (key, store, copy, drop) που παραχωρείται υπερβολικά ευρέως και επιτρέπει την αντιγραφή, αριθμητική πράξη που υπερχειλίζει χωρίς να προκαλεί abort, καθώς και διαδρομή init ή upgrade που αφήνει την εξουσία μεταβλητή. Χρησιμοποιήστε το κατά την εξέταση των συναρτήσεων μιας ενότητας, της ορατότητάς τους και του μοντέλου πόρων και abilities, όχι των ελέγχων μοντέλου λογαριασμών EVM ή reentrancy που καλύπτονται από άλλες δεξιότητες. Οποιοσδήποτε signer φτάνει στη συνάρτηση είναι η πηγή, μια αλλαγή κατάστασης που ενεργεί σε πόρο χωρίς ιδιοκτήτη είναι ο προορισμός και το σφάλμα είναι η απουσία ελέγχου ιδιοκτησίας ή εξουσιοδότησης.

Επισκόπηση

ΕκδότηςUnboundCompute
Αποθετήριοsecurity-agent-skills
Όνομα δεξιότηταςauditing-move-resource-ownership
Αστέρια
27
Διακλαδώσεις
8
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό UnboundCompute. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Auditing Move Resource Ownership στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-move-resource-ownership
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-move-resource-ownership .claude/skills/auditing-move-resource-ownership
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Auditing Move Resource Ownership σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Auditing Move Resource Ownership μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Auditing Move Resource Ownership δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Auditing Move resource ownership: acting on a resource without proving the caller owns it

Move's safety rests on linear resources and abilities, and the bug is a function that acts on a resource or an object without proving the caller is entitled to it. A public entry function with no signer-authority check, an object passed in and mutated without verifying its owner, a capability resource that leaks because it can be stored or returned, an ability granted too broadly, these are the ways an arbitrary signer reaches a privileged state change. You audit it by resolving each function's visibility (who can call it) and the ability set of the types it touches (what can be copied, stored, or dropped), then checking whether the function asserts ownership or authority before it acts. The account-model and reentrancy shapes belong to the EVM smart-contract skills; this skill owns the resource-and-ability model of Move.

When to use

  • You are reviewing a Move module's functions, their visibility, and the resources and objects they touch.
  • A public or entry function acts on a passed object or a global resource, or hands out a capability.
  • You want to know whether an arbitrary signer can drive a state change on a resource they do not own.

Scope check

Audit only contracts you own or are authorized to assess, and submit a transaction only against a network in scope (a devnet or testnet, or a mainnet only with authorization), a call that passes moves real value. Adjudicate on the module source. If you can't name the authorization, stop.

The loop

  1. Resolve the visibility and the ability set first. For each function, determine who can call it (public, public entry, public-to-friend or package-internal, or private) and for each type it touches determine the abilities it carries (key, store, copy, drop). Visibility decides whether an arbitrary signer reaches the function, and the abilities decide whether a resource or capability can be duplicated or leaked, so settle both before flagging.

  2. Check access control on entry functions. Look for a public entry function that performs a privileged action (moving funds, changing admin state, minting) with no assertion that the signer is the owner or an authorized admin, so any signer can call it.

  3. Check object and resource ownership. Look for a function that receives an object or borrows a global resource and acts on it without verifying the caller owns it, so a caller passes an object they do not own (or targets an address they do not control) and the function mutates it.

  4. Check capability handling. Look for a capability resource returned to the caller, stored where it can be read or taken, or granted without a guard, so possession of the capability, which should be tightly held, leaks and escalates privilege.

  5. Check abilities, arithmetic, and lifecycle. Look for an ability granted too broadly (a value type that is copyable or droppable when it should be linear, enabling duplication or silent discard), arithmetic that overflows on a runtime or toolchain that does not abort, and an init or upgrade path that leaves state re-initializable or authority mutable after deployment.

  6. Confirm and record. Confirm by constructing a transaction from an unrelated signer that reaches the function and drives the state change on a resource the signer does not own. Kill the lead if the function asserts the signer's address against the owner or an admin capability before acting, if the object parameter is guarded by an ownership assertion or is a shared object with correct access rules, if the capability is a witness consumed at initialization and has no store ability so it cannot be held, if the arithmetic uses checked helpers or a runtime that aborts on overflow, if the framework enforces once-only initialization so the init is not re-callable, or if the function is package-internal or friend-only and not reachable by an arbitrary caller. Record the function, its resolved visibility, and the ownership or authority assertion it skips.

Where resource ownership leaks

  • Visibility decides reachability. A public entry function is callable by any signer; a friend-only or package-internal function is not, so resolve visibility before calling a missing check exploitable.
  • A passed object is not a proof of ownership. Receiving an object or borrowing a global resource does not mean the caller owns it; the function has to assert the signer's authority over it before acting.
  • A capability is only safe while it cannot leak. A capability with a store ability that is returned or stored can be taken; one consumed at init with no store ability cannot be held, which is the safe shape.
  • Abilities are the duplication surface. A value type that is copyable or droppable when it should be linear lets value be duplicated or silently discarded; the ability set is part of the authorization.
  • Init and upgrade are authority seams. Re-initializable state or a mutable post-deployment authority lets a later caller seize control; once-only init and a fixed authority close it.

Worked example (a confirm and a kill)

Confirm. A public entry function withdraw takes a mutable reference to a shared vault object and transfers funds to the signer, with no check that the signer owns the vault. Any signer submits the call against another user's vault and drains it. Confirmed a missing ownership assertion on a public entry function acting on an object the caller does not own, critical, remediation = assert the signer's address (or an owner capability) against the vault owner before the transfer.

Kill. The same function begins with an assertion that the vault's owner field equals the transaction sender, aborting otherwise, so only the owner can withdraw. A call from an unrelated signer aborts before the transfer. Killed, kill_reason = "the function asserts the vault owner against the transaction sender before the state change, so a caller cannot act on a vault they do not own."

Rationalizations to reject

  • "It is an entry function, that is normal." -> Entry means any signer can call it; does it assert the caller's authority before acting? Reachable plus unguarded is the bug.
  • "The caller passes the object in." -> Passing an object is not owning it; the function must verify the signer owns the object or the target address, not trust the parameter.
  • "The capability is internal." -> Does its type have the store ability, and is it ever returned or stored? A storable capability can leak; a witness consumed at init cannot.
  • "Move is safe by construction." -> Its linearity holds only with the right ability set; a copyable or droppable value that should be linear breaks the guarantee.
  • "Init only runs once." -> Does the framework enforce that here, or can the state be re-initialized? A re-initializable init or a mutable authority is an ownership seam.

Executing this in practice

You need the module source, each function's visibility, the ability set of every type it touches, the ownership or authority assertions before each state change, the capability types and whether they can be stored or returned, the arithmetic and whether the runtime aborts on overflow, and the init and upgrade paths. For each function, decide whether an arbitrary signer can drive a state change on a resource they do not own. Reading the visibility and abilities tells you what is reachable and duplicable; reading the assertions tells you what is guarded.

Related

  • auditing-smart-contract-access-control - the EVM sibling for adding or repairing an authorization gate; the same missing-authority shape, on the account model rather than Move's resource-and-ability model.
  • hunting-smart-contract-reentrancy - the EVM sibling for effect ordering; Move's linear resources remove the classic reentrancy analog, so that shape lives there, not here.
  • hunting-defi-economic-and-oracle-flaws - the economic layer that a confirmed ownership bug on a value-bearing Move object often feeds; profitability on a fork is the proof shared with that skill.
  • FINDING-SCHEMA.md - source = any signer reaching the function, sink = a state change acting on an unowned resource, evidence = the resolved visibility and ability set and the missing ownership or authority assertion.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Auditing Move Resource Ownership;

Ελέγξτε ένα έξυπνο συμβόλαιο Move (Aptos ή Sui) για δημόσια συνάρτηση entry ή αντικείμενο ή πόρο που της παρέχεται και εκτελεί ενέργειες χωρίς να επαληθεύει την εξουσιοδότηση του signer, την ιδιοκτησία ή την κατοχή capability, αφού προσδιοριστούν η ορατότητα της συνάρτησης και το σύνολο abilities. Καλύπτει δημόσια συνάρτηση entry χωρίς έλεγχο εξουσιοδότησης signer, αντικείμενο ή πόρο του οποίου η ιδιοκτησία δεν επαληθεύεται πριν από τη χρήση του, capability που επιστρέφεται ή αποθηκεύεται με τρόπο που επιτρέπει τη διαρροή και την κλιμάκωση προνομίων, ability (key, store, copy, drop) που παρ...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Auditing Move Resource Ownership στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Auditing Move Resource Ownership είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Auditing Move Resource Ownership στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-move-resource-ownership. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Auditing Move Resource Ownership;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Auditing Move Resource Ownership;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Auditing Move Resource Ownership με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Auditing Move Resource Ownership;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό UnboundCompute με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇