Skip to content

Node: enforce origin-blacklist at the StreamRequest/channel layer + OriginBlacklisted error #1179

Closed

Description

@alpergundogdu

Disposition: IMPLEMENT (ADR 011).

A blacklisted origin's channels are still served; there's no channel-level gate and no wire error distinguishing this from a cache miss (crates/node/src/handlers/client.rs:183, crates/protocol/src/client.rs:533).

Action: reject StreamRequests funded by a blacklisted origin, drop its NodeIds from the peer table, and add the OriginBlacklisted wire error.


Filed from the ADR→implementation gap analysis. ADR edits must be made in place with no historical/tombstone text (no "planned but cut" sentences) per repo ADR convention.

Activity

  1. added
    kind:security
    prio:medium
    rust
    on Jul 15, 2026
  2. altanoruc commented on Jul 17, 2026

    @altanoruc
    Contributor

    Triage note for a later automated run: skip until the request pins the channel-side subject and data path. The current wording says a StreamRequest is funded by a blacklisted origin, while ADR 011 says OriginBlacklisted means the channel operator address is blacklisted; specify whether this checks the channel client, provider, or serving node, how that status reaches the hot path without a per-request RPC, and which watcher removes existing peer-table entries.

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

Metadata

Metadata

Assignees

Labels

kind:securityprio:mediumrust

Type

No type

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions