Skip to content

Composability: authorization-zone intents for third-party keepers (resolve/claim/create-next) #370

Description

@josephchimebuka

Summary

Add a secure intent/keeper framework so third parties can execute permissioned operational actions (resolve with supplied payload, claim on behalf with user signature, create-next from template) under explicit scopes and nonces.

Why this is complex / high impact

Cross-contract/keeper execution needs capability security: scoped auth, replay nonces, expiry, and abuse resistance—without weakening user custody assumptions.

Where to work

  • new intents.rs / auth helpers
  • admin/oracle/user flows
  • bindings helpers for keepers
  • security tests

Architecture requirements

  1. Typed intents with expiry+nonce.
  2. Scope enumeration (RESOLVE, CLAIM, CREATE_NEXT).
  3. Signature/auth verification model appropriate for Soroban.
  4. Rate limits / pause respect.
  5. Events for keeper execution.

Acceptance Criteria

  • Expired/replayed intents rejected
  • Scope cannot escalate privileges
  • User funds movement still user-authorized where required
  • Keeper happy paths tested
  • Threat model documented

Difficulty

advanced

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions