You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[reviewer] Review backlog (security): Anonymous /api/hub/activity/public rebuilds and marshals the full fleet view per request with no rate limit #16111
Blocked on PR #16110.src/pkg/hub/activity_public.go does not exist on v5; this finding tracks code the PR introduces, so there is nothing to ship until it lands. The hive lifts the blocked label when the PR merges or closes.
Filed from an out-of-scope finding in the Hive review of PR #16110.
PR: #16110 (#16110)
Perspective: security
Severity: low (P3)
Finding: Anonymous /api/hub/activity/public rebuilds and marshals the full fleet view per request with no rate limit
Evidence: src/pkg/hub/activity_public.go:92
handleHubActivityPublic (activity_public.go:92-115) is mounted outside requireAuth (activity_page.go:114) and on every request copies the registry (activity.go:396), snapshots all public hives' blocks and events, filters, builds the view and json.Marshals it; a 304 is only returned after the full marshal. The hub mux has no rate limiter (server.go: only /api/gh-rate-limits matches 'rate'), consistent with the existing anonymous public registry/leaderboard, so this is not a regression and is bounded by MaxItemsCeiling and the event ring. Worth a cheap cached-body-with-TTL or per-IP limiter later, since this endpoint is now the broadcast source and an unauthenticated CPU sink.
Unblocked: #16110 merged and the finding's file is still on the base branch. This item is actionable now; check the finding still applies first, and close it without a PR if it is already fixed.
🔒 Claimed by @mrbobbytables (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
🔒 Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Activity
hivecommons-hive commentedon Oct 31, 2026
Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor.
Unblocked: #16110 is no longer open. This issue is actionable again.
hivecommons-hive commentedon Oct 31, 2026
Unblocked: #16110 merged and the finding's file is still on the base branch. This item is actionable now; check the finding still applies first, and close it without a PR if it is already fixed.
hivecommons-hive commentedon Oct 31, 2026
🔒 Claimed by @mrbobbytables (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply
/unclaimto release, or/claimto take it over if you outrank the holder.1 remaining item
hivecommons-hive commentedon Oct 31, 2026
🔓 Claim by @mrbobbytables released (lease revoked).
hivecommons-hive commentedon Oct 31, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Nov 1, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).fix(hub): key the public activity cache on the parsed filter and boun…
🐛 fix(hub): cache the anonymous public activity body for a short TTL (#…