SPB Git

Repository Public

QYV-APP-009.json 3.4 KB 35 lines json

1{2  "id": "QYV-APP-009",3  "title": "No platform-integrity, anti-tampering or anti-debugging mechanism",4  "severity": "low",5  "cvss_vector": "",6  "cvss_score": null,7  "cwe": "CWE-693",8  "masvs": "MASVS-RESILIENCE-1",9  "area": "app",10  "location": "App/Sources/QyvoraApp.swift:45",11  "tool": "manual-review",12  "rule": "",13  "status": "open",14  "fix_commit": "",15  "regression_test": "QyvoraUITests.DeviceIntegrityTests (indicatorsAreThePathsThatExist, theWarningNamesWhatWasSeen, theDebuggerProbeAnswersWithoutCrashing)",16  "description": "Root cause: by design the application contains no jailbreak detection, no integrity self-check, no debugger or hooking detection and no obfuscation (MASVS-RESILIENCE-1 to 4). Impact: on a jailbroken or instrumented device, Keychain items and the unlocked master key in memory can be read, and the PIN delay can be bypassed by an attacker who extracts both the vault file and the Keychain secret (the PIN then protects only as much as an offline search over its digits). Such mechanisms raise the cost of an attack; they do not stop a capable attacker.",17  "recommendation": "Decide and document the position. Minimum: detect an obviously compromised device (jailbreak indicators, debugger attached in Release) and warn the user before a recovery phrase is shown or entered; recommend the password (not only the PIN) on such devices.",18  "evidence": "",19  "fingerprint": "b1c44707eb68",20  "frameworks": [21    "MASVS-RESILIENCE-1",22    "MASVS-RESILIENCE-2",23    "MASVS-RESILIENCE-3",24    "MASVS-RESILIENCE-4"25  ],26  "reported": "2026-12-04",27  "owner": "integrator",28  "open_note": "Partly addressed on 2026-12-04 (d0a2bc2): `DeviceIntegrity` (Sources/QyvoraUI) looks for the files of a jailbroken iOS and for an attached debugger, and the screens that show or accept a recovery phrase (creation, import, reveal) display a critical warning when something is found. It is a warning, not a defence: the checks can be hidden by the tools they look for, and the wallet does not refuse to run. Not done: integrity self-check, anti-tampering, hooking detection, obfuscation (MASVS-RESILIENCE-2 to 4).",29  "proposed_disposition": "Owner decision. Proposed: accept the residual risk for MASVS-RESILIENCE-2 to 4 (an open-source wallet gains little from obfuscation; on a compromised device the Keychain and the process memory are readable whatever the application does) and keep the warning as the position for MASVS-RESILIENCE-1.",30  "updated": "2026-12-04",31  "mitigation_commit": "d0a2bc2",32  "verification": "Package tests; application target compiled for iphoneos on M3U96a. Not exercised on a jailbroken device.",33  "resolution_note": "Still open. Partly addressed on 2026-12-04 (d0a2bc2): `DeviceIntegrity` (Sources/QyvoraUI) looks for the files of a jailbroken iOS and for an attached debugger, and the screens that show or accept a recovery phrase (creation, import, reveal) display a critical warning when something is found. It is a warning, not a defence: the checks can be hidden by the tools they look for, and the wallet does not refuse to run. Not done: integrity self-check, anti-tampering, hooking detection, obfuscation (MASVS-RESILIENCE-2 to 4). Proposed disposition: Owner decision. Proposed: accept the residual risk for MASVS-RESILIENCE-2 to 4 (an open-source wallet gains little from obfuscation; on a compromised device the Keychain and the process memory are readable whatever the application does) and keep the warning as the position for MASVS-RESILIENCE-1."34}35
Files main
Menu

Theme