Repository Public
1{2 "id": "QYV-APP-005",3 "title": "Third-party keyboards are not excluded while the recovery phrase is typed",4 "severity": "medium",5 "cvss_vector": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N",6 "cvss_score": 4.7,7 "cwe": "CWE-200",8 "masvs": "MASVS-PLATFORM-3",9 "area": "app",10 "location": "Sources/QyvoraUI/SeedPhrase.swift:239",11 "tool": "manual-review",12 "rule": "",13 "status": "fixed",14 "fix_commit": "a7d6560",15 "regression_test": "No unit test can reach the application delegate from the package: the regression checks are static-checks 'keyboards: third-party keyboard extensions refused' (finding QYV-STA-016 when absent), mobsfscan rule ios_custom_keyboard_disabled and MASTG-TEST-0389, run at every audit.",16 "description": "Root cause: the recovery-phrase entry uses plain `TextField`s (auto-correction off, ASCII keyboard) and the application does not refuse keyboard extensions. Secure text fields force the system keyboard; plain fields do not. Impact: a custom keyboard installed by the user, with full access granted, receives every word of the phrase and can transmit it.",17 "recommendation": "Refuse keyboard extensions for the whole application: implement `application(_:shouldAllowExtensionPointIdentifier:)` in an application delegate and return false for `.keyboard` (MASTG-TEST-0389).",18 "evidence": ".keyboardType(.asciiCapable)",19 "fingerprint": "34cbb63ac233",20 "frameworks": [21 "MASVS-PLATFORM-3",22 "MASVS-STORAGE-2",23 "MASTG-TEST-0389",24 "MASTG-TEST-0313"25 ],26 "reported": "2026-12-04",27 "owner": "integrator",28 "fixed": "2026-12-04",29 "resolution_note": "Fixed: `QyvoraAppDelegate` (App/Sources/AppDelegate.swift, installed with `@UIApplicationDelegateAdaptor`) returns false for the keyboard extension point in `application(_:shouldAllowExtensionPointIdentifier:)`: iOS presents the system keyboard in every field of the application, whatever keyboard the user installed. Verification: Application target compiled for iphoneos on M3U96a; static-checks and mobsfscan re-run by the quick audit. Not verified on a device with a third-party keyboard installed. Residual risk: The system keyboard itself (its learning is switched off on the phrase fields by `autocorrectionDisabled`) and hardware keyboards are outside the control of the application.",30 "verification": "Application target compiled for iphoneos on M3U96a; static-checks and mobsfscan re-run by the quick audit. Not verified on a device with a third-party keyboard installed.",31 "residual_risk": "The system keyboard itself (its learning is switched off on the phrase fields by `autocorrectionDisabled`) and hardware keyboards are outside the control of the application."32}33