<!-- XE-0612 · Held assessment still published to anonymous readers: page metadata and public log events leak `assessed_tier` and `internal_ref` · testnet -->
*Markdown view of <https://bounty.xe.network/XE-0612>. The page is the record; this is the same page for reading.*

XE-0612 · Bounty

# Held assessment still published to anonymous readers: page metadata and public log events leak \`assessed\_tier\` and \`internal\_ref\`

Awarded
Minorclaimed Medium
web
filed 2026-11-05 06:31 UTC
by xe:18cb6bd4

Verdict
:   Valid

Tier
:   Minor

Claimed
:   Medium

Area
:   Other

Duplicate of
:   —

Tracked
:   —

Award
:   50 XE approved
    · ceiling 650

Updated
:   2026-11-09 21:02 UTC

Told
:   2026-11-08 21:28 UTC

### Patches

- [desk@fb93a8aa28](https://github.com/xeprotocol/desk/commit/fb93a8aa284bd145bcad9c30266d1aa5a721cdcf)

### History

- [57344](https://bounty.xe.network/log/57344) 2026-11-09 21:02 UTC ticket.status patched → awarded
- [57343](https://bounty.xe.network/log/57343) 2026-11-09 21:02 UTC ticket.award
- [46479](https://bounty.xe.network/log/46479) 2026-11-08 21:28 UTC proposal.adopted
- [46478](https://bounty.xe.network/log/46478) 2026-11-08 21:28 UTC reply.sent
- [46319](https://bounty.xe.network/log/46319) 2026-11-08 21:28 UTC proposal.adopted
- [46318](https://bounty.xe.network/log/46318) 2026-11-08 21:28 UTC ticket.status accepted → patched
- [46317](https://bounty.xe.network/log/46317) 2026-11-08 21:28 UTC ticket.status triaging → accepted
- [45978](https://bounty.xe.network/log/45978) 2026-11-08 21:12 UTC proposal.created
- [45977](https://bounty.xe.network/log/45977) 2026-11-08 21:12 UTC proposal.created
- [45976](https://bounty.xe.network/log/45976) 2026-11-08 21:12 UTC note.added
- [45975](https://bounty.xe.network/log/45975) 2026-11-08 21:12 UTC patch.linked
- [43653](https://bounty.xe.network/log/43653) 2026-11-08 20:18 UTC proposal.adopted

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

### Report

# Held assessment still published to anonymous readers: page metadata and public log events leak `assessed_tier` and `internal_ref`

**Programme:** XE Testnet Bug Bounty — Track 1 (Security findings)
**Asset:** `bounty.xe.network` (the bounty desk, `xeprotocol/desk`)
**Class:** Information disclosure — metadata leak (programme tier: Medium; Minor also defensible)
**Researcher:** beluga
**Date:** 2026-11-05
**Status:** reproduced on the live deployment; unauthenticated, read-only

---

## Summary

The desk now withholds the team's assessment of an open bounty ticket until the fix ships:
`assessed_tier`, `verdict` and `internal_ref` are blanked in the ticket API, the ticket page says
"published when the fix ships", and the OG **image** no longer carries the tier
(`desk/og.py:289`). The policy is explicit (`docs/BOUNTY_GUIDE.md:42`): "a confirmed, unfixed bug with
the team's tier on it is a ranked entry on a list of what still works against the network, and the desk
does not publish that list."

The hold is incomplete. The same public ticket page still writes the held tier into its
`<meta name="description">` and `og:description`, and the anonymous event log still carries the held
internal tracker reference in `ticket.status` payloads. Any anonymous reader can recover the assessment
for the 171 public bounty tickets that are currently in a held status, including cases where the team
assessed a ticket **below** the reporter's claim.

> Scope note: a related vector — `ticket.award` events publishing the held `tier` — is filed separately
> and is deliberately not part of this report.

## Affected asset / version

- Live: `https://bounty.xe.network` (desk version `0.1.0`; manifest `git_commit` is `unknown`).
- Source: `xeprotocol/desk`. The hold was introduced by commit `f323a99` ("publish the assessment with
  the fix, not before..."). The deployed page shows that commit's copy
  (`assessment_held: "published when the fix ships"`) and its OG-image behaviour, so the deployment
  includes the hold. Exact commit-to-deployment mapping cannot be proven from the outside because the
  manifest leaves `git_commit` unset; the code paths below match observed behaviour.

## Prerequisites

None. No account, cookie, token or key. Plain HTTPS GETs to the public pages.

## Steps to reproduce

All commands are read-only and were run on 2026-11-05 (see `evidence/H1_reproduce.sh`).

1. Open a public bounty ticket in a held status, e.g. `XE-0001` (status `accepted`).

   ```
   curl -s https://bounty.xe.network/XE-0001
   ```
2. Observe that the page body withholds the assessment while the page metadata publishes it:

   ```
   <meta name="description" content="High · Accepted">
   <meta property="og:description" content="High · Accepted">
   ...
   Verdict -> published when the fix ships
   Tier    -> published when the fix ships
   Claimed -> Critical
   ```
3. Confirm server-side that the tier really is being withheld, and that "High" is not the reporter's
   claim:

   ```
   curl -s https://bounty.xe.network/v1/tickets/XE-0001
   ```

   ```
   {"id":"XE-0001","status":"accepted","claimed_tier":"critical",
    "assessed_tier":null,"verdict":null,"internal_ref":"","tracked":true}
   ```
4. Control: a ticket past `fixing` publishes the tier consistently everywhere, as intended
   (`XE-0005`, `patched`): `<meta name="description" content="High · Patched">` and the page shows
   `High`. The OG image for `XE-0001`, generated by the patched code path, correctly shows only
   `Accepted` (OCR of `evidence/H1_og_XE-0001.png`).
5. Second vector — `ticket.status` payloads publish the held `internal_ref` in `via`:

   ```
   curl -s 'https://bounty.xe.network/v1/tickets/XE-0001/log?limit=100'
   ```

   ```
   374 ticket.status via=internal:xeprotocol/core#1062
   373 ticket.status via=internal:xeprotocol/core#1062
   372 ticket.facts  via=internal:xeprotocol/core#1062
   ```

   Event 372's own `changes` are redacted and list `internal_ref` under `held`, yet events 373/374
   disclose the value of that same held field in `via`.

## Observed result

- 171 of the 239 publicly listed bounty tickets are in the held statuses
  (`new`, `triaging`, `needs-info`, `accepted`, `fixing`).
- Sample of six held tickets (public list API \+ page metadata):
  - `XE-0001` claimed `critical` → meta `High · Accepted`
  - `XE-0015` claimed `severe` → meta `High · Fixing`
  - `XE-0003` claimed `high` → meta `Medium · Accepted`
  - `XE-0017` claimed `high` → meta `High · Accepted`
  - `XE-0012`, `XE-0131`: no tier in the meta (assessment not set yet)
- So the leak publishes real decisions, not just an echo of the report: in at least three sampled
  tickets it reveals that the team assessed the bug higher or lower than the reporter claimed.
- `ticket.status` events expose the held `internal_ref` (`internal:xeprotocol/core#1062`; that
  repository is not publicly reachable — `https://github.com/xeprotocol/core` returns 404).

## Impact

An unauthenticated reader can enumerate ticket ids (`XE-0001` … sequentially), read each page's
`og:description`, and reconstruct the team's severity ranking of **unfixed, confirmed** vulnerabilities,
including downgrades relative to the reporter's claim. That is precisely the list the desk states it
does not publish, because it tells an attacker which live issues are highest value and where a fix is
already in flight. The log additionally discloses the private internal tracker coordinates of the fix
(`xeprotocol/core#…`).

Demonstrated impact is confidentiality of the team's triage assessment and internal references. No
funds, accounts, keys or user data are exposed, and no write or privilege boundary is crossed; the
report does not claim that this leak alone enables exploitation.

## Evidence

`evidence/` (hashes in `H1_sha256sums.txt`):

| File | What it is |
| --- | --- |
| `H1_reproduce.sh` | the read-only reproduction script |
| `H1_run_output.txt` | captured output of the script (UTC timestamps in headers) |
| `H1_held_XE-0001.html` | held ticket page |
| `H1_api_XE-0001.json` | API response proving `assessed_tier`/`verdict` are held |
| `H1_control_XE-0005.html` | non-held control ticket (tier published consistently) |
| `H1_og_XE-0001.png` | OG image for the held ticket (no tier chip) |
| `H1_log_XE-0001.json` | ticket log showing `internal_ref` in `via` |
| `H1_prevalence.txt` | sample size and six-ticket sample |

## Root cause (code)

- `desk/ui.py:615-621` — the ticket page builds its `og` description from `t.assessed_tier`
  unconditionally. The sibling image path was fixed in the same commit
  (`desk/og.py:289` checks `assessment_held`), but this path was not:

  ```
  bits = [labels.get(t.status, t.status)]
  if t.kind == "bounty" and t.assessed_tier:
      bits.insert(0, c.config.tier_label(t.assessed_tier))
  ```
- `desk/log.py:269-306` — `public_payload()` redacts `ticket.facts` changes and a few payload keys,
  but not `ticket.status.via`.
- `desk/services/tickets.py:586` emits `"via": via` (which carries `internal:<ref>`) in `ticket.status`.

## Limitations

- The tier was public on these pages before commit `f323a99`; the leak is a gap in the new hold, not a
  leak of data that never existed publicly. Impact is therefore metadata-only and time-bounded to the
  hold window. This is why Medium (the programme's "metadata leak") is claimed, with Minor
  acknowledged as a reasonable triage outcome.
- No `verdict` leak was found in the public surfaces tested; only `assessed_tier` and `internal_ref`
  are demonstrated.
- Deployment commit is not exposed (`git_commit: "unknown"`); matching to `f323a99` rests on the
  deployed copy and the partial fix behaviour.
- Testing was limited to a handful of GETs per host with delays; no enumeration of all 171 held
  tickets was performed beyond the six-ticket sample.

## Remediation

1. Gate the ticket page's `og`/meta description the same way the image is gated: use the `shown` value
   (`team or not assessment_held(t)`) and fall back to `claimed_tier`, or to status only.
2. Extend `public_payload()`: redact the `internal:` prefix from `ticket.status.via` (keep public
   provenance such as `github:` and `triage`).
3. Add regression tests that render a held public ticket anonymously and assert `assessed_tier`,
   `verdict` and `internal_ref` (and any `internal:` via) never appear in HTML, meta tags, the OG image,
   the JSON API or `/v1/log`.
4. Consider setting `git_commit` in the deployed manifest so a report can name the exact build.

## AI-assistance disclosure

This report was prepared with AI assistance. Every claim above was executed or read against the live
service on 2026-11-05; the commands and their outputs are in `evidence/`.

## Evidence hashes (SHA-256)

```
72003d9707182de838eb097b6c76770f031a93499f260fadbc75affb731cb259  H1_api_XE-0001.json
4b94d60ce4475724dcbb61588a580a7c01b1f1785936a1d38eeb36ce8317b41d  H1_control_XE-0005.html
ae698bed5e6427d809589137aed868622e703617e50e61944965972e134c61a8  H1_held_XE-0001.html
b65bab120be709a64a8895141c2dfc27b2953a1fb0e62074a52feef3f9195620  H1_log_XE-0001.json
b377d04a10ced6e0a84b32cf64c549b2ff3c9e2c65e92ca8922cd7747b74eca4  H1_og_XE-0001.png
44a91249db1b27f0b01eb3746d715eebe9d3173955dd06b69106a77345a876c9  H1_prevalence.txt
37557310b009e48b9a1d3513bae0572bd16a1281c526b499bbb8b3e1864f4183  H1_reproduce.sh
e827b2373d54acfe59eb61443fa56d1261b4f26bc04608e239ccbbe68d1d9e28  H1_run_output.txt
```

### Thread

**Joseph Denne**team2026-11-08 20:17 UTCdesk

Thanks for the report. We have confirmed both gaps you describe and they are being handled together with a related fix. We will update you here: https://bounty.xe.network/XE-0612

**Joseph Denne**team2026-11-08 21:28 UTCdesk

Thanks for the report. The fix is on the desk now; this ticket moves to patched, and the assessment and any award follow the fix.
