0xMiden / 0xMiden/protocol

Note allowlist for public accounts

Aberta
#3,067 1 comentário 0 reações 0 responsáveis Ver no GitHub
standards
Linguagem predominante
Rust
Estrelas
132
Forks
167
Merge médio
1d 23h
PRs com merge (30d)
110

Descrição

Public accounts can currently be targeted by third-party executors with arbitrary input notes. We already enforce a note allowlist for network accounts, so extending the same mechanism to ordinary public accounts would let an owner restrict which notes can ever be applied to their account.

Proposal:
- Provide a note-allowlist auth component (conceptually close to `AuthSingleSigAcl`, but keyed on note scripts rather than account procedures) that public accounts can install.
- The allowlist must also cover the transaction script, so that a caller cannot bypass it by invoking account procedures directly from it (same requirement we already have for network accounts).
- It should still allow the owner to run tx-script transactions (e.g. to change account config).

_Originally posted by @bobbinth in [#2964](https://github.com/0xMiden/protocol/issues/2964#issuecomment-4513731052)_

Sub-issue of #2964

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.