DAO GET /v1/members/sessions is the unmetered sibling: full session payload with no per-IP limit
Report
Summary
One 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.
Reproduction — code-confirmed at dao HEAD 2efbfee
members.py:65-68 GET /v1/members/sessions no Request param, no enforce_ip,
returns full sessions.to_dict (incl. ops/approvals)
members.py (sibling) GET /v1/members/sessions/{sid} metered
Honest 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.
Relation to XE-6985 and XE-0652 — stated up front
- XE-6985 was read in full: it names
/v1/logand/v1/legal/resolutionsas 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. - XE-0652 (awarded) once enumerated
GET /sessionsin 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 (noenforce_ipon the full-payload list route, at current HEAD) is not made in either.
Suggested fix
Take 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).
References
daorepo,members.py:65-68(list route, unmetered) vs the metered{sid}route. dao HEAD2efbfee.- XE-6985 full text (names only
/v1/log,/v1/legal/resolutions); XE-0652 (historical enumeration, different argument).
Thread
Thanks. This is the same finding as https://bounty.xe.network/XE-6119, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-13672 and says what differs; it is read like any other.