SPB Git

Repository Public

QYV-SVC-067.json 1.8 KB 24 lines json

1{2  "id": "QYV-SVC-067",3  "title": "Litecoin MWEB serialization (flag 0x08) is not parsed: a previous transaction of that kind cannot be authenticated",4  "severity": "info",5  "cvss_vector": "",6  "cvss_score": null,7  "cwe": "",8  "masvs": "",9  "area": "bitcoin",10  "location": "Sources/QyvoraBitcoin/Transaction.swift:192",11  "tool": "manual-review",12  "rule": "",13  "status": "open",14  "fix_commit": "",15  "regression_test": "",16  "description": "Observation. Litecoin's MWEB upgrade (2022) added a serialization flag (marker 00, flag bit 3) for transactions that carry extension-block data, in particular the integrating transaction whose outputs are the coins pegged out of MWEB to ordinary addresses. `BitcoinTransaction(parsing:)` refuses such bytes (fail closed). Seen on one of the twelve Litecoin main-network vectors: the P2WPKH coin it spends was created by such a transaction. Consequences: none for payments from the wallet's Litecoin account (BIP-84: BIP-143 commits to the amount, no previous transaction is needed, and the history comes from the indexer's JSON); a BIP-44 Litecoin account, or a PSBT that must carry the previous transaction, could not spend a coin pegged out of MWEB. MWEB addresses (`ltcmweb1…`) are refused as recipients, which is correct for a wallet that cannot build MWEB outputs.",17  "recommendation": "Proposed: either parse the MWEB flag far enough to recompute the identifier (version, inputs, outputs, lock time — the extension data is not part of the txid), or keep the limitation and state it in the documentation of Litecoin support. No security impact as long as the Litecoin account is BIP-84.",18  "evidence": "",19  "fingerprint": "a5d67b965a75",20  "reported": "2026-12-05",21  "owner": "review-utxo",22  "proposed_disposition": "Documentation item for the owner; revisit if BIP-44 Litecoin accounts or Litecoin PSBTs are ever offered."23}24
Files main
Menu

Theme