Repository Public
1{2 "id": "QYV-APP-060",3 "title": "The interface must make the user acknowledge the critical warnings of a Bitcoin Cash payment (legacy address, coins replayable on forks)",4 "severity": "low",5 "cvss_vector": "",6 "cvss_score": null,7 "cwe": "CWE-356",8 "masvs": "MASVS-PLATFORM-3",9 "area": "app",10 "location": "App/Sources:1",11 "tool": "manual-review",12 "rule": "",13 "status": "fixed",14 "fix_commit": "0fe8b74",15 "regression_test": "QyvoraWalletTests.MainnetPolicyTests.aCriticalWarningThatWasNotAcknowledgedRefusesTheSignature; MultiChainSendTests.coldSigningOnSolanaAndTronTouchesNoNetwork and solanaPaymentSimulatedSignedTrackedAndNeverSignedTwice; static checks QYV-STA-021 and QYV-STA-022; screens read on the simulator (see verification). QyvoraWalletTests.MainnetPolicyTests.aBitcoinCashPaymentOfOldCoinsTakesANewerCoinWithIt (a replayable payment is not signed without its acknowledgement).",16 "description": "Design item for the application. The service now puts two critical warnings in the review of a Bitcoin Cash payment: `bch.legacy-address` (the recipient was typed in the Base58 form, which is also a Bitcoin address — QYV-SVC-065) and `bch.replayable-on-forks` (every coin predates the split from eCash or Bitcoin SV — QYV-APP-062). `SendWarning.isCritical` means \"the user must acknowledge before signing\"; the service does not enforce an acknowledgement itself (signAndBroadcast takes the review as it is). The App target was being rebuilt during this audit and was not reviewed. Rated by impact (user error leading to a loss the recovery phrase may not undo); no CVSS vector.",17 "recommendation": "In the send flow: block the confirm action until each critical warning of the review has been acknowledged explicitly; for `bch.legacy-address` show the CashAddr form next to what was typed and prefer asking the payer for a CashAddr. Add a UI test that a review with a critical warning cannot be confirmed without the acknowledgement.",18 "evidence": "App/Sources/Wallet/WarningAcknowledgement.swift:49; Sources/QyvoraWallet/WalletService+Send.swift:536; App/Sources/Wallet/SendFormView.swift:186",19 "fingerprint": "54fa593e5c90",20 "reported": "2026-12-05",21 "owner": "review-utxo",22 "resolution_note": "The acknowledgement is now a rule of the service, not only of the screen: `signAndBroadcast(_:acknowledged:)` and `signColdTransaction(…acknowledged:)` refuse unless every critical warning of the review is named in the set the screen collected, and the forms without that set are no longer public (static check QYV-STA-021). The send review and the cold review show every warning with the service's sentence and one control per critical warning, off until the user turns it on (static check QYV-STA-022). For Bitcoin Cash: `bch.legacy-address` and `bch.replayable-on-forks` are critical warnings of the review, each with its control; the review shows the recipient in its CashAddr form (the canonical form the service pays), and the form shows that canonical form under the field when a legacy address is typed.",23 "residual_risk": "What a screen displays is checked by reading the code and by screenshots of the simulator, not by automated interface tests: the application target has no test bundle. The service rule and the static checks hold whatever the screens become. An acknowledgement proves a tap, not a reading.",24 "verification": "Package tests of the whole root package on M5M36 (Swift 6.4, release, 895 tests in 23 runs, no failure) at commit f0ddca7; QyvoraWalletTests (212 tests) run five consecutive times on the laptop without failure after the last source change; application target compiled for iphoneos on M3U96a and for the simulator on the laptop; changed screens read on the simulator \"Qyvora iPhone B\" where the review record security/audit/review/multichain-app-screens.json says so; static checks and framework steps of the audit re-run. The final laptop run of the whole package and the quick audit were made after this register was written: their results are in the report of the work, not here.",25 "updated": "2026-12-05",26 "fixed": "2026-12-05",27 "previous_proposed_disposition": "Integrator: implement in the rebuilt send screens, then close with the commit and the UI test."28}29