Skip to content

Implement Z3 authorization reachability example #3

@fraware

Description

@fraware

Goal

Implement the first SMT-backed example for authorization regression.

Scope

  • Add ovk/adapters/z3/ implementation.
  • Define a small route-reachability abstraction.
  • Encode the no-admin-route-bypass template.
  • Return a counterexample when a non-admin user can reach an admin-only route.
  • Generate a regression test fixture from the counterexample.

Acceptance criteria

  • The example in examples/auth_regression/ can be converted into a satisfiability query.
  • A bypass produces a normalized evidence object with status=fail.
  • Query polarity is recorded in the obligation and evidence.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions