<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/authority-is-a-state-machine-formalizing-non-custodial-smart-accounts-ehxrrzi4m" -->

---
title: Authority Is a State Machine: Formalizing Non-Custodial...
description: A blog post argues that true non-custodial design in smart accounts requires more than the user holding a root key: it requires that no backend, session key,...
canonical: https://daily.dev/posts/authority-is-a-state-machine-formalizing-non-custodial-smart-accounts-ehxrrzi4m
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Authority Is a State Machine: Formalizing Non-Custodial Smart Accounts | daily.dev
og:description: A blog post argues that true non-custodial design in smart accounts requires more than the user holding a root key: it requires that no backend, session key,...
og:url: https://daily.dev/posts/authority-is-a-state-machine-formalizing-non-custodial-smart-accounts-ehxrrzi4m
og:image: https://api.daily.dev/og/posts/EhxRRZi4M.png
og:image:alt: Authority Is a State Machine: Formalizing Non-Custodial Smart Accounts
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Authority Is a State Machine: Formalizing Non-Custodial Smart Accounts

**[Mayckon Giovani](https://daily.dev/sources/esfmr9ikfccm0xofxzkg7)** · [@doomhammerhell](https://daily.dev/doomhammerhell) · 2 min read · 0 upvotes · 0 comments

## Summary

A blog post argues that true non-custodial design in smart accounts requires more than the user holding a root key: it requires that no backend, session key, executor, module, or agent can produce economic states beyond its originally delegated authority. The author models authority as part of the account's state machine, examining failure modes like delegation attenuation, session keys, persistent allowances, module installation, and quota races. Standards such as ERC-4337, ERC-7579, EIP-7702, and ERC-7710 are discussed as mechanisms rather than security models, with the core invariant being that a delegate's authority must remain a subset of the delegator's authority. This is the second entry in a planned weekly series covering settlement semantics, economic invariants, cross-chain causality, and post-quantum authorization.

## Content

I just published the second article in my **Mathematical Infrastructure for Programmable Capital** series:

**Authority Is a State Machine: Formalizing Non-Custodial Smart Accounts**

The central argument is simple, but it changes how I think smart accounts should be modeled:

**“Non-custodial” should not merely mean that the user retains the root key.**

If a backend, session key, executor, module, or autonomous agent can produce economic states outside the authority originally delegated to it, the architecture has already crossed that boundary, even if the seed phrase never leaves the user.

In the article, I model authority as part of the account state machine itself and focus on the failure modes that tend to disappear behind the word “authorization”: delegation attenuation, session keys, persistent allowances, module installation, batch execution, revocation, authority graphs, quota races, and the difference between validating a call and constraining the actual set of effects that call can produce.

I also look at where ERC-4337, ERC-7579, EIP-7702, and ERC-7710 fit into this model, without treating standards themselves as security models. They provide mechanisms. The architecture still has to establish that delegated authority cannot silently expand.

One of the properties I use throughout the article is:

`Authority(delegate) ⊆ Authority(delegator)`

It looks obvious.

Until a ten-minute session key can install a permanent executor, create an unlimited allowance, or reach arbitrary execution through an adapter that was supposedly restricted.

At that point, “wallet permissions” stops being a UX problem and becomes a systems and security problem.

I’m aiming to continue this series roughly once a week, moving deeper into settlement semantics, economic invariants, cross-chain causality, bounded automation, crypto-agility, and eventually post-quantum authorization.

[https://www.linkedin.com/pulse/authority-state-machine-formalizing-non-custodial-smart-giovani-gsfff](https://www.linkedin.com/pulse/authority-state-machine-formalizing-non-custodial-smart-giovani-gsfff)

#FormalMethods #BlockchainSecurity #AccountAbstraction #SmartAccounts #DistributedSystems #DeFi #SecurityEngineering #Ethereum #Cryptography

## Similar posts on daily.dev

- [The AI Agent Can Act On-Chain. Who Defines Its Authority?](https://daily.dev/posts/the-ai-agent-can-act-on-chain-who-defines-its-authority--y9co0ysn9) · Coins Bench · 0 upvotes · 0 comments
- [AI Agent Wallets: Combining ERC-4337 with Autonomous Execution](https://daily.dev/posts/ai-agent-wallets-combining-erc-4337-with-autonomous-execution-cr5dlg7xk) · Coins Bench · 1 upvotes · 0 comments
- [AI Agent Identity Is Not Enough](https://daily.dev/posts/ai-agent-identity-is-not-enough-5zvzaffwc) · Medium · 0 upvotes · 1 comments
- [Beyond Prompt Injection: The Non-Human Authorization Gap in Enterprise AI](https://daily.dev/posts/beyond-prompt-injection-the-non-human-authorization-gap-in-enterprise-ai-kyg9zgkps) · DEV · 2 upvotes · 0 comments
- [AI Agents Are Not Users: Building an AI Agent Identity Model](https://daily.dev/posts/ai-agents-are-not-users-building-an-ai-agent-identity-model-0gmsbkuop) · Auth0 · 1 upvotes · 0 comments

---

Tags: [#ethereum](https://daily.dev/tags/ethereum)

[View this post on daily.dev](https://daily.dev/posts/authority-is-a-state-machine-formalizing-non-custodial-smart-accounts-ehxrrzi4m)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/authority-is-a-state-machine-formalizing-non-custodial-smart-accounts-ehxrrzi4m","headline":"Authority Is a State Machine: Formalizing Non-Custodial Smart Accounts","text":"A blog post argues that true non-custodial design in smart accounts requires more than the user holding a root key: it requires that no backend, session key, executor, module, or agent can produce economic states beyond its originally delegated authority. The author models authority as part of the account's state machine, examining failure modes like delegation attenuation, session keys, persistent allowances, module installation, and quota races. Standards such as ERC-4337, ERC-7579, EIP-7702, and ERC-7710 are discussed as mechanisms rather than security models, with the core invariant being that a delegate's authority must remain a subset of the delegator's authority. This is the second entry in a planned weekly series covering settlement semantics, economic invariants, cross-chain causality, and post-quantum authorization.","url":"https://daily.dev/posts/authority-is-a-state-machine-formalizing-non-custodial-smart-accounts-ehxrrzi4m","datePublished":"2026-09-12T18:03:13.518Z","dateModified":"2026-09-12T18:03:33.287Z","author":{"@type":"Person","name":"Mayckon Giovani","url":"https://daily.dev/doomhammerhell","image":"https://lh3.googleusercontent.com/a-/AOh14Gh9UsECZGVeOy-JKYr9axoxnpl3dtzC3xr1evYb=s100","description":"I'm a Principal Systems Engineer specializing in post-quantum cryptography, distributed systems, and","worksFor":{"@type":"Organization","name":"Stigning","logo":"https://media.daily.dev/image/upload/s--TWeT7PxM--/f_auto,q_auto/v1782805762/logos/stigning?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":80}},"image":"https://media.daily.dev/image/upload/s--Yz7fgwvS--/f_auto/v1789236195/posts/EhxRRZi4M?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/esfmr9ikfccm0xofxzkg7","name":"Mayckon Giovani"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Mayckon Giovani","item":"https://daily.dev/sources/esfmr9ikfccm0xofxzkg7"},{"@type":"ListItem","position":3,"name":"Authority Is a State Machine: Formalizing Non-Custodial Smart Accounts"}]}
```

