<!-- XE-16974 · [Low] No confirmation before irreversible money-out: CLI send, CLI lease, web wallet send · testnet -->
*Markdown view of <https://bounty.xe.network/XE-16974>. The page is the record; this is the same page for reading.*

XE-16974 · Bounty

# \[Low\] No confirmation before irreversible money-out: CLI send, CLI lease, web wallet send

Closed · duplicate
—
[xe#689](https://github.com/xeprotocol/xe/issues/689)
filed 2026-11-17 08:11 UTC
by kecedanzz77-bit

Verdict
:   Duplicate

Tier
:   —

Claimed
:   —

Area
:   SDK / docs / web

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-22 23:26 UTC

Told
:   2026-11-22 23:26 UTC

### Patches

None linked.

### History

- [770245](https://bounty.xe.network/log/770245) 2026-11-22 23:26 UTC reply.mirror\_failed
- [769838](https://bounty.xe.network/log/769838) 2026-11-22 23:26 UTC proposal.adopted
- [769837](https://bounty.xe.network/log/769837) 2026-11-22 23:26 UTC reply.sent
- [769836](https://bounty.xe.network/log/769836) 2026-11-22 23:26 UTC ticket.status new → closed
- [768783](https://bounty.xe.network/log/768783) 2026-11-22 23:25 UTC proposal.adopted
- [768782](https://bounty.xe.network/log/768782) 2026-11-22 23:25 UTC ticket.facts area
- [768781](https://bounty.xe.network/log/768781) 2026-11-22 23:25 UTC proposal.adopted
- [768780](https://bounty.xe.network/log/768780) 2026-11-22 23:25 UTC ticket.facts
- [768779](https://bounty.xe.network/log/768779) 2026-11-22 23:25 UTC proposal.adopted
- [768778](https://bounty.xe.network/log/768778) 2026-11-22 23:25 UTC ticket.facts
- [766663](https://bounty.xe.network/log/766663) 2026-11-22 23:17 UTC note.added
- [766662](https://bounty.xe.network/log/766662) 2026-11-22 23:17 UTC proposal.created

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

### Report

## Summary

Three money-out paths submit immediately with no review step, breaking the codebase's own convention: CLI `send`, CLI `lease`, and the web wallet send. A fat-finger amount or destination is irreversible — and combined with the checksum-less address format (companion report filed in the same batch), a typo is silent permanent loss.

## Root Cause

- `cmdSend` (`cmd/xe/main.go:667-730`): destination from `args[0]`, default asset XCU, submits via `SubmitBlock` with no confirmation anywhere in the function.
- `cmdLease` (`cmd/xe/main.go:1010-1099`): prints Cost (`:1045`) and the auto-picked Provider (`:1052`), then submits (`:1088`) with no confirmation — the user cannot even veto the auto-picked provider.
- Web wallet `onSend` (`web/assets/wallet.js:805-870`): validates and submits via `buildAndSubmitSend` (`:845`) with no confirmation dialog.

Contrast within the same codebase: `cmdBurn` requires typing `'yes'` (`cmd/xe/main.go:900-905`, "This cannot be undone"). The trivial actions are guarded; money movement isn't.

## Impact

Fat-finger amount/destination is irreversible. Combined with the checksum-less address format, a one-character destination typo silently locks funds forever (see the companion report for an executed PoC: 110,000 XCU locked in the demo).

## Note on related reports

Searched "confirmation send" and "CLI send no confirmation" — only #267 (flag-parser bypass of the *burn* confirmation, a different mechanism) and unrelated hits. The companion address-checksum report has a different root cause and fix; this report is about the missing confirmation step itself.

## Suggested fix

Add a review \+ confirmation step (print destination, amount, asset; require explicit confirm) to `cmdSend`, `cmdLease`, and the web wallet send, matching the `cmdBurn` convention.

### Thread

**Joseph Denne**team2026-11-22 23:26 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-16974 and says what differs; it is read like any other.
