<!-- XE-7783 · [desk] /v1/stats per-day counts include sealed reports · testnet -->
*Markdown view of <https://bounty.xe.network/XE-7783>. The page is the record; this is the same page for reading.*

XE-7783 · Bounty

# \[desk\] /v1/stats per-day counts include sealed reports

Closed · invalid
—claimed Minor
web
filed 2026-11-11 18:47 UTC
by xe:952f5eaf

Verdict
:   Invalid

Tier
:   —

Claimed
:   Minor

Area
:   Other

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-17 09:53 UTC

Told
:   2026-11-17 09:53 UTC

### Patches

None linked.

### History

- [417546](https://bounty.xe.network/log/417546) 2026-11-17 09:53 UTC reply.sent
- [415418](https://bounty.xe.network/log/415418) 2026-11-17 09:38 UTC proposal.adopted
- [415034](https://bounty.xe.network/log/415034) 2026-11-17 09:38 UTC proposal.adopted
- [415033](https://bounty.xe.network/log/415033) 2026-11-17 09:38 UTC ticket.status new → closed
- [412321](https://bounty.xe.network/log/412321) 2026-11-17 09:37 UTC proposal.adopted
- [412320](https://bounty.xe.network/log/412320) 2026-11-17 09:37 UTC ticket.facts area
- [412319](https://bounty.xe.network/log/412319) 2026-11-17 09:37 UTC proposal.adopted
- [412318](https://bounty.xe.network/log/412318) 2026-11-17 09:37 UTC ticket.facts
- [385938](https://bounty.xe.network/log/385938) 2026-11-17 05:02 UTC note.added
- [385937](https://bounty.xe.network/log/385937) 2026-11-17 05:02 UTC proposal.created
- [385936](https://bounty.xe.network/log/385936) 2026-11-17 05:02 UTC proposal.created
- [385935](https://bounty.xe.network/log/385935) 2026-11-17 05:02 UTC proposal.created

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

### 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/stats` returned `reports: 7664` vs `public.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.created` events for IDs absent from the open-board list were all `visibility: 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

**XE desk**team2026-11-17 09:53 UTCdesk

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.
