SPB Git

Repository Public

severity-policy.md 6.3 KB

# QYVORA — severity policy

This policy rates every finding of the security audit, whatever produced it (a tool, a test, a review). It is applied by the people and agents who triage findings and by the release gate (release-gate.json). The audit is an internal technical audit; a rating is a judgement made with the information available, not a guarantee.

# 1. Two inputs: CVSS and wallet impact

Each finding receives

  1. a CVSS v3.1 base vector and score when the finding is a vulnerability that an attacker can exercise (the vector is recorded so that the score can be recomputed), and
  2. a wallet-impact class from the table below.

The severity is the higher of the two. A design gap that is not exploitable by itself (missing hardening, a control delegated to a screen that does not exist yet, an unreviewed implementation) has no CVSS vector; it is rated by impact and likelihood alone, and the finding says so.

CVSS v3.1 bands: 0.0 none · 0.1–3.9 low · 4.0–6.9 medium · 7.0–8.9 high · 9.0–10.0 critical.

# 2. Wallet-impact classes

Severity Wallet impact Typical examples
Critical Loss of funds or disclosure of a private key, seed or recovery phrase, without physical possession of the unlocked device and without an unlikely user action. A signature that does not correspond to what was shown, accepted by default. Biased or repeated ECDSA nonce; key-dependent output error in scalar multiplication; wrong address derived from a correct key; seed written to a log, to the network or to a backup; signature forgery accepted by a verifier that guards funds or a restore; vault opened without the credential.
High The same outcomes, but requiring a strong precondition: physical possession of the device, a malicious endpoint chosen by the user, a file the user must be convinced to import, or a measurable side channel with local access. Denial of access to funds that the recovery phrase cannot undo. Crash of a parser reachable from the network or from a QR code with memory corruption. Timing leak of key bits measurable on the device; fee or amount limits bypassed; replay across chains; vault authentication bypass that still needs the file; wrong-chain broadcast.
Medium Weakening of a protection that leaves another barrier standing; disclosure of privacy-relevant data (addresses, balances, extended public keys); denial of service that needs a restart or a restore; a control enforced only by the interface. Weak password accepted; sensitive action without fresh authentication; auto-lock not applied; trap (fatalError, overflow, out-of-bounds) reachable from untrusted input without memory corruption; unreviewed custom cryptography on a signing path.
Low Hardening gaps and defence-in-depth items with limited or unlikely impact; issues needing a compromised device; denial of service limited to one request. No jailbreak detection; no warning for a first payment to an address; a release setting without a build-configuration guard. (An item of this kind whose CVSS base score reaches 4.0 — for example a recovery phrase exposed to a keyboard extension or to a screenshot — is rated medium by the rule of section 1.)
Info Observations, documentation gaps, items required by a store or a standard without security impact by themselves. Missing privacy manifest; stale comment; a framework item recorded as not implemented.

Rules that override the table:

  • Anything that can reveal key material to a party other than the user is at least high, and critical when it needs no physical access.
  • A failed conformance vector (NIST ACVP / CAVP, RFC, BIP, Wycheproof) or a differential mismatch against an independent implementation is critical until explained: the release gate treats it as a failed test in any case.
  • A crash found by fuzzing is at least medium, high if a sanitizer reports memory corruption; the release gate blocks on any unreproduced or unfixed crash.
  • A secret found in the tree or in the Git history is high (critical if it is live); the release gate blocks on it.
  • Raw hits of pattern scanners (Semgrep, mobsfscan, MobSF, Dontrust) keep the severity given by the tool until triaged; triage may lower, raise or close them, always with a written reason.

# 3. Post-quantum scope in ratings

Post-quantum algorithms in QYVORA protect local storage in transfer (hybrid envelope) and authenticate backups and identities. They do not protect Bitcoin or Ethereum transactions. A defect in ML-KEM, ML-DSA or SLH-DSA is rated by what it exposes in those uses (for example the confidentiality of a transfer package, still protected by X25519 and by the backup password). A defect in secp256k1, BIP-32 or address encoding is rated against funds.

# 4. Status of a finding

Status Meaning Required record
open Not resolved. Root cause, impact, location, proposed fix.
fixed Corrected in the code. Fix commit, regression test, re-run of the analyses concerned.
accepted-risk Left as is by decision of the owner. Who decided, when, why, and the residual risk. An agent never accepts a risk on the owner's behalf.
false-positive The tool or reviewer was wrong. Written justification (triage file).

No finding is deleted. A finding that reappears after being fixed is reopened, not re-created.

# 5. Release gate

release-gate.json is the machine-readable form. A publication is refused when any of these holds:

  • an open finding of severity critical or high;
  • a failed cryptographic conformance, differential, property or regression test;
  • a crash from a fuzzing campaign;
  • a secret found by the secret scanners;
  • a required tool that ended as FAILED, or that was NOT RUN in a release run.

Medium and lower findings do not block; they are listed in the report with their residual risk. Passing the gate is not a certification. An independent cryptographic review is required before any recommendation to use the wallet with real funds.

# 6. References

Files main
Menu

Theme