SPB Git

Repository Public

QYV-APP-082.json 5.6 KB 36 lines json

1{2  "id": "QYV-APP-082",3  "title": "Statements the multi-chain engine produces for the review screens must be shown: L1 data fee as a quote, address notes, critical warnings, network of a cold transaction",4  "severity": "medium",5  "cvss_vector": "",6  "cvss_score": null,7  "cwe": "CWE-451",8  "masvs": "MASVS-PLATFORM-3",9  "area": "wallet",10  "location": "Sources/QyvoraWallet/WalletService+Send.swift:560",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). Engine side as before: EVMNetworkWalletTests.opStackSendShowsAndReservesTheL1DataFee, MultiChainSendTests.coldSigningOfAnL2SaysWhatItCannotVerify.",16  "description": "Design gap to verify in the application (App/Sources is being rebuilt and was not reviewed by this area). The engine returns, and does not itself display: (1) `SendReview.fee.lines` and `SendReview.notes` on Base and OP Mainnet — the L1 data fee is a quote of the network with a margin of one quarter, it is not a field of the signed transaction, and what the network finally charges can differ in both directions; (2) `AddressCheck.notes` — an EVM address without checksum, a Solana address that is not a wallet key (off curve), the legacy form of a Bitcoin Cash address that is also a Bitcoin address, the wallet's own address; (3) `SendWarning.isCritical` warnings that must be acknowledged before `signAndBroadcast` (unaudited mainnet, blind signing, contract recipient, the Solana and TRON statements that a transaction names no network); (4) `ColdTransactionReview.summary`, decoded on the cold device from the bytes to be signed, including \"Not included: the L1 data fee\" on OP-Stack networks; (5) `ChainDescriptor.isTest`: on test networks an address of one test coin is also a valid address of another test coin (shared version bytes 0x6f and 0xc4, prefix tb1), so the network badge is the only thing that tells them apart. A screen that drops any of these makes the control one the interface silently removed.",17  "recommendation": "Integrator checklist for the send, receive and cold-signing screens: show every fee line and note of the review; label the L1 data fee as an estimate; show every address note under the recipient field; block the sign button until each critical warning is acknowledged; show the cold summary in full (no truncation without expansion); show the test-network badge next to every address and amount.",18  "evidence": "App/Sources/Wallet/SendReviewView.swift:213; App/Sources/Wallet/SendReviewView.swift:102; App/Sources/Wallet/SendReviewView.swift:333; App/Sources/Security/SecColdSignView.swift:213; App/Sources/Security/SecColdSignView.swift:171; App/Sources/Wallet/SendReviewView.swift:88",19  "fingerprint": "b849d918edc1",20  "reported": "2026-12-05",21  "owner": "integrator",22  "frameworks": [23    "WSC-4.10",24    "WSC-4.15",25    "WSC-4.20",26    "WSC-5.4"27  ],28  "updated": "2026-12-05",29  "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). The five statements: (1) every fee line and every note of the review is shown; the L1 data fee is labelled \"Quoted by the network, with a margin; included in the maximum fee\"; (2) the notes of `AddressCheck` are shown under the recipient; (3) critical warnings are acknowledged one by one, on the hot review and on the cold one; (4) the cold review prints every line of `ColdTransactionReview.summary` in full and marks the ones that state a limit of an offline device; (5) the network banner (`NetworkReviewBanner`, with the test tag) heads every review, the form and the receive screen carry the network badge.",30  "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.",31  "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.",32  "fixed": "2026-12-05",33  "previous_open_note": "Open by nature: the controls are produced by the engine and enforced only if the interface shows them (wallet-impact class \"a control enforced only by the interface\": medium).",34  "previous_proposed_disposition": "Integrator: verify each point on the rebuilt screens and close with the screen and test that shows it."35}36
Files main
Menu

Theme