{"id":"XE-13672","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":2513,"title":"DAO GET /v1/members/sessions is the unmetered sibling: full session payload with no per-IP limit","area":"dao-harness","claimed_tier":"minor","assessed_tier":null,"verdict":"duplicate","duplicate_of":"XE-6119","tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-15T03:12:21.149762+00:00","updated_at":"2026-11-15T10:27:05.245120+00:00","source_created_at":null,"told_at":"2026-11-15T10:27:34.304595+00:00","status_changed_at":"2026-11-15T10:27:34.293870+00:00","url":"https://bounty.xe.network/XE-13672","body":"## Summary\n\nOne members endpoint in the DAO service escaped the metering its siblings got. `GET /v1/members/sessions` (dao, `members.py:65-68`) returns the **full session list** — every session serialised in full, including ops and approvals — with no `Request` object taken and no `enforce_ip` call: no per-IP rate limit at all. Its sibling `GET /v1/members/sessions/{sid}` *is* metered. The list route makes no node call, so the cost it exposes is unbounded-rate database + serialisation work on the heaviest payload in the members API — precisely the shape the metering pass was meant to close, on the one route it missed.\n\n## Reproduction — code-confirmed at dao HEAD `2efbfee`\n\n```\nmembers.py:65-68   GET /v1/members/sessions       no Request param, no enforce_ip,\n                                                  returns full sessions.to_dict (incl. ops/approvals)\nmembers.py (sibling) GET /v1/members/sessions/{sid}   metered\n```\n\nHonest limits: this is a code-level proof. The live DAO host was attempted once, gently, for confirmation and was unreachable (HTTP 000), and was not retried; the route, its payload and the missing metering are all directly readable in the source above.\n\n## Relation to XE-6985 and XE-0652 — stated up front\n\n- **XE-6985** was read in full: it names `/v1/log` and `/v1/legal/resolutions` as its unmetered examples. It does **not** name this route. This report is the missed sibling of that ticket's class, filed separately because the route is not in it.\n- **XE-0652** (awarded) once enumerated `GET /sessions` in a gate matrix under an argument that has since been fixed/recharacterised; it did not claim the missing per-IP metering on this route. If triage judges either ticket sufficient coverage, this folds — the specific claim here (no `enforce_ip` on the full-payload list route, at current HEAD) is not made in either.\n\n## Suggested fix\n\nTake `Request` and call `enforce_ip` on the list route exactly as the `{sid}` sibling does; consider trimming the list payload (ops/approvals belong on the detail route).\n\n## References\n\n- `dao` repo, `members.py:65-68` (list route, unmetered) vs the metered `{sid}` route. dao HEAD `2efbfee`.\n- XE-6985 full text (names only `/v1/log`, `/v1/legal/resolutions`); XE-0652 (historical enumeration, different argument).","patch_refs":[],"thread":[{"id":5406,"source":"desk","source_ref":"reply:4083","author":"Joseph Denne","team":true,"body":"Thanks. This is the same finding as https://bounty.xe.network/XE-6119, which was filed first; the programme pays the\nfirst verifiable submission, so this one closes as a duplicate. If you believe it is a different\nbug, file a new report that links https://bounty.xe.network/XE-13672 and says what differs; it is read like any other.","created_at":"2026-11-15T10:27:05.245120+00:00"}]}