Λογότυπο Auditing Account Abstraction And Paymaster Trust

Auditing Account Abstraction And Paymaster Trust

Οργανισμός
UnboundCompute
auditing-account-abstraction-and-paymaster-trust

Ελέγξτε μια ανάπτυξη αφαίρεσης λογαριασμών ERC-4337 για εσφαλμένη εμπιστοσύνη στη διάρκεια ζωής μιας λειτουργίας χρήστη: έναν έξυπνο λογαριασμό του οποίου η επικύρωση αποδέχεται υπογραφή ή nonce που θα έπρεπε να απορρίψει, έναν paymaster που συμφωνεί να χορηγήσει gas για λειτουργίες που δεν θα έπρεπε, επιτρέποντας σε έναν εισβολέα να εξαντλήσει την κατάθεσή του, μια παραδοχή σχετικά με bundler ή entry point που επιτρέπει την επανάληψη ή την αναδιάταξη μιας λειτουργίας χρήστη προς όφελος κάποιου ή λογική επικύρωσης που διαβάζει μεταβλητή κατάσταση ή ενεργεί πέρα από το επιτρεπόμενο πεδίο της. Καλύπτει πορτοφόλια έξυπνων συμβολαίων, paymasters, bundlers και το entry point σε μια στοίβα αφαίρεσης λογαριασμών, όπου μια λειτουργία χρήστη επικυρώνεται και χρηματοδοτείται πριν εκτελεστεί. Χρησιμοποιήστε τη δεξιότητα όταν μια λειτουργία χρήστη επικυρώνεται, πληρώνεται και εκτελείται από διαφορετικά μέρη και αυτός ο διαχωρισμός εμπιστοσύνης αποτελεί το όριο ασφαλείας. Η κατασκευασμένη λειτουργία χρήστη είναι η πηγή, ο εξαντλημένος paymaster ή η μη εξουσιοδοτημένη εκτέλεση είναι το sink και ο υπερβολικά επιτρεπτικός κανόνας επικύρωσης ή χορηγίας είναι το σφάλμα.

Επισκόπηση

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

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

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

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

  • Αυτοτελής

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

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

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

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Auditing Account Abstraction And Paymaster Trust στο 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-account-abstraction-and-paymaster-trust
  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-account-abstraction-and-paymaster-trust .claude/skills/auditing-account-abstraction-and-paymaster-trust
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

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

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

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Auditing Account Abstraction And Paymaster Trust μόλις λάβει ένα σχετικό αίτημα.

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

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

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

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

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

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

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

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

Auditing account abstraction and paymaster trust: validation, payment, and execution are three trusts

In an ERC-4337 stack a user operation is validated by the smart account, paid for by a paymaster, bundled by a bundler, and executed through the entry point, and those are separate trust decisions made by separate parties. Each is a place trust can be misplaced. The account's validation decides whether a signature and nonce are acceptable; if it accepts what it should reject, an attacker executes operations as the account. The paymaster decides whether to sponsor an operation's gas; if it sponsors what it should not, an attacker drains its deposit by submitting operations that cost the paymaster and benefit no legitimate user, a denial-of-wallet on the sponsor. The entry point and bundler order and submit operations; if an operation can be replayed or reordered for gain, the lifecycle itself is the exploit. And validation runs under strict rules about what state it may read, mutable or external state in validation is both a denial vector and a soundness hole. The audit walks the user-operation lifecycle and checks each trust: what validation accepts, what the paymaster agrees to pay for, and what the ordering allows. You audit this by crafting user operations that probe each decision.

When to use

  • An ERC-4337 account-abstraction stack validates, sponsors, and executes user operations across a smart account, a paymaster, a bundler, and the entry point.
  • A paymaster sponsors gas and could be made to pay for operations it should not.
  • Account validation may accept a bad signature or nonce, or read mutable or out-of-scope state.

Scope check

Test account-abstraction trust only against contracts and infrastructure you own or are authorized to assess, on a testnet or a local fork. Submitting user operations and probing a paymaster spends real gas and can drain a real deposit, so use test funds on a fork and never drain a live paymaster or execute against an account that is not yours. If you can't name the authorization, stop.

The loop

  1. Establish each trust decision first. Name what the account's validation must accept and reject (which signer, which nonce), what the paymaster agrees to sponsor and under what limit, and what ordering the entry point and bundler guarantee. This is the false-positive killer: an account that validates a correct signature and monotonic nonce only, a paymaster that sponsors within a scoped, limited policy, and a lifecycle with no replay or reorder gain are behaving correctly. Name each trust, then probe it.

  2. Test account validation. Craft user operations with a wrong or malformed signature, a reused or out-of-order nonce, and an unexpected signer, and confirm validation rejects each. An account that accepts a signature it should not, or reuses a nonce, lets an attacker execute operations as the account.

  3. Test paymaster sponsorship scope. Submit operations the paymaster should not pay for: outside its intended users, actions, or limits, and confirm it declines. Then submit sponsored operations at volume and confirm a per-user and total limit bounds the deposit spend. A paymaster that sponsors broadly or without a spend cap is drainable, its deposit is the loss.

  4. Check validation-phase state rules. Determine what the account's and paymaster's validation reads: whether it touches mutable storage or external contracts it should not during validation. Validation that depends on state a bundler cannot trust is both a griefing vector (operations that pass simulation but fail on-chain) and a soundness gap the attacker steers.

  5. Assess replay and ordering in the lifecycle. Check whether a user operation can be replayed (across chains, entry points, or after a nonce reset) or reordered by the bundler for gain. Confirm the operation is bound to its chain, entry point, and nonce so it executes once, in one place. A replayable or reorder-sensitive operation is exploited by the party that sequences it.

  6. Confirm and record. Confirm on a fork by executing an operation the account should have rejected, draining a scoped amount from a test paymaster, or replaying an operation, with test funds and without touching a live account or paymaster. Kill the lead if validation accepts only a correct signature and nonce, the paymaster sponsors within a scoped and capped policy, validation reads no untrusted state, and operations are bound against replay and reorder gain. Record the crafted user operation, the drained paymaster or unauthorized execution, and the over-permissive validation or sponsorship rule.

Where account-abstraction trust leaks

  • Over-permissive account validation. Accepting a bad or replayed signature, or a reused nonce, lets an attacker execute operations as the account.
  • Unscoped or uncapped paymaster sponsorship. A paymaster that pays for operations outside its policy or without a spend limit is drainable; its deposit is the loss.
  • Untrusted state read in validation. Validation that touches mutable or external state a bundler cannot trust enables griefing and steers soundness gaps.
  • Replayable user operations. An operation not bound to its chain, entry point, and nonce can be replayed for repeated effect.
  • Reorder-sensitive lifecycle. An operation whose outcome depends on bundler ordering hands value to whoever sequences it.

Worked example (a confirm and a kill)

Confirm. A paymaster sponsors any user operation that calls a particular application contract, with no per-user or total spend cap. On a fork, an attacker submits a flood of operations that each call that contract in a way that costs gas but does nothing useful, and the paymaster pays for all of them until its deposit is exhausted, denying sponsorship to real users. Confirmed paymaster deposit drain via unscoped sponsorship, high, remediation = scope sponsorship to authenticated users and specific actions, and enforce per-user and total spend caps with rate limiting so a flood cannot exhaust the deposit.

Kill. The account validates only a correct signature from the expected signer with a monotonic nonce, the paymaster sponsors only scoped users and actions within per-user and total spend caps, validation reads no mutable or external state a bundler cannot trust, and every operation is bound to its chain, entry point, and nonce. A bad-signature operation is rejected, a sponsorship flood is capped, and a replay reverts. Killed, kill_reason = "validation accepts only a correct signature and nonce, paymaster sponsorship is scoped and capped, validation reads no untrusted state, and operations are replay- and reorder-bound; no operation executes or drains against policy."

Rationalizations to reject

  • "The signature check is standard." → Confirm it rejects malformed and replayed signatures and enforces the nonce; standard code with a nonce or domain mistake still lets operations through.
  • "The paymaster only sponsors our app." → Scoping to a contract is not scoping to legitimate use; without per-user and total caps an attacker loops that contract to drain the deposit.
  • "Validation is simple, it just checks the signer." → Confirm it reads no mutable or external state during validation; that is both a griefing and a soundness rule, not a style preference.
  • "Operations have nonces, so no replay." → Verify the operation is also bound to the chain and entry point; a nonce alone does not stop cross-chain or cross-entry-point replay.
  • "The bundler is trusted." → The bundler chooses order and can be anyone; design so no operation's outcome depends on it sequencing fairly.

Executing this in practice

You need the account's validation logic (signature and nonce rules and what state it reads), the paymaster's sponsorship policy and spend limits, and how operations are bound against replay and reorder. On a fork, submit operations with bad signatures and reused nonces, probe the paymaster outside its policy and at volume, and attempt replays. Reading the validation and paymaster contracts shows the intended trust; an operation that executes or a deposit that drains against policy shows whether it holds.

Related

  • hunting-signature-replay-and-eip712-domain-trust - the signature and domain binding this skill checks in account validation is that skill's whole subject; audit them together for the account.
  • hunting-mev-and-transaction-ordering-exposure - the bundler orders user operations, so ordering extraction reappears at the account-abstraction layer.
  • hunting-wallet-drainer-and-dapp-approval-abuse - draining a paymaster and draining a user via approvals are two economic attacks on the same wallet stack.
  • reviewing-rate-limiting-and-abuse-controls - the per-user and total spend caps that stop a paymaster drain are the rate-limiting discipline applied to gas sponsorship.
  • FINDING-SCHEMA.md - source = the crafted user operation, sink = the drained paymaster or unauthorized execution, evidence = the over-permissive validation or sponsorship rule.

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

Τι κάνει η δεξιότητα AI Auditing Account Abstraction And Paymaster Trust;

Ελέγξτε μια ανάπτυξη αφαίρεσης λογαριασμών ERC-4337 για εσφαλμένη εμπιστοσύνη στη διάρκεια ζωής μιας λειτουργίας χρήστη: έναν έξυπνο λογαριασμό του οποίου η επικύρωση αποδέχεται υπογραφή ή nonce που θα έπρεπε να απορρίψει, έναν paymaster που συμφωνεί να χορηγήσει gas για λειτουργίες που δεν θα έπρεπε, επιτρέποντας σε έναν εισβολέα να εξαντλήσει την κατάθεσή του, μια παραδοχή σχετικά με bundler ή entry point που επιτρέπει την επανάληψη ή την αναδιάταξη μιας λειτουργίας χρήστη προς όφελος κάποιου ή λογική επικύρωσης που διαβάζει μεταβλητή κατάσταση ή ενεργεί πέρα από το επιτρεπόμενο πεδίο της...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Auditing Account Abstraction And Paymaster Trust στο TypingMind;

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

Πώς εγκαθιστώ τη δεξιότητα Auditing Account Abstraction And Paymaster Trust στο TypingMind;

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

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Auditing Account Abstraction And Paymaster Trust;

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

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Auditing Account Abstraction And Paymaster Trust;

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

Είναι δωρεάν η δεξιότητα AI Auditing Account Abstraction And Paymaster Trust;

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

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

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

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

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

Προβολή όλων
Λογότυπο affaan-m

Architecture Decision Records

affaan-m
ΚοινότηταΔημοφιλής

Καταγράφει τις αρχιτεκτονικές αποφάσεις ως δομημένα ADR κατά τη διάρκεια συνεδριών προγραμματισμού, εντοπίζοντας αυτόματα τη στιγμή λήψης μιας απόφασης και καταγράφοντας το πλαίσιο, τις εναλλακτικές που εξετάστηκαν και την αιτιολόγηση. Διατηρεί αρχείο ADR, ώστε οι μελλοντικοί προγραμματιστές να κατανοούν γιατί διαμορφώθηκε έτσι η βάση κώδικα.

39.1K
261.1K
Οδηγίες
Προβολή
Λογότυπο affaan-m

Automation Audit Ops

affaan-m
ΚοινότηταΔημοφιλής

Ροή εργασιών για την τεκμηριωμένη απογραφή αυτοματισμών και τον έλεγχο αλληλεπικαλύψεων για το ECC. Χρησιμοποιήστε τη όταν θέλετε να μάθετε ποιες εργασίες, hooks, σύνδεσμοι, διακομιστές MCP ή wrappers είναι ενεργά, προβληματικά, περιττά ή λείπουν πριν από την επιδιόρθωση.

39.1K
261.1K
Οδηγίες
Προβολή
Λογότυπο NousResearch

Grok

NousResearch
ΟργανισμόςΔημοφιλής

Αναθέστε εργασίες προγραμματισμού στο xAI Grok Build CLI (λειτουργίες, PR).

53.5K
250.4K
Οδηγίες
Προβολή
Λογότυπο NousResearch

Setup Wizard Generator

NousResearch
ΟργανισμόςΔημοφιλής

Δημιουργήστε έναν οδηγό bash που καθοδηγεί κάποιον στη μη αυτόματη ρύθμιση.

53.5K
250.4K
Αρχεία: 1
Προβολή

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

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