<!-- XE-13672 · DAO GET /v1/members/sessions is the unmetered sibling: full session payload with no per-IP limit · testnet -->
*Markdown view of <https://bounty.xe.network/XE-13672>. The page is the record; this is the same page for reading.*

XE-13672 · Bounty

# DAO GET /v1/members/sessions is the unmetered sibling: full session payload with no per-IP limit

Closed · duplicate
—claimed Minor
web
filed 2026-11-15 03:12 UTC
by xe:2a2e6147

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Minor

Area
:   DAO harness

Duplicate of
:   [XE-6119](https://bounty.xe.network/XE-6119) patched

Tracked
:   —

Updated
:   2026-11-15 10:27 UTC

Told
:   2026-11-15 10:27 UTC

### Patches

None linked.

### History

- [258576](https://bounty.xe.network/log/258576) 2026-11-15 10:27 UTC proposal.adopted
- [258575](https://bounty.xe.network/log/258575) 2026-11-15 10:27 UTC reply.sent
- [258574](https://bounty.xe.network/log/258574) 2026-11-15 10:27 UTC ticket.status new → closed
- [257724](https://bounty.xe.network/log/257724) 2026-11-15 10:27 UTC proposal.adopted
- [257723](https://bounty.xe.network/log/257723) 2026-11-15 10:27 UTC ticket.facts
- [257722](https://bounty.xe.network/log/257722) 2026-11-15 10:27 UTC proposal.adopted
- [257721](https://bounty.xe.network/log/257721) 2026-11-15 10:27 UTC ticket.facts
- [257720](https://bounty.xe.network/log/257720) 2026-11-15 10:27 UTC proposal.adopted
- [257719](https://bounty.xe.network/log/257719) 2026-11-15 10:27 UTC ticket.facts area
- [257718](https://bounty.xe.network/log/257718) 2026-11-15 10:27 UTC proposal.adopted
- [257717](https://bounty.xe.network/log/257717) 2026-11-15 10:27 UTC ticket.award
- [256352](https://bounty.xe.network/log/256352) 2026-11-15 10:26 UTC note.added

[Full history](https://bounty.xe.network/log?ref=XE-13672) · [JSON](https://bounty.xe.network/v1/tickets/XE-13672) · [markdown](https://bounty.xe.network/XE-13672.md)

### 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/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.
- **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.

## 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

- `dao` repo, `members.py:65-68` (list route, unmetered) vs the metered `{sid}` route. dao HEAD `2efbfee`.
- XE-6985 full text (names only `/v1/log`, `/v1/legal/resolutions`); XE-0652 (historical enumeration, different argument).

### Thread

**Joseph Denne**team2026-11-15 10:27 UTCdesk

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.
