[desk] /v1/stats per-day counts include sealed reports
Report
Summary
GET /v1/stats (and the public /stats page) counts every bounty ticket in its per-day and per-hour filing bars, including sealed (private) reports. An anonymous observer can therefore tell that a sealed report was filed on a given day (and hour) — timing metadata about reports whose existence is supposed to be hidden.
Severity
Low. CVSS does not map cleanly to aggregate timing metadata; treating it as limited confidentiality gives ~2.x at most, and a 0.0 reading is also defensible since no report content is exposed. Claimed tier: minor.
Evidence (observed live, 2026-11-11 ~18:19 UTC)
GET https://bounty.xe.network/v1/statsreturnedreports: 7664vspublic.reports: 1309— the difference is sealed reports counted in the totals.- Per-day bars, e.g.
2026-11-11: 3297 reports,2026-11-10: 1921. - Cross-check against the public log: 18
ticket.createdevents for IDs absent from the open-board list were allvisibility: public(closed/patched/support tickets) — no private titles leak via the log, so the stats page is the only place this timing signal appears.
Root cause
desk/services/stats.py, collect(): the per_day / by_hour ("reports") counts include every bounty ticket regardless of visibility. Other stats paths already gate on visibility (by_tier uses the assessment-held gate; awards use award_published).
Honest note: possibly by design
The stats module's own docstring states this deliberately: "Every bounty report counts here, sealed or public: the total, the reports per day, the hours they arrive. These carry no ticket's state and nobody's name, and the ticket ids already say how many reports there are. This is the one place the desk counts sealed reports for the public." And: "A sealed report that is moved to the support door leaves the count for the day it was filed on; that much of it shows." The ticket IDs already reveal the total count, so the team may consider this acceptable. Filing this so the team can confirm it or close the residual either way.
Impact
Aggregate filing-day (and hour) timing only. No title, tier, reporter identity, or content is exposed. Worst case: an observer correlates a private filing day with an external event (e.g. a public disclosure elsewhere) and guesses a sealed report exists.
Remediation
Exclude sealed reports from the public per-day/per-hour counts (or count them in a separate, clearly labelled bucket), mirroring the visibility gating the other stats paths already apply.
Dedup note
No board ticket names stats per-day/heat counts of sealed reports. Neighbours already filed: XE-5977 (NULL reporter dropped from leaderboard/stats), XE-6785 (unsorted bucket mismatch).
Environment
Desk HEAD ab9df7f (verified 2026-11-11). Live endpoint https://bounty.xe.network/v1/stats.
Payout address (XE)
xe:952f5eaffd7af01d1c452ea68f2b37ed340ab773ed6ae4fb73c18fb2ef4edc8d
Thread
Thanks for the report. We read it against the code and could not confirm a bug in what it describes.
This report is closed as invalid. If we have missed something, file a new report that links https://bounty.xe.network/XE-7783 and says what; it is read like any other.