SPB Git

Repository Public

SECURITY.md 8.1 KB

# QYVORA — security policy

QYVORA is a non-custodial iOS wallet for Bitcoin and Ethereum. Its cryptographic engine is written from scratch in Swift. This page says how to report a vulnerability, which versions are supported, and — in plain words — what has and has not been verified.

# Reporting a vulnerability

Write to admin@spboucher.ai.

  • Describe the problem, the affected version or commit, and how to reproduce it. A failing test vector, a crashing input or a short proof of concept is ideal.
  • Never send a recovery phrase, a private key, a vault or backup file from a wallet that holds funds, or a password. Reproduce with a throw-away wallet on a test network.
  • Please give us the chance to fix the problem before you publish it. You will receive an acknowledgement, then an assessment (severity according to security/policies/severity-policy.md) and a plan. Fixes are published with a regression test and recorded in the findings register (security/audit/findings/); reporters are credited unless they prefer otherwise.
  • There is no bug-bounty programme.

Issues that are not sensitive (hardening ideas, documentation errors) can be opened on the repository: https://git.spboucher.ai/qyvora.

# Supported versions

Version Status
1.0.x (in development; internal TestFlight builds) Supported: security fixes go to the main branch.
Anything earlier Not supported.

There is no public release yet. When one exists, only the latest released version will receive security fixes.

# Status of the security work — read this before trusting the wallet with anything

What exists. An internal, automated technical audit, kept in this repository under security/ and re-run with one command (./Scripts/security-audit.sh). It runs static analysers and secret scanners, analyses the compiled application, replays the official test vectors of every algorithm, compares the engine with independent implementations, checks mathematical properties, fuzzes every parser, runs statistical timing tests, and assesses the wallet against the Coinspect Wallet Security Framework and OWASP MASVS / MASTG. Its reports are in security/reports/: they give the audited version and commit, the tools and their versions, what really ran, the number of tests, the findings and their status, the residual risks and the limits of the exercise.

What it is not.

  • It is not an independent audit: it was built and run by the project itself.
  • It is not a certification. QYVORA holds no certification of any kind — no FIPS 140 validation, no Common Criteria evaluation, no third-party attestation — and claims none. Using algorithms standardised by NIST does not make an implementation validated.
  • No independent cryptographic review has taken place yet. Test vectors, differential tests and fuzzing find many defects; they cannot prove that none remains. Swift gives no constant-time guarantee, and the timing tests are statistical evidence, not proof.
  • It makes no claim of absolute security.

What that means for real funds.

  • The engine reports itself as unaudited (MainnetPolicy.auditCompleted is false). A public build works on test networks only (Bitcoin Testnet and Signet, Ethereum Sepolia, and the test networks of the chains added on 2026-12-05).
  • An internal TestFlight build can enable mainnet, at the owner's decision, for testing with small amounts: the build must declare it and the user must switch it on after a warning, and each transaction is capped (0.002 BTC, 0.05 ETH, 150 USD per token transfer, and a value and a fee ceiling for every other chain: MainnetPolicy in Sources/QyvoraCore/Networks.swift). A ceiling in dollars is converted with a price no single source decides: a dollar-pegged token counts for at least 0.90 USD a unit, and every other token or coin needs fresh prices from two independent sources that agree within 5 % (the higher is used); otherwise the payment is refused. The caps bound one mistake; they do not bound what a defect could cost over time.
  • Multi-chain upgrade (2026-12-05). Six more EVM networks, Litecoin, Dogecoin, Bitcoin Cash, Solana and TRON were added, with a from-scratch Ed25519 for Solana. The internal audit was extended to that code. It fixed what it found in the engine and the services, and it first left open two findings rated high — the dollar ceiling of token transfers rested on a single price source (QYV-SVC-087), and the watch-only package of the cold mode was not authenticated (QYV-APP-080) — together with items for the application screens, which nobody had reviewed. On the same day those two findings were corrected in the code (two price sources or a peg floor; a package code compared on both devices and required by the service), the screens of the new chains were reviewed and corrected, and the acknowledgement of critical warnings became a rule of the service. What stays open is listed in the findings register (security/audit/findings/): none is rated high or critical at this writing, two low items of the service remain, and the residual risks of the corrected ones are written in each finding. This paragraph is a statement about the source tree, not an audit result: the committed reports still describe the commit before the upgrade, and only the next full run (./scripts/security-audit.sh --full) on the merged tree replaces them. See docs/THREAT_MODEL.md, section 5.14.
  • Do not rely on QYVORA for funds you cannot afford to lose. No recommendation to use it with real funds will be made before an independent cryptographic review is completed, its findings resolved, and the result published.

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.

# What the post-quantum cryptography covers

QYVORA uses post-quantum algorithms (ML-KEM, ML-DSA, SLH-DSA) for the user's own data: the encrypted transfer of a wallet between two devices (hybrid with X25519) and the signatures that authenticate backups and the separate QYVORA identity. The local vault and the backup files are protected by 256-bit symmetric cryptography (AES-256-GCM with Argon2id and PBKDF2 key stretching).

This does not make Bitcoin, Ethereum or any other supported chain quantum-resistant. Transactions are authorised by secp256k1 signatures (Ed25519 on Solana), as the protocols require. On Solana the address is the public key itself: there is no unexposed state to preserve. A sufficiently capable quantum adversary could spend from any address whose public key is known, whatever wallet is used. QYVORA shows which of your outputs have an exposed public key and helps move them to fresh addresses; that reduces exposure and is not post-quantum protection of transactions.

# Where to find more

Document Content
security/README.md The audit engine: what it runs, how to run it, how it is wired into the development flow.
security/reports/ Audit report (Markdown, HTML, PDF), cryptographic validation report, machine-readable results.
security/policies/ Severity policy, release gate, framework assessments with their evidence.
docs/THREAT_MODEL.md Assets, adversaries, threats, what is out of scope, audit status and residual risks.
docs/QUANTUM_RESISTANCE.md What is and is not protected against quantum attackers.
Files main
Menu

Theme