security/policies
Rules, tool configuration and framework assessments of the QYVORA security audit. Everything
here is input to Scripts/security-audit.sh; nothing here is a result. Results are produced by a
run and written to security/reports/.
Severity and release gate
| File | Purpose |
|---|---|
severity-policy.md |
How a finding is rated (CVSS v3.1 and wallet impact), the statuses, the rules that override the table. |
release-gate.json |
Machine-readable gate: an unresolved critical or high finding, a failed cryptographic test, a fuzzing crash, a secret or a failed required tool blocks publication. |
Framework assessments
Four files share one format ("schema": "qyvora-audit/framework/1") and are evaluated by
security/audit/runners/frameworks.py.
| File | Framework | Source (pinned) | Items |
|---|---|---|---|
coinspect-wsf.json |
Coinspect Wallet Security Framework: Wallet Security Controls (WSC) and Wallet Security Benchmark (WSB) | coinspect/wallet-security-framework, commit 9b707066 |
50 controls + 34 tests |
masvs-v2.json |
OWASP MASVS v2 (STORAGE, CRYPTO, AUTH, NETWORK, PLATFORM, CODE, RESILIENCE, PRIVACY) | OWASP/masvs, commit bbe226fd |
24 controls |
mastg-tests.json |
OWASP MASTG, every iOS test | OWASP/mastg, commit 6ebc1aa2 |
129 tests |
wallet-audit.json |
Wallet audit of the owner's brief (key storage, authentication, phrase, backup, data protection, network, fraud protection, fees / nonces / UTXOs, replay protection, mainnet gate, post-quantum scope) | CLAUDE.md |
35 items |
Each item has:
verdict:pass,partial,fail,not-applicableornot-assessed. An item without verified evidence is neverpass.rationaleand, when relevant,gap,severity,residual_riskandfinding(identifiers of files insecurity/audit/findings/).evidence: references to the code.{"ref": "path:line", "contains": "text"}means this text, at this place. A string beginning withrunner:points to another tool's result in the same run.checks: automated checks evaluated at every run — a regular expression that must be present or absent in a set of files (grep), or a property-list key (plist).
What the runner does with them, at every run:
- Evidence is verified. If the text moved inside its file, the reference follows it. If the
text is gone, the evidence is stale and a
passorpartialitem becomesnot-assessed. - Checks are evaluated. A check that is not met changes the verdict (
on_unmet,failby default) and, when it has aseverity, produces a finding. A check that carries afindingidentifier tracks a known gap: it reports whether the gap is still there and tells the reviewer when it has disappeared. - Verdicts are counted. A failing item of severity medium or above that points to no
recorded finding makes the tool result
FAILED.
The assessments were written on 2026-12-04 against a tree in which the application screens for sending, reviewing, unlocking and showing the recovery phrase did not exist yet. Items that depend on them say so; they must be revisited on the final commit (the checks will already have moved for the items they cover).
To change an assessment, edit the JSON file: update the verdict, the rationale and the evidence
together, and run python3 security/audit/runners/frameworks.py to see the effect.
These are self-assessments against public checklists. They are not a Coinspect review, not an OWASP certification (OWASP certifies nothing) and not an independent audit.
Dontrust
dontrust.json records the search for the tool the owner named, what was found, and how it is
used.
- A tool by that name exists:
HodleHub/dontrust0.1.0 (MIT), a local regular-expression source auditor for cryptocurrency wallets with 21 rules written from hardware-wallet incidents. It is not on npm, PyPI, crates.io or Homebrew. It is young (one commit, 2026-08-01) and is handled as an untrusted download: pinned commit, SHA-256 of every file indontrust.json, dependencies installed from its lock file with--ignore-scripts, source read before first use. - Install:
python3 security/audit/runners/frameworks.py --install-dontrust(needs node ≥ 20 and pnpm; installs intosecurity/.tools/dontrust, git-ignored). - It runs on a copy of
Package.swift,Sources/,App/andScripts/; it reads files and writes two reports undersecurity/reports/raw/. Nothing leaves the machine. - Real coverage for QYVORA is narrow: two rules declare Swift; most others target C, Python or
firmware constructs and cannot match Swift code, so their silence proves little. Its hits are
review locations; each is triaged in the
triagelist ofdontrust.json. An untriaged hit staysopenwith the rule's severity and can block the release gate. - When the tool is not installed the result is
NOT RUNwith the reason — never a pass.
Other files in this directory
Tool pins (tools.json), triage of tool findings (triage.json), Semgrep rules (semgrep/),
Gitleaks configuration (gitleaks.toml) and MobSF settings (mobsf.json) are documented in
security/README.md.