{"id":"XE-13153","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":2416,"title":"DAO pinned fee-action strings are never validated: a value other than refund/burn strands the proposal fee in a state no settler selects","area":"dao-harness","claimed_tier":"minor","assessed_tier":null,"verdict":"duplicate","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-14T17:55:56.351102+00:00","updated_at":"2026-11-15T10:27:05.245120+00:00","source_created_at":null,"told_at":"2026-11-15T10:27:33.491402+00:00","status_changed_at":"2026-11-15T10:27:33.483735+00:00","url":"https://bounty.xe.network/XE-13153","body":"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.\r\n\r\nDocumented 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.\r\n\r\nCode 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.\r\n\r\nReproduction (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.\r\n\r\nImpact. 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.\r\n\r\nScope 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.","patch_refs":[],"thread":[{"id":5376,"source":"desk","source_ref":"reply:4053","author":"Joseph Denne","team":true,"body":"Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the\nfirst verifiable submission, so this one closes as a duplicate. If you believe it is a different\nbug, file a new report that links https://bounty.xe.network/XE-13153 and says what differs; it is read like any other.","created_at":"2026-11-15T10:27:05.245120+00:00"}]}