SPB Git

Repository Public

triage.json 42.6 KB 634 lines json

1{2  "comment": "Reviewed tool findings. Key = fingerprint of the finding (tool, rule, file, text of the matched line, so it survives line renumbering but not an edit of the line) or its fixed identifier. An entry may set status (open / accepted-risk / false-positive / fixed) and severity, and must give a justification. A finding without an entry keeps the status 'open' and the severity of its rule. 'location' is informative (line at review time).",3  "entries": {4    "2dc4482c3417": {5      "tool": "mobsfscan",6      "rule": "ios_cert_pinning",7      "location": "",8      "status": "accepted-risk",9      "justification": "No certificate pinning by design: the endpoints are public servers that the user can replace with their own node, so there is no fixed certificate to pin. Transport relies on ATS defaults; integrity of what is signed does not depend on the server (chain-identity checks, review before signing). Rated in the MASVS assessment (MASVS-NETWORK-2).",10      "reviewed": "2026-12-04",11      "reviewer": "internal audit (static tools)",12      "severity": "info"13    },14    "fe19901ce3e1": {15      "tool": "mobsfscan",16      "rule": "ios_hardcoded_secret",17      "location": "Sources/QyvoraUI/Security.swift:353",18      "status": "false-positive",19      "justification": "`@State private var password = \"\"` in a `#if DEBUG` SwiftUI preview: an empty string that receives typed input, not a hard-coded secret.",20      "reviewed": "2026-12-04",21      "reviewer": "internal audit (static tools)"22    },23    "a4eb84379332": {24      "tool": "mobsfscan",25      "rule": "ios_insecure_random_no_generator",26      "location": "Sources/QyvoraVault/SecretBytes.swift:65",27      "status": "false-positive",28      "justification": "Declaration of SecretBytes.random(_:), which draws from SystemRandom.bytes (SecRandomCopyBytes).",29      "reviewed": "2026-12-04",30      "reviewer": "internal audit (static tools)"31    },32    "14b6aa9738f4": {33      "tool": "semgrep",34      "rule": "qyvora-file-write-without-protection",35      "location": "App/Sources/BenchmarksView.swift:186",36      "status": "accepted-risk",37      "justification": "Benchmark report (timings, device model) written for sharing by the user; it contains no wallet data, key or address. Not a wallet file, so FileStore protection does not apply.",38      "reviewed": "2026-12-04",39      "reviewer": "internal audit (static tools)",40      "severity": "info"41    },42    "bfb3143d3017": {43      "tool": "semgrep",44      "rule": "qyvora-file-write-without-protection",45      "location": "App/Sources/BenchmarksView.swift:188",46      "status": "accepted-risk",47      "justification": "Benchmark report (timings, device model) written for sharing by the user; it contains no wallet data, key or address. Not a wallet file, so FileStore protection does not apply.",48      "reviewed": "2026-12-04",49      "reviewer": "internal audit (static tools)",50      "severity": "info"51    },52    "6a1d9425bec2": {53      "tool": "semgrep",54      "rule": "qyvora-file-write-without-protection",55      "location": "Sources/QyvoraWallet/WalletService+Shield.swift:292",56      "status": "accepted-risk",57      "justification": "Backup export to a location chosen by the user (Files, AirDrop…): the file is meant to leave the protected container and is encrypted under its own password (BackupFile.export, format QYVORA Backup v1). Data protection of the destination is outside the application's control.",58      "reviewed": "2026-12-04",59      "reviewer": "internal audit (static tools)",60      "severity": "low"61    },62    "a206c6beb476": {63      "tool": "semgrep",64      "rule": "qyvora-http-literal",65      "location": "App/Sources/EndpointsEditorView.swift:147",66      "status": "false-positive",67      "justification": "Help text shown to the user, not an endpoint.",68      "reviewed": "2026-12-04",69      "reviewer": "internal audit (static tools)"70    },71    "9fefd324a3c9": {72      "tool": "semgrep",73      "rule": "qyvora-http-literal",74      "location": "App/Sources/EndpointsEditorView.swift:421",75      "status": "false-positive",76      "justification": "Prefix test used to label an already accepted local endpoint as unencrypted; acceptance itself is decided by EndpointConfiguration.isAcceptable (https, or http to localhost/.local/.onion/private IPv4 only), enforced again in the engine (static check 'endpoint acceptance').",77      "reviewed": "2026-12-04",78      "reviewer": "internal audit (static tools)"79    },80    "705e3212a472": {81      "tool": "semgrep",82      "rule": "qyvora-http-literal",83      "location": "App/Sources/EndpointsEditorView.swift:516",84      "status": "false-positive",85      "justification": "Prefix test used to label an already accepted local endpoint as unencrypted; acceptance itself is decided by EndpointConfiguration.isAcceptable (https, or http to localhost/.local/.onion/private IPv4 only), enforced again in the engine (static check 'endpoint acceptance').",86      "reviewed": "2026-12-04",87      "reviewer": "internal audit (static tools)"88    },89    "45b5b48378cb": {90      "tool": "semgrep",91      "rule": "qyvora-insecure-randomness",92      "location": "Sources/QyvoraBitcoin/TransactionBuilder.swift:370",93      "status": "accepted-risk",94      "justification": "Ordering of inputs/outputs by a SplitMix-style generator seeded with 64 bits from SystemRandom; no key, nonce or signature material is produced. Same subject as QYV-STA-002.",95      "reviewed": "2026-12-04",96      "reviewer": "internal audit (static tools)",97      "severity": "low"98    },99    "d6fd379b8c55": {100      "tool": "semgrep",101      "rule": "qyvora-insecure-randomness",102      "location": "Sources/QyvoraBitcoin/TransactionBuilder.swift:372",103      "status": "accepted-risk",104      "justification": "Ordering of inputs/outputs by a SplitMix-style generator seeded with 64 bits from SystemRandom; no key, nonce or signature material is produced. Same subject as QYV-STA-002.",105      "reviewed": "2026-12-04",106      "reviewer": "internal audit (static tools)",107      "severity": "low"108    },109    "4004e9b139c2": {110      "tool": "semgrep",111      "rule": "qyvora-insecure-randomness",112      "location": "Sources/QyvoraVault/SecretBytes.swift:65",113      "status": "false-positive",114      "justification": "Declaration of SecretBytes.random(_:), whose body draws from SystemRandom.bytes; the rule matched the function name.",115      "reviewed": "2026-12-04",116      "reviewer": "internal audit (static tools)"117    },118    "87616410e2a6": {119      "tool": "semgrep",120      "rule": "qyvora-nonconstant-time-compare-rhs",121      "location": "Sources/QyvoraCrypto/QyvoraCrypto.swift:131",122      "status": "false-positive",123      "justification": "Known-answer self-test on all-zero seeds: both operands are public constants.",124      "reviewed": "2026-12-04",125      "reviewer": "internal audit (static tools)"126    },127    "3ad9ebdd1675": {128      "tool": "semgrep",129      "rule": "qyvora-nonconstant-time-compare-rhs",130      "location": "Sources/QyvoraIdentity/Identity.swift:374",131      "status": "open",132      "justification": "True match with negligible impact: the identity key-pair consistency check compares a decapsulated shared secret with the freshly encapsulated one using `==` on arrays. Both are throwaway probe values created inside the check; an early exit could only reveal how many leading bytes of a discarded value matched when the stored key pair is inconsistent. Recommended for uniformity: ConstantTime.equal. Owner of the fix: engine review (Identity module).",133      "reviewed": "2026-12-04",134      "reviewer": "internal audit (static tools)",135      "severity": "low"136    },137    "067322571b52": {138      "tool": "semgrep",139      "rule": "qyvora-parser-trap-call",140      "location": "Sources/QyvoraBitcoin/CoinSelection.swift:232",141      "status": "false-positive",142      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. SeededGenerator.below is called with the literals 10 and 100.",143      "reviewed": "2026-12-04",144      "reviewer": "internal audit (static tools)"145    },146    "6a2eed1f5133": {147      "tool": "semgrep",148      "rule": "qyvora-parser-trap-call",149      "location": "Sources/QyvoraBitcoin/Script.swift:152",150      "status": "false-positive",151      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. pushNumber receives the multisig threshold and key count built by the engine (Script.swift), small non-negative integers.",152      "reviewed": "2026-12-04",153      "reviewer": "internal audit (static tools)"154    },155    "c11349c54f01": {156      "tool": "semgrep",157      "rule": "qyvora-parser-trap-call",158      "location": "Sources/QyvoraCore/Encoding/Base58.swift:54",159      "status": "false-positive",160      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Checks the length of the compiled-in Base58 alphabet at initialisation.",161      "reviewed": "2026-12-04",162      "reviewer": "internal audit (static tools)"163    },164    "f5a1a754d2ff": {165      "tool": "semgrep",166      "rule": "qyvora-parser-trap-call",167      "location": "Sources/QyvoraCore/UInt256.swift:175",168      "status": "false-positive",169      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Callers divide by the literals 10 and 2 (UInt256.swift decimal formatting, WalletService+Ethereum.swift fee tier).",170      "reviewed": "2026-12-04",171      "reviewer": "internal audit (static tools)"172    },173    "08c843448d22": {174      "tool": "semgrep",175      "rule": "qyvora-parser-trap-call",176      "location": "Sources/QyvoraCore/UInt256.swift:194",177      "status": "accepted-risk",178      "justification": "Trapping `+` on UInt256, documented as reserved for values known to be in range. Reviewed 2026-12-04: the Ethereum wallet service uses the reporting forms (addingReportingOverflow / multipliedReportingOverflow) on balances, fees and amounts. Residual risk: a future call site using the operator on a network-supplied value would trap; covered by the fuzzing of the wallet service and by rule qyvora-parser-trap-call.",179      "reviewed": "2026-12-04",180      "reviewer": "internal audit (static tools)",181      "severity": "low"182    },183    "99878e848143": {184      "tool": "semgrep",185      "rule": "qyvora-parser-trap-call",186      "location": "Sources/QyvoraCore/UInt256.swift:200",187      "status": "accepted-risk",188      "justification": "Trapping `-` on UInt256; same review and residual risk as the `+` operator.",189      "reviewed": "2026-12-04",190      "reviewer": "internal audit (static tools)",191      "severity": "low"192    },193    "23e727069540": {194      "tool": "semgrep",195      "rule": "qyvora-parser-trap-call",196      "location": "Sources/QyvoraIdentity/Identity.swift:320",197      "status": "false-positive",198      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Reached only if keys generated a few lines above by this engine fail their own validation, i.e. an engine fault, where stopping is the safe behaviour.",199      "reviewed": "2026-12-04",200      "reviewer": "internal audit (static tools)"201    },202    "2bcfa2dce067": {203      "tool": "semgrep",204      "rule": "qyvora-parser-trap-call",205      "location": "Sources/QyvoraKeccak/Keccak.swift:149",206      "status": "false-positive",207      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",208      "reviewed": "2026-12-04",209      "reviewer": "internal audit (static tools)"210    },211    "56a59209807d": {212      "tool": "semgrep",213      "rule": "qyvora-parser-trap-call",214      "location": "Sources/QyvoraKeccak/Keccak.swift:155",215      "status": "false-positive",216      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",217      "reviewed": "2026-12-04",218      "reviewer": "internal audit (static tools)"219    },220    "f0f52b82f6ce": {221      "tool": "semgrep",222      "rule": "qyvora-parser-trap-call",223      "location": "Sources/QyvoraKeccak/Keccak.swift:254",224      "status": "false-positive",225      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",226      "reviewed": "2026-12-04",227      "reviewer": "internal audit (static tools)"228    },229    "5efd5c6ceb24": {230      "tool": "semgrep",231      "rule": "qyvora-parser-trap-call",232      "location": "Sources/QyvoraKeccak/SP800185.swift:135",233      "status": "false-positive",234      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",235      "reviewed": "2026-12-04",236      "reviewer": "internal audit (static tools)"237    },238    "361095a76afe": {239      "tool": "semgrep",240      "rule": "qyvora-parser-trap-call",241      "location": "Sources/QyvoraKeccak/SP800185.swift:146",242      "status": "false-positive",243      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",244      "reviewed": "2026-12-04",245      "reviewer": "internal audit (static tools)"246    },247    "c9031ed0985f": {248      "tool": "semgrep",249      "rule": "qyvora-parser-trap-call",250      "location": "Sources/QyvoraKeccak/SP800185.swift:152",251      "status": "false-positive",252      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",253      "reviewed": "2026-12-04",254      "reviewer": "internal audit (static tools)"255    },256    "23f2bd9359d5": {257      "tool": "semgrep",258      "rule": "qyvora-parser-trap-call",259      "location": "Sources/QyvoraKeccak/SP800185.swift:153",260      "status": "false-positive",261      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",262      "reviewed": "2026-12-04",263      "reviewer": "internal audit (static tools)"264    },265    "811a839a51f0": {266      "tool": "semgrep",267      "rule": "qyvora-parser-trap-call",268      "location": "Sources/QyvoraKeccak/SP800185.swift:163",269      "status": "false-positive",270      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",271      "reviewed": "2026-12-04",272      "reviewer": "internal audit (static tools)"273    },274    "2d120a1da4f7": {275      "tool": "semgrep",276      "rule": "qyvora-parser-trap-call",277      "location": "Sources/QyvoraKeccak/SP800185.swift:170",278      "status": "false-positive",279      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",280      "reviewed": "2026-12-04",281      "reviewer": "internal audit (static tools)"282    },283    "68d969ee1aa1": {284      "tool": "semgrep",285      "rule": "qyvora-parser-trap-call",286      "location": "Sources/QyvoraKeccak/SP800185.swift:78",287      "status": "false-positive",288      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",289      "reviewed": "2026-12-04",290      "reviewer": "internal audit (static tools)"291    },292    "4527bf9409c1": {293      "tool": "semgrep",294      "rule": "qyvora-parser-trap-call",295      "location": "Sources/QyvoraKeccak/SP800185.swift:95",296      "status": "false-positive",297      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Sponge rate, security level and call order (absorb/squeeze/finalize) are fixed by the calling algorithm, not by input data.",298      "reviewed": "2026-12-04",299      "reviewer": "internal audit (static tools)"300    },301    "88079fbe7d1d": {302      "tool": "semgrep",303      "rule": "qyvora-parser-trap-call",304      "location": "Sources/QyvoraMLDSA/MLDSAArithmetic.swift:263",305      "status": "false-positive",306      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Polynomials have 256 coefficients by construction in the callers.",307      "reviewed": "2026-12-04",308      "reviewer": "internal audit (static tools)"309    },310    "a278e3a6fd9e": {311      "tool": "semgrep",312      "rule": "qyvora-parser-trap-call",313      "location": "Sources/QyvoraMLDSA/MLDSAArithmetic.swift:271",314      "status": "false-positive",315      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Polynomials have 256 coefficients by construction in the callers.",316      "reviewed": "2026-12-04",317      "reviewer": "internal audit (static tools)"318    },319    "836e3da48f38": {320      "tool": "semgrep",321      "rule": "qyvora-parser-trap-call",322      "location": "Sources/QyvoraMLDSA/MLDSAArithmetic.swift:279",323      "status": "false-positive",324      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Polynomials have 256 coefficients by construction in the callers.",325      "reviewed": "2026-12-04",326      "reviewer": "internal audit (static tools)"327    },328    "06a6a21dc242": {329      "tool": "semgrep",330      "rule": "qyvora-parser-trap-call",331      "location": "Sources/QyvoraMLKEM/MLKEMArithmetic.swift:229",332      "status": "false-positive",333      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Polynomials have 256 coefficients by construction in the callers.",334      "reviewed": "2026-12-04",335      "reviewer": "internal audit (static tools)"336    },337    "97fd69b243ae": {338      "tool": "semgrep",339      "rule": "qyvora-parser-trap-call",340      "location": "Sources/QyvoraMLKEM/MLKEMArithmetic.swift:237",341      "status": "false-positive",342      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Polynomials have 256 coefficients by construction in the callers.",343      "reviewed": "2026-12-04",344      "reviewer": "internal audit (static tools)"345    },346    "46cf5cc09aa6": {347      "tool": "semgrep",348      "rule": "qyvora-parser-trap-call",349      "location": "Sources/QyvoraMLKEM/MLKEMArithmetic.swift:245",350      "status": "false-positive",351      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Polynomials have 256 coefficients by construction in the callers.",352      "reviewed": "2026-12-04",353      "reviewer": "internal audit (static tools)"354    },355    "18b4dfdaa777": {356      "tool": "semgrep",357      "rule": "qyvora-parser-trap-call",358      "location": "Sources/QyvoraMath/ConstantTime.swift:65",359      "status": "false-positive",360      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. ConstantTime.select is called from ML-KEM decapsulation with two 32-byte keys.",361      "reviewed": "2026-12-04",362      "reviewer": "internal audit (static tools)"363    },364    "5fd894fe11de": {365      "tool": "semgrep",366      "rule": "qyvora-parser-trap-call",367      "location": "Sources/QyvoraMath/SystemRandom.swift:53",368      "status": "accepted-risk",369      "justification": "Deliberate fail-closed behaviour: if the system generator reports an error, the engine stops rather than continue with unknown bytes.",370      "reviewed": "2026-12-04",371      "reviewer": "internal audit (static tools)",372      "severity": "info"373    },374    "0e200eed5887": {375      "tool": "semgrep",376      "rule": "qyvora-parser-trap-call",377      "location": "Sources/QyvoraSLHDSA/Core.swift:47",378      "status": "false-positive",379      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digit widths, buffer sizes and block counts derive from the SLH-DSA parameter set; message and signature lengths are checked before these helpers run.",380      "reviewed": "2026-12-04",381      "reviewer": "internal audit (static tools)"382    },383    "e77c0961eed3": {384      "tool": "semgrep",385      "rule": "qyvora-parser-trap-call",386      "location": "Sources/QyvoraSLHDSA/SHA2Core.swift:188",387      "status": "false-positive",388      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digit widths, buffer sizes and block counts derive from the SLH-DSA parameter set; message and signature lengths are checked before these helpers run.",389      "reviewed": "2026-12-04",390      "reviewer": "internal audit (static tools)"391    },392    "f330fd144d41": {393      "tool": "semgrep",394      "rule": "qyvora-parser-trap-call",395      "location": "Sources/QyvoraSLHDSA/SHA2Core.swift:239",396      "status": "false-positive",397      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digit widths, buffer sizes and block counts derive from the SLH-DSA parameter set; message and signature lengths are checked before these helpers run.",398      "reviewed": "2026-12-04",399      "reviewer": "internal audit (static tools)"400    },401    "af68f4baf432": {402      "tool": "semgrep",403      "rule": "qyvora-parser-trap-call",404      "location": "Sources/QyvoraSLHDSA/TweakableHash.swift:208",405      "status": "false-positive",406      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digit widths, buffer sizes and block counts derive from the SLH-DSA parameter set; message and signature lengths are checked before these helpers run.",407      "reviewed": "2026-12-04",408      "reviewer": "internal audit (static tools)"409    },410    "2dd4bf84092f": {411      "tool": "semgrep",412      "rule": "qyvora-parser-trap-call",413      "location": "Sources/QyvoraStorage/BinaryCoding.swift:63",414      "status": "false-positive",415      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Encoder side only (BinaryWriter): the length of a field the engine itself is writing; the reader side returns errors.",416      "reviewed": "2026-12-04",417      "reviewer": "internal audit (static tools)"418    },419    "db8b27711dfa": {420      "tool": "semgrep",421      "rule": "qyvora-parser-trap-call",422      "location": "Sources/QyvoraStorage/BinaryCoding.swift:70",423      "status": "false-positive",424      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Encoder side only (BinaryWriter): the length of a field the engine itself is writing; the reader side returns errors.",425      "reviewed": "2026-12-04",426      "reviewer": "internal audit (static tools)"427    },428    "636ce02c0726": {429      "tool": "semgrep",430      "rule": "qyvora-parser-trap-call",431      "location": "Sources/QyvoraStorage/BinaryCoding.swift:77",432      "status": "false-positive",433      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Encoder side only (BinaryWriter): the length of a field the engine itself is writing; the reader side returns errors.",434      "reviewed": "2026-12-04",435      "reviewer": "internal audit (static tools)"436    },437    "e317224c20ff": {438      "tool": "semgrep",439      "rule": "qyvora-parser-trap-call",440      "location": "Sources/QyvoraSymmetric/BLAKE2b.swift:87",441      "status": "false-positive",442      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digest, key, salt and personalisation sizes are constants of the callers (Argon2id uses 64 and 1...64).",443      "reviewed": "2026-12-04",444      "reviewer": "internal audit (static tools)"445    },446    "f525c942602e": {447      "tool": "semgrep",448      "rule": "qyvora-parser-trap-call",449      "location": "Sources/QyvoraSymmetric/BLAKE2b.swift:88",450      "status": "false-positive",451      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digest, key, salt and personalisation sizes are constants of the callers (Argon2id uses 64 and 1...64).",452      "reviewed": "2026-12-04",453      "reviewer": "internal audit (static tools)"454    },455    "6569ca2a8efd": {456      "tool": "semgrep",457      "rule": "qyvora-parser-trap-call",458      "location": "Sources/QyvoraSymmetric/BLAKE2b.swift:89",459      "status": "false-positive",460      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. Digest, key, salt and personalisation sizes are constants of the callers (Argon2id uses 64 and 1...64).",461      "reviewed": "2026-12-04",462      "reviewer": "internal audit (static tools)"463    },464    "b33d89e0d31b": {465      "tool": "semgrep",466      "rule": "qyvora-parser-trap-call",467      "location": "Sources/QyvoraSymmetric/KDF.swift:137",468      "status": "false-positive",469      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. PBKDF2.deriveKey is called with constants (BIP39.swift: 2048 iterations, 64 bytes; vault self-test: 3 iterations, 70 bytes) and MGF1 has no caller. KDF parameters read from a vault or backup file are bounded by KDFParameters.isWithinLimits before any derivation.",470      "reviewed": "2026-12-04",471      "reviewer": "internal audit (static tools)"472    },473    "198839a7a291": {474      "tool": "semgrep",475      "rule": "qyvora-parser-trap-call",476      "location": "Sources/QyvoraSymmetric/KDF.swift:89",477      "status": "false-positive",478      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. PBKDF2.deriveKey is called with constants (BIP39.swift: 2048 iterations, 64 bytes; vault self-test: 3 iterations, 70 bytes) and MGF1 has no caller. KDF parameters read from a vault or backup file are bounded by KDFParameters.isWithinLimits before any derivation.",479      "reviewed": "2026-12-04",480      "reviewer": "internal audit (static tools)"481    },482    "bff955828be8": {483      "tool": "semgrep",484      "rule": "qyvora-parser-trap-call",485      "location": "Sources/QyvoraSymmetric/KDF.swift:90",486      "status": "false-positive",487      "justification": "Reviewed 2026-12-04: the precondition states an internal contract of a non-parsing helper; its arguments are constants or values already validated by the caller, not bytes taken from a file, a QR code or the network. PBKDF2.deriveKey is called with constants (BIP39.swift: 2048 iterations, 64 bytes; vault self-test: 3 iterations, 70 bytes) and MGF1 has no caller. KDF parameters read from a vault or backup file are bounded by KDFParameters.isWithinLimits before any derivation.",488      "reviewed": "2026-12-04",489      "reviewer": "internal audit (static tools)"490    },491    "c061384271c3": {492      "tool": "semgrep",493      "rule": "qyvora-parser-try-bang",494      "location": "Sources/QyvoraEthereum/Transaction.swift:156",495      "status": "open",496      "justification": "`try!` decoding the transaction's own RLP encoding in SignedTransaction.raw. It cannot fail as long as RLP.decode accepts everything RLP.list(...).encoded produces; if the decoder enforces a limit the encoder does not (length, depth), a transaction with a very large data field would trap at broadcast time. Recommended: build the signed list from the fields directly, or make `raw` throwing. Owner of the fix: engine review (Ethereum module).",497      "reviewed": "2026-12-04",498      "reviewer": "internal audit (static tools)",499      "severity": "low"500    },501    "490bdac1c53c": {502      "tool": "semgrep",503      "rule": "qyvora-parser-try-bang",504      "location": "Sources/QyvoraSLHDSA/SLHDSA.swift:241",505      "status": "false-positive",506      "justification": "The three seeds are sliced from a buffer of exactly 3n bytes drawn on the previous lines: the only error keyGenInternal can throw (wrong seed length) is impossible here.",507      "reviewed": "2026-12-04",508      "reviewer": "internal audit (static tools)"509    },510    "QYV-STA-002": {511      "tool": "static-checks",512      "rule": "QYV-STA-002",513      "location": "Sources/QyvoraBitcoin/TransactionBuilder.swift:368",514      "status": "accepted-risk",515      "justification": "Reviewed 2026-12-04: the wallet service never passes `seed` (no `seed:` argument in Sources/QyvoraWallet); the generator only orders inputs/outputs and jitters the lock time. Residual risk as described in the finding.",516      "reviewed": "2026-12-04",517      "reviewer": "internal audit (static tools)",518      "severity": "low"519    },520    "0822b24146cd": {521      "tool": "mobsfscan",522      "rule": "ios_hardcoded_secret",523      "location": "App/Sources/Security/TransferSendView.swift",524      "status": "false-positive",525      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",526      "reviewed": "2026-12-04",527      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"528    },529    "0c5859be3ec6": {530      "tool": "mobsfscan",531      "rule": "ios_hardcoded_secret",532      "location": "App/Sources/Security/ReauthenticationSheet.swift",533      "status": "false-positive",534      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",535      "reviewed": "2026-12-04",536      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"537    },538    "12de8863b931": {539      "tool": "mobsfscan",540      "rule": "ios_hardcoded_secret",541      "location": "App/Sources/Onboarding/ImportWalletFlow.swift",542      "status": "false-positive",543      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",544      "reviewed": "2026-12-04",545      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"546    },547    "3cc34ad9f9b9": {548      "tool": "mobsfscan",549      "rule": "ios_hardcoded_secret",550      "location": "App/Sources/Lock/UnlockPanel.swift",551      "status": "false-positive",552      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",553      "reviewed": "2026-12-04",554      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"555    },556    "5365890de841": {557      "tool": "mobsfscan",558      "rule": "ios_hardcoded_secret",559      "location": "App/Sources/Security/BackupCreateView.swift",560      "status": "false-positive",561      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",562      "reviewed": "2026-12-04",563      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"564    },565    "c0488f47ccb3": {566      "tool": "mobsfscan",567      "rule": "ios_hardcoded_secret",568      "location": "App/Sources/Security/RotateMasterKeySheet.swift",569      "status": "false-positive",570      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",571      "reviewed": "2026-12-04",572      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"573    },574    "fb9019abb1b6": {575      "tool": "mobsfscan",576      "rule": "ios_hardcoded_secret",577      "location": "App/Sources/Onboarding/CreateWalletFlow.swift",578      "status": "false-positive",579      "justification": "`@State private var password = \"\"`: the empty initial value of a field that receives what the user types, cleared after use. Not a hard-coded secret. Same pattern as the entry fe19901ce3e1; the screen did not exist at the application commit read by the first audit.",580      "reviewed": "2026-12-04",581      "reviewer": "internal audit (findings pass; added entry, to be confirmed by the owner with the others)"582    },583    "8fc22b269821": {584      "tool": "semgrep",585      "rule": "qyvora-parser-trap-call",586      "location": "Sources/QyvoraEd25519/Edwards25519.swift:144",587      "status": "false-positive",588      "justification": "Reviewed 2026-12-05 (multi-chain audit, security/audit/review/ed25519.json): the precondition states the internal contract of a non-parsing arithmetic helper of QyvoraEd25519. Its argument has a length fixed by the callers (the scalar is 32 bytes produced by Ed25519.expand, Sc.bytes or a constant; the table has 16 entries built by the module); every public entry point (Ed25519.publicKey, sign, verify, isValidPublicKey, isOnCurve, SLIP10) checks the length of attacker-controlled input before reaching it, which the fuzz targets ed25519-verify, ed25519-point, ed25519-sign and slip10-ed25519 exercise. Proposed disposition for the owner: false positive.",589      "reviewed": "2026-12-05",590      "reviewer": "internal audit (multi-chain extension)",591      "disposition": "proposed by the audit agent; the owner decides"592    },593    "aed88fe37bfb": {594      "tool": "semgrep",595      "rule": "qyvora-parser-trap-call",596      "location": "Sources/QyvoraEd25519/Field25519.swift:181",597      "status": "false-positive",598      "justification": "Reviewed 2026-12-05 (multi-chain audit, security/audit/review/ed25519.json): the precondition states the internal contract of a non-parsing arithmetic helper of QyvoraEd25519. Its argument has a length fixed by the callers (32 bytes: EdPoint.decode checks `bytes.count == 32` first); every public entry point (Ed25519.publicKey, sign, verify, isValidPublicKey, isOnCurve, SLIP10) checks the length of attacker-controlled input before reaching it, which the fuzz targets ed25519-verify, ed25519-point, ed25519-sign and slip10-ed25519 exercise. Proposed disposition for the owner: false positive.",599      "reviewed": "2026-12-05",600      "reviewer": "internal audit (multi-chain extension)",601      "disposition": "proposed by the audit agent; the owner decides"602    },603    "f12c1ed321bf": {604      "tool": "semgrep",605      "rule": "qyvora-parser-trap-call",606      "location": "Sources/QyvoraEd25519/Scalar25519.swift:69",607      "status": "false-positive",608      "justification": "Reviewed 2026-12-05 (multi-chain audit, security/audit/review/ed25519.json): the precondition states the internal contract of a non-parsing arithmetic helper of QyvoraEd25519. Its argument has a length fixed by the callers (32 bytes: slices of a 64-byte signature whose length verify has checked, or the 32-byte clamped scalar); every public entry point (Ed25519.publicKey, sign, verify, isValidPublicKey, isOnCurve, SLIP10) checks the length of attacker-controlled input before reaching it, which the fuzz targets ed25519-verify, ed25519-point, ed25519-sign and slip10-ed25519 exercise. Proposed disposition for the owner: false positive.",609      "reviewed": "2026-12-05",610      "reviewer": "internal audit (multi-chain extension)",611      "disposition": "proposed by the audit agent; the owner decides"612    },613    "95d69ddc5945": {614      "tool": "semgrep",615      "rule": "qyvora-parser-trap-call",616      "location": "Sources/QyvoraEd25519/Scalar25519.swift:177",617      "status": "false-positive",618      "justification": "Reviewed 2026-12-05 (multi-chain audit, security/audit/review/ed25519.json): the precondition states the internal contract of a non-parsing arithmetic helper of QyvoraEd25519. Its argument has a length fixed by the callers (64 bytes: always the output of SHA-512); every public entry point (Ed25519.publicKey, sign, verify, isValidPublicKey, isOnCurve, SLIP10) checks the length of attacker-controlled input before reaching it, which the fuzz targets ed25519-verify, ed25519-point, ed25519-sign and slip10-ed25519 exercise. Proposed disposition for the owner: false positive.",619      "reviewed": "2026-12-05",620      "reviewer": "internal audit (multi-chain extension)",621      "disposition": "proposed by the audit agent; the owner decides"622    },623    "2abd186f652c": {624      "tool": "mobsfscan",625      "rule": "ios_hardcoded_secret",626      "location": "App/Sources/EndpointsEditorView.swift:784",627      "status": "false-positive",628      "justification": "`@State private var key = \"\"` in SecTronKeySheet: the empty initial value of the field in which the user types a TronGrid API key, not a secret written in the source. Checked on 2026-12-05 that the typed value is not persisted outside the vault: it is view state (@State, neither @AppStorage nor @SceneStorage), entered through a SecureField, handed to WalletService.setTronAPIKey (Sources/QyvoraWallet/WalletService+Chains.swift), which requires a fresh authentication and stores it as a vault record (the profile keeps the Boolean hasTronAPIKey only), and it is cleared after a successful save and when the sheet disappears. The Semgrep rule qyvora-tron-api-key-header keeps the key header in TronClient.request. Same pattern as the entry fe19901ce3e1. Disposition proposed by the agent that closed the open tool hits, for the integrator to confirm.",629      "reviewed": "2026-12-05",630      "reviewer": "internal audit (static tools)"631    }632  }633}634
Files main
Menu

Theme