{"id":"XE-11974","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":2308,"title":"Unbounded R at lease emission: validateEpochValue never bounds R; CapR(r, cap=0)=r survives unbounded","area":"leasing-ledger","claimed_tier":"high","assessed_tier":null,"verdict":"duplicate","duplicate_of":null,"tracked":true,"internal_ref":"#1120","internal_url":"https://github.com/xeprotocol/core/issues/1120","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-13T12:16:50.479318+00:00","updated_at":"2026-11-20T00:50:09.417048+00:00","source_created_at":null,"told_at":"2026-11-20T00:50:09.430175+00:00","status_changed_at":"2026-11-20T00:50:09.422066+00:00","url":"https://bounty.xe.network/XE-11974","body":"## Summary\nThe lease emission multiplier R has no upper bound at the emission point. validateEpochValue (statechain/kvstore.go:333) cross-checks internal consistency (r_effective vs r_volume/r_price_floor/r_collusion) and bounds PayoutCap, but NEVER bounds R itself. CapR (core/ledger.go:2037) returns r unchanged when payoutCap=0/twap=0, so an unbounded R flows straight into LeaseEmissionChecked -> unbounded XE minted at lease_settle.\n\n## Sink + root cause\nxe/core/ledger.go:2037 (CapR): if payoutCap==0 || twap==0 return r  (unbounded R survives)\nxe/statechain/kvstore.go:333 (validateEpochValue): no upper bound on R_volume/R_price_floor.\nxe/statechain/chain.go:182 (epoch write-once) + genesis.go:120 (DAO-governed allowed_prefix).\n\n## Executed PoC (Go, against source, real output)\nR=1000        -> 1 lease mints 1000000 XE\nR=100000      -> 1 lease mints 100000000 XE\nR=1000000000  -> 1 lease mints 1000000000000 XE\nR=4294967295  -> 1 lease mints 4294967295000 XE\nCapR(R=1e9, cap=2000, twap=1) = 2000000 (still ~2e6, effectively unbounded)\n\n## Impact (jujur)\nAn epoch writer (DAO/oracle/insider) can raise R to a huge value -> LeaseTotalEmission mints arbitrary XE per lease. Attacker-boundary: INSIDER/GOVERNANCE (R is not settable by an external attacker; epoch params are write-once + DAO-governed, chain.go:182). This is a governance-misconfig class, not an 'anyone drains' claim.\n\n## Fix\nBound R in validateEpochValue (clamp r_volume/r_price_floor to a tokenomics range) and add a per-epoch hard cap on LeaseEmission.","patch_refs":[],"thread":[{"id":13609,"source":"desk","source_ref":"reply:11631","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-11974 and says what differs; it is read like any other.","created_at":"2026-11-20T00:50:09.417048+00:00"}]}