<!-- XE-13153 · DAO pinned fee-action strings are never validated: a value other than refund/burn strands the proposal fee in a state no settler selects · testnet -->
*Markdown view of <https://bounty.xe.network/XE-13153>. The page is the record; this is the same page for reading.*

XE-13153 · Bounty

# DAO pinned fee-action strings are never validated: a value other than refund/burn strands the proposal fee in a state no settler selects

Closed · duplicate
—claimed Minor
web
filed 2026-11-14 17:55 UTC
by Jeri055

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Minor

Area
:   DAO harness

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-15 10:27 UTC

Told
:   2026-11-15 10:27 UTC

### Patches

None linked.

### History

- [258486](https://bounty.xe.network/log/258486) 2026-11-15 10:27 UTC proposal.adopted
- [258485](https://bounty.xe.network/log/258485) 2026-11-15 10:27 UTC reply.sent
- [258484](https://bounty.xe.network/log/258484) 2026-11-15 10:27 UTC ticket.status new → closed
- [257490](https://bounty.xe.network/log/257490) 2026-11-15 10:27 UTC proposal.adopted
- [257489](https://bounty.xe.network/log/257489) 2026-11-15 10:27 UTC ticket.facts
- [257488](https://bounty.xe.network/log/257488) 2026-11-15 10:27 UTC proposal.adopted
- [257487](https://bounty.xe.network/log/257487) 2026-11-15 10:27 UTC ticket.facts
- [257486](https://bounty.xe.network/log/257486) 2026-11-15 10:27 UTC proposal.adopted
- [257485](https://bounty.xe.network/log/257485) 2026-11-15 10:27 UTC ticket.facts area
- [257484](https://bounty.xe.network/log/257484) 2026-11-15 10:27 UTC proposal.adopted
- [257483](https://bounty.xe.network/log/257483) 2026-11-15 10:27 UTC ticket.award
- [256578](https://bounty.xe.network/log/256578) 2026-11-15 10:26 UTC note.added

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

### Report

Summary. The fee disposition of a closed proposal is taken verbatim from its pinned rules and written into the ledger as fee.state \= "due\_" \+ action. Nothing \- not config load, not rule pinning, not close \- checks that the action is one of the two the settler understands. A Schedule B carrying any other string (a typo such as "refnd" in the member-set YAML is enough) closes the proposal normally and parks the fee in a state that fees.settle\_due never selects, with fee.error left empty: the payer's XE sits in the fee account forever and no surface reports it.

Documented rule. BRIEF sections 3/10 and dao/services/fees.py define exactly two dispositions \- refund to the payer or burn \- and the settler's contract is that every due\_\* row is eventually settled or visibly errored.

Code path. dao/config.py:192 pinned\_rules() copies fee\_on\_quorum / fee\_below\_quorum from the Schedule B overrides unvalidated (:202-:203). dao/services/portal.py:366 *close() reads the action from the pinned rules; :358ff writes fee.state \= f"due*{action}". dao/services/fees.py:45 DUE \= ("due\_refund", "due\_burn"); settle\_due (:118) selects only DUE \+ ("settling",). Affected code is at dao HEAD 2efbfee.

Reproduction (executed). A proposal pinned with fee\_on\_quorum\="refnd" is closed against a real DB with quorum met. Output: "after \_close (quorum\_met, fee\_on\_quorum\='refnd'): proposal\=closed ... fee.state\='due\_refnd' fee.error\=''"; the rows the settler would ever select: none.

Impact. Silent, permanent stranding of a proposal fee (bounded by the configured fee per affected proposal). No error, no log entry, no retry \- the ledger row is indistinguishable from settled work unless someone inspects raw states.

Scope note, stated plainly: the shipped config/schedule\_b.yaml values are valid; reaching the defect requires the members' own Schedule B to carry a bad value. The defect is that the harness accepts and acts on it without a single validation point. Distinct from XE-0740, XE-4641, XE-4591, XE-3130 (amount/selection defects on valid states); this is a state the settler's selection set does not contain at all.

### Thread

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

Thanks. This is the same finding as an earlier report that is not public, 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-13153 and says what differs; it is read like any other.
