Repository Public
1{2 "id": "QYV-APP-010",3 "title": "No screening of known malicious addresses (the first-payment warning was added on 2026-12-04)",4 "severity": "low",5 "cvss_vector": "",6 "cvss_score": null,7 "cwe": "CWE-345",8 "masvs": "MASVS-PLATFORM-3",9 "area": "wallet",10 "location": "Sources/QyvoraWallet/WalletService+Bitcoin.swift:540",11 "tool": "manual-review",12 "rule": "",13 "status": "open",14 "fix_commit": "",15 "regression_test": "QyvoraWalletTests.FirstPaymentWarningTests (bitcoinWarnsOnceThenRemembersThePayment, ethereumWarnsUnlessTheHistoryOrTheSessionShowsAPayment); EthereumWalletTests.sendEtherReviewSignBroadcast",16 "description": "Root cause: the reviews warn about own addresses, reused or already-paid destinations, contracts and missing checksums, but there is no address book and no notion of a recipient never paid before; no list of known scam addresses exists (the wallet has no server). Impact: address-poisoning and clipboard-substitution attacks are caught only if the user compares the address by eye.",17 "recommendation": "Persist the set of paid recipients (script or address, per network) in the profile and add a `firstPaymentToRecipient` warning to both reviews; show the full address in the review with grouped characters. A local blocklist is optional and would age between releases.",18 "evidence": "if paidScripts.contains(destination.scriptPubKey)",19 "fingerprint": "d4f785131c20",20 "frameworks": [21 "WSC-4.5",22 "WSC-4.6",23 "WSC-4.7",24 "WSB-THRE-002",25 "WSB-THRE-005"26 ],27 "reported": "2026-12-04",28 "owner": "integrator",29 "resolution_note": "Still open (half fixed). First half fixed on 2026-12-04 (5531173): both reviews carry a warning for a destination this wallet never paid — `BitcoinSendWarning.firstPaymentToAddress` (no payment to the script in the history read, none broadcast in this session) and `EthereumSendWarning.firstPaymentToRecipient` (no successful sent transaction to the address in the history read, none broadcast in this session); own addresses keep their own warning, an allowance revocation is not a payment. Second half NOT done: no screening against a list of known malicious addresses (WSC-4.6, WSB-THRE-002): the wallet has no server and a list shipped with the application ages between releases. The 'paid before' knowledge comes from the history the endpoints return: with a truncated Bitcoin history or without an Ethereum indexer the warning appears although an old payment exists. Proposed disposition: Owner decision for the screening half. Proposed: accept (no server by design; the first-payment warning and the full-address review are the controls offered), or decide on a local list refreshed with each release.",30 "verification": "Package tests on M4M64c (Swift 6.3.3, release) and on the laptop (Swift 6.4, release).",31 "mitigation_commit": "5531173",32 "updated": "2026-12-04",33 "open_note": "First half fixed on 2026-12-04 (5531173): both reviews carry a warning for a destination this wallet never paid — `BitcoinSendWarning.firstPaymentToAddress` (no payment to the script in the history read, none broadcast in this session) and `EthereumSendWarning.firstPaymentToRecipient` (no successful sent transaction to the address in the history read, none broadcast in this session); own addresses keep their own warning, an allowance revocation is not a payment. Second half NOT done: no screening against a list of known malicious addresses (WSC-4.6, WSB-THRE-002): the wallet has no server and a list shipped with the application ages between releases. The 'paid before' knowledge comes from the history the endpoints return: with a truncated Bitcoin history or without an Ethereum indexer the warning appears although an old payment exists.",34 "proposed_disposition": "Owner decision for the screening half. Proposed: accept (no server by design; the first-payment warning and the full-address review are the controls offered), or decide on a local list refreshed with each release."35}36