[Low] No confirmation before irreversible money-out: CLI send, CLI lease, web wallet send
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 fromargs[0], default asset XCU, submits viaSubmitBlockwith 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 viabuildAndSubmitSend(: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
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.