GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Security] Identity and Delegation System Hardening · Issue #6379 · developing-today/code

[Security] Identity and Delegation System Hardening #6379

New issue
Copy link
New issue
Copy link
Done
Done
[Security] Identity and Delegation System Hardening#6379
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/securitySecurity issue or security hardeningmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/humanFiled directly by a humantask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
ID platform program

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Description

The identity and delegation system needs security review and hardening.

Acceptance Criteria

  • Security audit completed
  • All security-critical code reviewed
  • Documentation of security guarantees
  • Test coverage for security scenarios
  • Migration path for deprecated features

Rationale

Identity management and delegation are core security features that need robust implementation.

Scope

  • Review src/commands/group.rs, src/commands/delegate.rs, src/commands/revoke.rs
  • Add property-based tests for security invariants
  • Document threat model and security assumptions
  • Update error handling for security scenarios

Priority

Critical - Security hardening needed

Related

  • Issue [Architecture] Decouple Web UI from Core Library #6377 (architecture improvements)
  • Issue [Performance] Reduce Test Execution Time #6378 (performance)

Activity

Next
  1. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1895

  2. dezren39
    added
    kind/securitySecurity issue or security hardening
    priority/highImportant and time-sensitive
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    status/needs-triageNot yet triaged; needs a first look
    source/humanFiled directly by a human
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Intake review

    • Related: None found in this run's bounded pass.
    • Notes: Security hardening of the identity and delegation system, filed by Drew; acceptance criteria already in the body. Labelled kind/security, priority/high, effort/l — highest priority of this intake batch.
    • Risks: Identity/delegation changes are load-bearing for every other pkgs/id item in flight; sequencing against the extraction sequence (issues pkgs/id crate split — step 1: extract id-caps (workspace + leaf foundation already landed as id-core) #4403–pkgs/id crate split — step 7: extract id-cli; facade slimming #4411) matters.
    • Suggested approach: Start with a threat-model / current-state note on the issue, then split into per-finding fix issues with native blocked-by relations.
  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 6, 2026
  5. 55 remaining items

  6. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  7. developing-today
    added
    status:in-review
    on Nov 23, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1 — F6 migration path landed for review: the design record ID groups: legacy wire forms and their migration path (PR #13545, from #13533) dispositions every read-compat legacy form in the groups event surface:

    • L1 Remove successor wire form → deterministic mode mapping; retained read-only, removal only via a future log-format migration that re-encodes stored logs.
    • L2 group-wide delegation preference (Policy.delegation) → retained as a policy field; its one live read is the fold's demotion rule.
    • L3 remove_policy absent-field default → retained read-only, same migration condition as L1.
    • Decision: the silent cascade default (Policy::delegation_mode()) is intended and retained — replay determinism, least-authority direction, effective value surfaced by id-cli.
  9. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13545 from developing-today/lane-au9-13533

    2be57cc
  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix — stage 2 packet 1 (design core) landed as PR #13535 (unmerged; Felix reviews security work line by line).

    Per-item status against the acceptance list (verified fresh against origin/main 805258752, 2026-11-23):

    • Security audit completed — already done: stage 1 (task 14441, 2026-11-10), findings F1–F7.
    • All security-critical code reviewed — done for the delegation core (stage 1, re-verified at the post-split paths: judge/fold in id-events/src/groups/, actions/log in id-groups, CLI in id-cli); F3/F4 end-to-end verification → id: verify the ingest funnel and key custody end to end (#6379 F3+F4) #13531.
    • Documentation of security guarantees — done by PR design(id): delegation threat model, guarantees, and F1/F2 decisions (#6379) #13535: threat model (assets, actors, trust boundaries TB1 ingest totality / TB2 key custody / TB3 causal-order judging), guarantees G1–G9 restated as falsifiable claims pointed at the judging code, and F1/F2 as explicit decisions (D1 adopt the designed signed expires_at bound; D2 adopt grantor veto, manager veto unchanged). Docs only — no code changed, no check weakened.
    • Test coverage for security scenarios — fold layer deep (unchanged); CLI layer still 2 tests → id: CLI scenario tests for delegate/revoke (#6379 F5) #13532.
    • Migration path for deprecated features — → id: document legacy group wire forms and their removal path (#6379 F6) #13533.
    • F1/F2 implementation — → id: implement grant expiry bound and grantor veto (#6379 F1+F2) #13534, gated on PR design(id): delegation threat model, guarantees, and F1/F2 decisions (#6379) #13535 merging.

    Evidence for the guarantees' test surface: remote dispatch on the PR branch (session fp_1a8cd1b911c40f2fefcd48b578c72c25, run https://github.com/developing-today-forks/fleet/actions/runs/45231797495) running cargo test --manifest-path pkgs/id/Cargo.toml -p id-events --lib groups plus the ingest refusal test. At this record's posting the run was still in progress on the forks surface (long compile under load); its terminal result reads from the session handle. The PR branch changes no code — the cited suites are main's existing suites at the same code state — so the run is corroboration of the record's pointers, not a gate on the doc.

    #6379 stays open: it closes when #13531–#13534 land or report, per the table in the record (§6).

  11. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13535 from developing-today/felix/6379-delegation…

    effe532
  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Merged by Felix — PR #13535 (stage 2 packet 1, the design core).

    I reviewed the two decisions the record makes and accept both:

    • D1 (F1): adopt the design of record's optional signed expires_at bound, judged from signed fields only so fold determinism holds. The stated limitation is the right one to carry into implementation: the timestamps are author-asserted, so the bound is convergent and auditable, not a hard real-time cutoff — the implementation issue (id: implement grant expiry bound and grantor veto (#6379 F1+F2) #13534) must state its comparison rule against that.
    • D2 (F2): grantor veto alongside the unchanged manager veto. Revocation only removes authority, so this fails closed by construction; the grantor-of-record and reissuer rules are stated precisely.

    Guarantees G1–G9 are written as falsifiable claims pointed at the judging code and its refusals, which is the standard this family needs. The corroborating suite run (45231797495) was still in progress at merge time; the branch changes no code, so it corroborates the record's pointers rather than gating the doc — its result should still be posted here when it lands.

    #6379 stays open: #13531 (F3+F4 verification), #13532 (F5 CLI scenario tests), #13533 (F6 migration doc), #13534 (F1+F2 implementation, now unblocked by this merge).

  13. dezren39
    added a commit that references this issue on Nov 23, 2026

    test(id): CLI scenario refusals for delegate/revoke (#13532)

    48d42cd
  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verify-and-route (oc-code-07, task 21884), state checked 2026-11-24.

    Verdict: stays open; real work remains. Merged progress on this issue:

    • design(id): delegation threat model, guarantees, and F1/F2 decisions (#6379) #13535 delegation threat model, guarantees and F1/F2 decisions (merged 2026-11-23)
    • docs(id): legacy group wire forms migration record (#6379 F6, #13533) #13545 legacy group wire forms migration record, F6 / id: document legacy group wire forms and their removal path (#6379 F6) #13533 (merged 2026-11-23)
    • design(id): #5684 parent synthesis — identity, login & delegation #13715 parent synthesis for identity, login and delegation, design(id): identity, login & delegation — simplicity-first key custody, security-code recovery, and pseudo-login identities #5684 (merged 2026-11-23)
    • test(id): CLI scenario refusals for delegate/revoke (#13532) #13807 CLI scenario refusals for delegate/revoke, id: CLI scenario tests for delegate/revoke (#6379 F5) #13532 (merged 2026-11-24)

    Still open per the acceptance criteria: the security audit of src/commands/group.rs, delegate.rs and revoke.rs, property-based tests for the security invariants, and the migration path for deprecated features. Follow-on work should be split into per-finding issues with blocked-by links to the existing F-items. No code changed in this pass.

  15. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Done check — task 24828 (lane code-g, 2026-11-26): all acceptance criteria met, closing.

    Verified fresh against origin/main:

    • Security audit completed — stage 1 (task 14441), findings F1–F7.
    • Security-critical code reviewed — delegation core (judge/fold, actions/log, CLI).
    • Documentation of security guarantees — PR design(id): delegation threat model, guarantees, and F1/F2 decisions (#6379) #13535 merged (threat model, G1–G9 falsifiable claims, D1 expiry + D2 grantor veto); record on main at doc/2026-11-23T17-47-48Z_design_id_delegation_threat_model/.
    • Test coverage for security scenarios — PR test(id): CLI scenario refusals for delegate/revoke (#13532) #13807 merged (CLI refusal scenarios, 6 passed); PR id: grant expiry bound (F1) and grantor veto (F2) #13819 merged (f033916: F1 expiry + F2 veto, 378 lib + 3 scenario tests green).
    • Migration path for deprecated features — PR docs(id): legacy group wire forms migration record (#6379 F6, #13533) #13545 merged (doc/2026-11-23T17-52-00Z_design_id6379_legacy_group_wire_forms/); child id: document legacy group wire forms and their removal path (#6379 F6) #13533 closed.
    • Children all CLOSED with merged work: id: verify the ingest funnel and key custody end to end (#6379 F3+F4) #13531 (F3+F4), id: CLI scenario tests for delegate/revoke (#6379 F5) #13532 (F5), id: document legacy group wire forms and their removal path (#6379 F6) #13533 (F6), id: implement grant expiry bound and grantor veto (#6379 F1+F2) #13534 (F1+F2).

    No open PR references this issue; felix fallback claim (2026-11-23) is stale past its own 30-min silence rule. Closing per Finishing-work rule.

  16. developing-today-fleet
    removed
    status:in-review
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 26, 2026
  17. developing-today-fleet
    closed this as completedon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/securitySecurity issue or security hardeningmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/humanFiled directly by a humantask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      • ID platform programNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.