Skip to content

Agent-task read surfaces are not gated behind repo/task visibility rules #395

Closed

Description

@euxarist

Task read endpoints (GET /tasks, GraphQL subscriptions) serve task data without checking repo visibility or task-level access rules. This allows unauthenticated callers to read task bodies on private repos.

Needed:

  • Gate task reads behind authorize_repo_read
  • Decouple open-claim eligibility from read visibility
  • Apply rate limiting to GraphQL WebSocket subscriptions
  • Enforce hostile-node response limits in the CLI and MCP client

Activity

  1. added
    kind:security
    sev:high
    subsystem:api
    subsystem:peers
    subsystem:visibility
    on Sep 2, 2026
  2. added
    crate:node
    on Sep 5, 2026
  3. 5 remaining items

  4. beardthelion commented on Nov 17, 2026

    @beardthelion
    Collaborator

    Fixed in #553: task reads are gated behind repo and task visibility, and claim eligibility is decoupled from read visibility. The two remaining bullets are tracked separately: the WebSocket brake in #422 and hostile-node response limits in #473 and #504.

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

    crate:nodekind:securitysev:highsubsystem:apisubsystem:peerssubsystem:visibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions