SPB Git

Repository Public

QYV-SVC-014.json 2.6 KB 27 lines json

1{2  "id": "QYV-SVC-014",3  "title": "Balances, unspent outputs and fee estimates are taken from the first endpoint that answers",4  "severity": "info",5  "cvss_vector": "",6  "cvss_score": null,7  "cwe": "CWE-345",8  "masvs": "MASVS-NETWORK-1",9  "area": "network",10  "location": "Sources/QyvoraNetworking/HTTP.swift:226",11  "tool": "manual-review",12  "rule": "",13  "status": "open",14  "fix_commit": "",15  "regression_test": "",16  "description": "Design observation, documented behaviour. `firstSuccess` uses the first endpoint that answers; only the chain id and the nonce are compared across endpoints (`quorum`), and the Bitcoin chain check compares a self-reported genesis hash. A hostile endpoint can therefore show wrong balances or history, hide or invent unspent outputs (invented or mis-valued outputs give invalid signatures: BIP-143 commits to amounts), and bias fee estimates up to the ceilings (see QYV-SVC-009). It cannot obtain keys or make the wallet sign something the user did not review. There is no certificate pinning by design (endpoints are user-configurable); plain http is accepted only for localhost, .local, .onion and private IPv4 literals (`EndpointConfiguration.isAcceptable`), redirects are refused and the session is ephemeral without cookies or cache.",17  "recommendation": "Offer the user's own node as the recommended configuration; cross-check balances and fee estimates between the configured endpoints and show a disagreement; for Bitcoin, verify block headers (proof of work) rather than the genesis hash alone if light-client assurance is wanted.",18  "evidence": "",19  "fingerprint": "9a9c72f45617",20  "reported": "2026-12-04",21  "owner": "integrator",22  "proposed_disposition": "accepted-risk proposed by the reviewer (by design); the decision belongs to the owner.",23  "resolution_note": "Still open. Unchanged by design (documented behaviour). Since 2026-12-04 the consequence for fees on unaudited mainnet is bounded by the fee ceilings (QYV-SVC-009), a PSBT signed cold no longer rests on amounts read from an endpoint or stated by the companion (QYV-SVC-008), and changing the endpoints needs a fresh authentication (QYV-APP-002). Proposed disposition: accepted-risk proposed by the reviewer (by design); the decision belongs to the owner.",24  "open_note": "Unchanged by design (documented behaviour). Since 2026-12-04 the consequence for fees on unaudited mainnet is bounded by the fee ceilings (QYV-SVC-009), a PSBT signed cold no longer rests on amounts read from an endpoint or stated by the companion (QYV-SVC-008), and changing the endpoints needs a fresh authentication (QYV-APP-002).",25  "updated": "2026-12-04"26}27
Files main
Menu

Theme