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): activityStore is not purged when a hive is removed from the registry #16002
Blocked on PR #16001.src/pkg/hub/activity.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 #16001.
)
Finding: activityStore is not purged when a hive is removed from the registry
activityStore.record/forgetOldLocked (src/pkg/hub/activity.go:72-124) only evicts a hive's digest after activityForgetAfter (24h). handleDeleteHive (src/pkg/hub/saas_hives_api.go:1732) removes the registry entry via removeRegistryEntry but never clears s.activity, so the last digest of a deleted hive stays in hub memory for up to 24h. It is not reachable through GET /api/hub/activity today because visibleActivityHives only yields registry hives (Missing hives skip the block at activity.go:275), and hosted IDs cannot be re-registered by a spoke (server.go:2710). Advisory: call a small activityStore.forget(id) from the registry-removal path so the memory-only retention promise in the PR body also holds on delete, not just on silence.
🔒 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.
Unblocked: #16005 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.
Activity
hivecommons-hive commentedon Oct 31, 2026
Re-targeted: blocker #16001 was superseded by #16005.
hivecommons-hive commentedon Oct 31, 2026
Unblocked: #16005 is no longer open. This issue is actionable again.
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 Oct 31, 2026
Unblocked: #16005 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.
🐛 fix(hub): purge activity digest on admin registry delete too
hivecommons-hive commentedon Oct 31, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).🐛 fix(hub): purge a hive's activity digest when it is removed from th…