Informational: sign-on-Enter without confirmation screen; f64 amount-parsing dust

Two low-severity informational notes from the ghost-eye audit.

GE-04: No confirmation screen before signing (sign-on-Enter)

Component: ghost-eye @ ee23e6b, all popups in src/components/validator/*_popup.rs and src/components/wallet/transfer.rs. All transactions (transfer, bond, unbond, payee, chill, etc.) are signed and submitted as soon as the user presses Enter in the popup: no separate review/confirmation screen. This is not blind signing: the signed payload is built from fields the user typed in the same popup, and the destination is SS58-1996 validated (except GE-02). Recorded as a UX-security note, not a vulnerability. Suggestion: add a confirmation dialog showing amount + destination before signing. Verification: VERIFIED. Severity: Informational.


GE-05: Amount parsing via f64 causes dust-level drift on some values

Component: ghost-eye @ ee23e6b, amount input in wallet/validator popups ((value * 1e18) as u128). Amounts are parsed as f64 then multiplied by 1e18. Local PoC: input 0.1 yields 100000000000000005 planck (drift of 5e-18 units, negligible). Not exploitable into fund loss; precision only. Suggestion: parse decimals as string/integer (split at the decimal point) instead of f64. Verification: VERIFIED. Severity: Informational.

2 Likes