Repository Public
1# QYVORA — security policy23QYVORA is a non-custodial iOS wallet for Bitcoin and Ethereum. Its cryptographic engine is written4from scratch in Swift. This page says how to report a vulnerability, which versions are supported,5and — in plain words — what has and has not been verified.67## Reporting a vulnerability89Write to **admin@spboucher.ai**.1011- Describe the problem, the affected version or commit, and how to reproduce it. A failing test12 vector, a crashing input or a short proof of concept is ideal.13- **Never send a recovery phrase, a private key, a vault or backup file from a wallet that holds14 funds, or a password.** Reproduce with a throw-away wallet on a test network.15- Please give us the chance to fix the problem before you publish it. You will receive an16 acknowledgement, then an assessment (severity according to17 [`security/policies/severity-policy.md`](security/policies/severity-policy.md)) and a plan.18 Fixes are published with a regression test and recorded in the findings register19 (`security/audit/findings/`); reporters are credited unless they prefer otherwise.20- There is no bug-bounty programme.2122Issues that are not sensitive (hardening ideas, documentation errors) can be opened on the23repository: <https://git.spboucher.ai/qyvora>.2425## Supported versions2627| Version | Status |28|---|---|29| 1.0.x (in development; internal TestFlight builds) | Supported: security fixes go to the `main` branch. |30| Anything earlier | Not supported. |3132There is no public release yet. When one exists, only the latest released version will receive33security fixes.3435## Status of the security work — read this before trusting the wallet with anything3637**What exists.** An internal, automated technical audit, kept in this repository under38[`security/`](security/README.md) and re-run with one command (`./Scripts/security-audit.sh`).39It runs static analysers and secret scanners, analyses the compiled application, replays the40official test vectors of every algorithm, compares the engine with independent implementations,41checks mathematical properties, fuzzes every parser, runs statistical timing tests, and assesses42the wallet against the Coinspect Wallet Security Framework and OWASP MASVS / MASTG. Its reports43are in [`security/reports/`](security/reports/): they give the audited version and commit, the44tools and their versions, what really ran, the number of tests, the findings and their status,45the residual risks and the limits of the exercise.4647**What it is not.**4849- It is **not an independent audit**: it was built and run by the project itself.50- It is **not a certification**. QYVORA holds no certification of any kind — no FIPS 14051 validation, no Common Criteria evaluation, no third-party attestation — and claims none. Using52 algorithms standardised by NIST does not make an implementation validated.53- **No independent cryptographic review has taken place yet.** Test vectors, differential tests54 and fuzzing find many defects; they cannot prove that none remains. Swift gives no55 constant-time guarantee, and the timing tests are statistical evidence, not proof.56- It makes **no claim of absolute security**.5758**What that means for real funds.**5960- The engine reports itself as unaudited (`MainnetPolicy.auditCompleted` is `false`). A public61 build works on test networks only (Bitcoin Testnet and Signet, Ethereum Sepolia, and the test62 networks of the chains added on 2026-12-05).63- An internal TestFlight build can enable mainnet, at the owner's decision, for testing with small64 amounts: the build must declare it **and** the user must switch it on after a warning, and each65 transaction is capped (0.002 BTC, 0.05 ETH, 150 USD per token transfer, and a value and a fee66 ceiling for every other chain: `MainnetPolicy` in `Sources/QyvoraCore/Networks.swift`). A ceiling67 in dollars is converted with a price no single source decides: a dollar-pegged token counts for68 at least 0.90 USD a unit, and every other token or coin needs fresh prices from two independent69 sources that agree within 5 % (the higher is used); otherwise the payment is refused. The caps70 bound one mistake; they do not bound what a defect could cost over time.71- **Multi-chain upgrade (2026-12-05).** Six more EVM networks, Litecoin, Dogecoin, Bitcoin Cash,72 Solana and TRON were added, with a from-scratch Ed25519 for Solana. The internal audit was73 extended to that code. It fixed what it found in the engine and the services, and it first left74 open two findings rated high — the dollar ceiling of token transfers rested on a single price75 source (QYV-SVC-087), and the watch-only package of the cold mode was not authenticated76 (QYV-APP-080) — together with items for the application screens, which nobody had reviewed. On77 the same day those two findings were corrected in the code (two price sources or a peg floor;78 a package code compared on both devices and required by the service), the screens of the new79 chains were reviewed and corrected, and the acknowledgement of critical warnings became a rule80 of the service. What stays open is listed in the findings register (`security/audit/findings/`):81 none is rated high or critical at this writing, two low items of the service remain, and the82 residual risks of the corrected ones are written in each finding. This paragraph is a statement83 about the source tree, not an audit result: the committed reports still describe the commit84 before the upgrade, and only the next full run (`./scripts/security-audit.sh --full`) on the85 merged tree replaces them. See `docs/THREAT_MODEL.md`, section 5.14.86- **Do not rely on QYVORA for funds you cannot afford to lose.** No recommendation to use it with87 real funds will be made before an independent cryptographic review is completed, its findings88 resolved, and the result published.8990<!-- BEGIN LAST AUDIT RUN (generated by security/audit/report/generate.py from SECURITY_AUDIT_RESULTS.json — do not edit by hand) -->91**Last committed audit run.** 2026-12-05T14:31:23Z · QYVORA 1.0.0 (build 3) · commit `b60686dbecb2` · full run on MacBookPro-de-simon-pierre-2.local · release gate: **passed** (0 blocking condition(s), 6 warning(s)) · findings: 16 open (0 critical, 0 high), 76 fixed, 13 accepted risk. Internal automated technical audit — not an independent certification; no independent cryptographic review yet. Details: [`security/reports/SECURITY_AUDIT_REPORT.md`](security/reports/SECURITY_AUDIT_REPORT.md).92<!-- END LAST AUDIT RUN -->9394## What the post-quantum cryptography covers9596QYVORA uses post-quantum algorithms (ML-KEM, ML-DSA, SLH-DSA) for the user's own data: the97encrypted transfer of a wallet between two devices (hybrid with X25519) and the signatures that98authenticate backups and the separate QYVORA identity. The local vault and the backup files are99protected by 256-bit symmetric cryptography (AES-256-GCM with Argon2id and PBKDF2 key stretching).100101**This does not make Bitcoin, Ethereum or any other supported chain quantum-resistant.**102Transactions are authorised by secp256k1 signatures (Ed25519 on Solana), as the protocols require.103On Solana the address is the public key itself: there is no unexposed state to preserve. A sufficiently capable quantum104adversary could spend from any address whose public key is known, whatever wallet is used. QYVORA105shows which of your outputs have an exposed public key and helps move them to fresh addresses;106that reduces exposure and is not post-quantum protection of transactions.107108## Where to find more109110| Document | Content |111|---|---|112| [`security/README.md`](security/README.md) | The audit engine: what it runs, how to run it, how it is wired into the development flow. |113| [`security/reports/`](security/reports/) | Audit report (Markdown, HTML, PDF), cryptographic validation report, machine-readable results. |114| [`security/policies/`](security/policies/README.md) | Severity policy, release gate, framework assessments with their evidence. |115| [`docs/THREAT_MODEL.md`](docs/THREAT_MODEL.md) | Assets, adversaries, threats, what is out of scope, audit status and residual risks. |116| [`docs/QUANTUM_RESISTANCE.md`](docs/QUANTUM_RESISTANCE.md) | What is and is not protected against quantum attackers. |117