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 — id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) · Issue #4723 · developing-today/code

id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723

New issue
Copy link
New issue
Copy link
Closed
#4744
Closed
id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589)#4723
#4744
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/securitySecurity issue or security hardeningpriority/highImportant and time-sensitivesource/pr-comment-reviewFiled by the pr-comment-review jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Finding (from PR review, never addressed)

World journal replication serves a world's complete journal to any Iroh peer that supplies a nonzero session nonce — no capability, membership, or admin credential is checked before the journal is opened and streamed. Omitting world even selects the default world. This bypasses the capability validation used for the existing records replication path and exposes journaled chat, inputs, and host events to nonmembers.

Raised independently by two reviewers on PR #4589:

  • Codex (P1), 2026-11-02T21:31:55Z: feat(id): serve signed world journal replication (#806 phase 2) #4589 (comment) — "Authorize replication before exposing the journal" (pkgs/id/src/world_replication_net.rs:114)
  • CodeRabbit (Major, Security & Privacy), 2026-11-02T21:37:25Z: feat(id): serve signed world journal replication (#806 phase 2) #4589 (comment) — after ensure_nonce, serve_stream calls hub.lease(request.world.as_deref(), None) and replication_feed(); neither checks the peer's identity or credentials; the nonce only rejects an all-zero value; REPLICATION_ALPN is also registered without an access policy (pkgs/id/src/commands/serve.rs:1145-1157). The participant projection hides chat and zeroes seeds for /id-world/1, but this stream sends raw journal bytes without that projection.

No-response evidence

  • PR feat(id): serve signed world journal replication (#806 phase 2) #4589 (feat(id): serve signed world journal replication, id: F12.13 journal replication (read replicas over a signed stream) #806 phase 2) had a single commit; both comments predate the merge (merged 2026-11-02T22:21:20Z as-is).
  • All 12 review threads on PR feat(id): serve signed world journal replication (#806 phase 2) #4589 are unresolved (GraphQL reviewThreads, checked 2026-11-03); there are no replies to either comment.

Still live on current main (verified 2026-11-03 via gh api raw reads)

pkgs/id/src/world_replication_net.rs on main: serve_stream calls ensure_nonce(&request.session_nonce)? (:109), then hub.lease(request.world.as_deref(), None) (:110-113), then replication_feed() (:114) — still no authorization check between the nonce check and opening the feed.

Acceptance criteria

  • Replication requires an authorized read credential/capability before the lease/feed is opened; unauthorized peers are rejected before any journal bytes are sent.
  • A regression test covers an unauthorized peer being refused (including the default-world case when world is omitted).
  • Or: a documented decision on this issue explaining why unauthenticated replication is acceptable, with the exposure stated explicitly.

Found by the pr-comment-review job from an unaddressed PR review comment.

Activity

Next
  1. dezren39
    added
    kind/securitySecurity issue or security hardening
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    source/pr-comment-reviewFiled by the pr-comment-review job
    on Nov 3, 2026
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: pr-comment-review job
    • Session / ID: pr-comment-review cron run 2026-11-02 19:54 CST (2026-11-03T02:04:24Z)
    • Found via: unaddressed PR comment — PR feat(id): serve signed world journal replication (#806 phase 2) #4589, reviewer comment feat(id): serve signed world journal replication (#806 phase 2) #4589 (comment)
    • Task: Triage the validated finding: Authorize replication reads: any peer with a nonzero nonce gets the full world journal (Codex P1 + CodeRabbit Major on PR feat(id): serve signed world journal replication (#806 phase 2) #4589, threads unresolved, no replies, merged as-is, still live on main at world_replication_net.rs:109-114)
    • Expectation: effort m — queue worker verifies against current main, then adds the authorization check + regression test, or documents a decision
    • Links: issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 · source PR feat(id): serve signed world journal replication (#806 phase 2) #4589
  3. dezren39
    added
    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 3, 2026
  4. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-k
    • Session / ID: task 6704
    • Found via: queue claim
    • Task: Triage — re-verify the reported unauthenticated world-journal replication feed against current main (pkgs/id/src/world_replication_net.rs lease/feed path, contrasted with the capability validation used for records replication), then post the verdict and enqueue the fix if confirmed.
    • Expectation: effort/m; done = verdict comment with file:line evidence on current main + a fix task enqueued (or a documented decision).
    • Links: issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 · source PR feat(id): serve signed world journal replication (#806 phase 2) #4589
  5. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triage verdict: CONFIRMED

    • Agent: queue worker (repo-worker-code), lane code-k
    • Session / ID: task 6704 (triage)
    • Found via: queue claim

    Verdict: CONFIRMED live on current main (developing-today/code main @ 22fd4a37aeeb, re-read fresh via gh api raw contents this shift — an independent re-verification, not a copy of the packet):

    • pkgs/id/src/world_replication_net.rs serve_stream: :109 ensure_nonce(&request.session_nonce)? — and ensure_nonce (:181-186) rejects only an all-zero nonce. :110-113 hub.lease(request.world.as_deref(), None), :114 replication_feed(), after which the full snapshot and live tail stream to the peer.
    • ReplicationRequest (:37-43) carries exactly two fields — world: Option<String> and session_nonce — no credential, capability, or token field exists to check.
    • The protocol handler never reads the connecting peer's identity (no remote_id/peer-identity use anywhere in the handler path), so there is nothing to authorize against even if a check were added downstream.
    • WorldHub::lease (pkgs/id/src/world_hub.rs:503-517): the second parameter is an admin token that only gates creating a not-yet-existing world (create = admin.is_some_and(...)); for an existing world, naming it suffices — the hub's own test comment at :1001 states "Once it exists, anyone may name it". Passing None from the replication path therefore opens any existing world, and omitting world selects the default world.
    • Contrast stands: the records//id-world/1 path applies capability validation and a participant projection (chat hidden, seeds zeroed); this stream sends raw journal bytes with neither.

    Disposition: this is a genuine P1 — unauthenticated disclosure of journaled chat, inputs, and host events to any peer that can reach the endpoint and name (or omit) a world. No documented-decision rationale exists on this issue or PR #4589. A fix task implementing issue #4723's acceptance criteria (authorized read credential/capability checked before the lease/feed opens; regression test for an unauthorized peer, including the omitted-world default case) has been enqueued from this triage.

    • Links: issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 · source PR feat(id): serve signed world journal replication (#806 phase 2) #4589 · follow-up fix task enqueued from task 6704 (id in the completion result)
  6. 43 remaining items

  7. developing-today
    added
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 8, 2026
  8. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-z
    • Session / ID: task 12176
    • Found via: queue claim
    • Task: triage of issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 handed off to the opencode claimant — execution-lane assignment for task 12176 is opencode; the claimant launches the bound opencode session
    • Expectation: done = issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 worked to its packet acceptance by the bound opencode session
    • Links: issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723
  9. developing-today commented on Nov 8, 2026

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

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 12176
    • Found via: queue claim
    • Task: Triage the remainder of issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 (id world-replication: replication stream serves the full world journal) after partial verification — verdict on current state, converting any actionable remainder to a fix packet. Assigned to the opencode execution lane per §1b; handed off to the opencode claimant, which launches the bound session. This worker does not work the task directly. Note task 12176 is at attempt 5/6 — the claimant session's terminal state matters.
    • Expectation: claimant launches the bound opencode session for task 12176; the session records the triage verdict on issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 and converts any remainder.
    • Links: issue id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723; audit issue queue: no reconciliation between open issues and queue coverage — non-creator filings never get queue items #7016; packet in task 12176
    • Delivery note: task 12176 was parked at 2026-11-08T08:51Z (resume 09:11:55Z); this note was owed from that park and is posted via the developing.today App after the user token hit its GraphQL rate limit.
  10. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 8, 2026
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · state: picked up

    • Agent: repo-worker-code (OpenChamber scheduled lane)
    • Session / ID: ses_e5e459d2a73ffeIq1o893V71Tw / queue task 12176
    • Found via: atomic queue claim · lane 02cafe76-eafd-4d0b-aaa6-2b7a737d68dc
    • Task: Triage the id(world-replication): replication stream serves the full world journal to any peer — no read authorization before the feed opens (PR #4589) #4723 remainder (replication read authorization) against current main and convert to a fix packet if actionable.
    • Next: Verify whether serve_stream still opens the feed without authorization on current main; check for a live fix task.
  12. dezren39
    added a commit that references this issue on Nov 8, 2026

    Merge pull request #4744 from developing-today/fix/4723-world-replica…

    99f657e
  13. dezren39
    closed this as completedin #4744on Nov 8, 2026
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/securitySecurity issue or security hardeningpriority/highImportant and time-sensitivesource/pr-comment-reviewFiled by the pr-comment-review jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.