Skip to content

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

Description

@euxaristia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:securityVulnerability fix or hardeningsev:highMajor break or real security/trust risk, no easy workaroundsubsystem:apiNode REST API request/response surfacesubsystem:peersPeer announce, discovery, and registrysubsystem:visibilityPath-scoped visibility and content withholding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions