runtimeverification / runtimeverification/komet

Implement Soroban Auth Framework

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
35
Forks
3
PR merge metrics
No merged PRs in 30d

Description

This issue tracks the implementation of the Soroban Authorization Framework within the Soroban semantics. Specifically, we aim to properly implement the two host functions that are currently no-ops:

  • require_auth
  • authorize_as_curr_contract

Implementing these is essential for enabling accurate reasoning about the authorization properties of Soroban smart contracts using Komet.

Currently, require_auth and authorize_as_curr_contract are stubbed and do not affect contract execution or analysis. As a result, Komet cannot model or analyze the authorization behavior of Soroban contracts. Once these functions are correctly implemented, Komet will be able to check authorization flows.

TODO:

  • require_auth
  • authorize_as_curr_contract

Resources:

Priority: High

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Soroban Auth Docs linked in the issue, then locate the Komet semantics implementations of the stubbed require_auth and authorize_as_curr_contract host functions. Done means both functions affect contract execution or analysis so Komet can check authorization flows.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.