SPB Git

Repository Public

QYV-SVC-081.json 2.2 KB 27 lines json

1{2  "id": "QYV-SVC-081",3  "title": "A cold-signed EVM transaction was broadcast without applying the limits of an unaudited build again",4  "severity": "low",5  "cvss_vector": "",6  "cvss_score": null,7  "cwe": "CWE-770",8  "masvs": "MASVS-PLATFORM-3",9  "area": "wallet",10  "location": "Sources/QyvoraWallet/WalletService+Ethereum.swift:978",11  "tool": "manual-review",12  "rule": "",13  "status": "fixed",14  "fix_commit": "cd95302",15  "regression_test": "QyvoraWalletTests.MainnetPolicyTests (EVMChainsAuditRegressionTests.swift): aColdSignedEVMTransactionAboveTheCeilingIsNotBroadcast",16  "description": "Root cause: `broadcastSignedEthereum` checked the encoding, the structural rules (`checkSignable`), the sender and the nonce, but not `enforceUnauditedEthereumLimits`. The documentation of the uniform `broadcastSigned` states that the limits are applied again at broadcast, which was true for Bitcoin (PSBT), Solana and TRON only. Impact: a transaction signed for this account outside this build (another device holding the same phrase, an earlier build without ceilings) above 0.05 ETH, above the fee ceiling, or carrying call data this build refuses on mainnet, was relayed by the online device. The signature already exists in that case, so the control is defence in depth: the same bytes can be broadcast by any other tool.",17  "recommendation": "Call `enforceUnauditedEthereumLimits(signed.transaction, network:)` before `verifiedRPC` in `broadcastSignedEthereum`.",18  "evidence": "",19  "fingerprint": "0f40ced1a744",20  "reported": "2026-12-05",21  "owner": "integrator",22  "fixed": "2026-12-05",23  "verification": "Root-package tests on M5M36 (Swift 6.4, release): QyvoraWalletTests, QyvoraNetworkingTests, QyvoraCoreTests; audit-package suites EVMChains* and Multichain* on M5M36.",24  "resolution_note": "Fixed as recommended: value, maximum fee, token value (fresh price) and the call-data rules are checked before the first request. The regression test fails on the code before the fix (6 issues), checked on M5M36.",25  "residual_risk": "The L1 data fee of an OP-Stack network is not known at that point (it is not in the transaction): the fee ceiling is applied to gas limit × maxFeePerGas only, as on the cold device."26}27
Files main
Menu

Theme