|
| 1 | +# Evidence.v1 — Finding object contract |
| 2 | +# Produced by: omv-find (on confirmed/explicit handoff request) |
| 3 | +# Consumed by: omv-report |
| 4 | +# |
| 5 | +# Status values: |
| 6 | +# candidate — promising but not yet proven; omv-report produces triage draft only |
| 7 | +# confirmed — tested version + source->sink->guard + local reproducer known |
| 8 | +# blocked — missing required evidence; omv-report must explain blockers, not write a submission-ready report |
| 9 | +# |
| 10 | +# Rules: |
| 11 | +# - Use "unknown" for unverified fields; never fill from memory. |
| 12 | +# - List unverified fields under provenance.unverified_fields. |
| 13 | +# - omv-report must preserve all unverified markers; never silently upgrade them. |
| 14 | +# - CVE readiness score 0-100 based on field completeness; threshold >=75 is necessary but not sufficient. |
| 15 | +# - CLI validation is the machine gate for status transitions; confirmed findings must satisfy field-level checks. |
| 16 | +# - Unknown values in important fields must be listed in provenance.unverified_fields until verified. |
| 17 | + |
| 18 | +schema_version: "1" |
| 19 | + |
| 20 | +# ── Identity ────────────────────────────────────────────────────────────────── |
| 21 | +handoff_version: "1.0" |
| 22 | +status: candidate # candidate | confirmed | blocked |
| 23 | +researcher_goal: VulDB # VulDB | CVE | GHSA | OSV | advisory | triage |
| 24 | + |
| 25 | +package: |
| 26 | + ecosystem: npm # npm | python | go | rust | java | ruby | php | csharp | swift | dart | elixir | perl | r | lua |
| 27 | + registry_name: "" # exact package name in registry |
| 28 | + repository_url: "" # verified GitHub URL |
| 29 | + vendor: "" # project name / org — NOT the registry name |
| 30 | + product: "" # package or product name |
| 31 | + |
| 32 | +# ── Versions ────────────────────────────────────────────────────────────────── |
| 33 | +versions: |
| 34 | + tested: "" # exact version tested (required for confirmed/submission-ready) |
| 35 | + affected_range: unknown # e.g. "up to and including 2.4.1" | "before 2.4.2" |
| 36 | + fixed: unknown # first safe version, or "none" |
| 37 | + |
| 38 | +# ── Vulnerability ───────────────────────────────────────────────────────────── |
| 39 | +vulnerability: |
| 40 | + class: "" # plain English class name (not CWE number) |
| 41 | + cwe: "" # e.g. CWE-22 |
| 42 | + affected_component: "" # file path |
| 43 | + affected_function: "" # function name |
| 44 | + |
| 45 | +# ── Evidence ────────────────────────────────────────────────────────────────── |
| 46 | +evidence: |
| 47 | + source: unknown # attacker-controlled input entry point; confirmed findings include file:line |
| 48 | + sink: unknown # dangerous operation reached; confirmed findings include file:line |
| 49 | + guard: unknown # check that is missing/bypassable; include file:line or explicit absence |
| 50 | + reproducer: unknown # local PoC command or description; "none" if not yet written |
| 51 | + observed_result: unknown # user-reported local observation; do not infer or fabricate |
| 52 | + repro_artifacts: [] # optional .omv/repro/<id>/ files: commands.sh, observed.txt, screenshots/, docker-compose.yml |
| 53 | + |
| 54 | +# ── CVSS ────────────────────────────────────────────────────────────────────── |
| 55 | +cvss: |
| 56 | + vector: unknown # e.g. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 57 | + score: unknown # numeric score |
| 58 | + severity: unknown # Critical | High | Medium | Low |
| 59 | + |
| 60 | +# ── Impact ──────────────────────────────────────────────────────────────────── |
| 61 | +impact: |
| 62 | + attack_vector: unknown # Network | Local | Physical | Adjacent |
| 63 | + authentication_required: unknown # true | false | unknown |
| 64 | + user_interaction_required: unknown # true | false | unknown |
| 65 | + scope_changed: unknown # true | false | unknown |
| 66 | + confidentiality: unknown # High | Low | None | unknown |
| 67 | + integrity: unknown # High | Low | None | unknown |
| 68 | + availability: unknown # High | Low | None | unknown |
| 69 | + |
| 70 | +# ── Dedup ───────────────────────────────────────────────────────────────────── |
| 71 | +dedup: |
| 72 | + nvd_searched: false |
| 73 | + ghsa_searched: false |
| 74 | + ecosystem_db_searched: false |
| 75 | + existing_cve: unknown # CVE-YYYY-NNNNN if found, "none" if clean, "unknown" if not searched |
| 76 | + notes: "" |
| 77 | + |
| 78 | +# ── Disclosure ──────────────────────────────────────────────────────────────── |
| 79 | +disclosure: |
| 80 | + vendor_contacted: false |
| 81 | + contact_date: unknown |
| 82 | + vendor_response: unknown |
| 83 | + planned_disclosure_date: unknown |
| 84 | + |
| 85 | +# ── Blockers ────────────────────────────────────────────────────────────────── |
| 86 | +blockers: [] |
| 87 | +# Common values: |
| 88 | +# - "no tested version" |
| 89 | +# - "source to sink not proven" |
| 90 | +# - "likely duplicate CVE" |
| 91 | +# - "developer-controlled trigger only" |
| 92 | +# - "no local reproducer" |
| 93 | + |
| 94 | +# ── Audit Verdict ───────────────────────────────────────────────────────────── |
| 95 | +verdict: |
| 96 | + exploitability: unknown # proven | plausible | blocked | disproven | unknown |
| 97 | + confidence: unknown # high | medium | low | unknown |
| 98 | + reason: "" # concise reason for the current verdict |
| 99 | + |
| 100 | +# ── Provenance ──────────────────────────────────────────────────────────────── |
| 101 | +provenance: |
| 102 | + verification_date: "" |
| 103 | + researcher: "" |
| 104 | + unverified_fields: [] # list field paths that carry "unknown" or unconfirmed data; checked by CLI validation |
| 105 | + tool_versions: {} # e.g. {omv-find: "1.0"} |
| 106 | + |
| 107 | +# ── Evidence and Submission Scores (computed, not stored) ───────────────────── |
| 108 | +# omv computes evidence_score from field completeness. |
| 109 | +# omv computes submission_score by penalizing unresolved blockers, unknown |
| 110 | +# observed_result, unknown affected range, incomplete dedup, and blocked/disproven |
| 111 | +# verdicts. A high evidence_score is not enough for submission-ready output. |
| 112 | +# |
| 113 | +# Evidence scoring guide (total 100): |
| 114 | +# tested version present +20 |
| 115 | +# source identified +10 |
| 116 | +# sink identified +10 |
| 117 | +# guard missing confirmed +10 |
| 118 | +# local reproducer written +15 |
| 119 | +# observed result documented +10 |
| 120 | +# cvss vector present +10 |
| 121 | +# dedup search completed +10 |
| 122 | +# vendor contacted +5 |
| 123 | +# |
| 124 | +# Threshold: submission_score >= 75 plus validation OK is required before |
| 125 | +# suggesting promotion to confirmed. |
| 126 | +cve_readiness_scoring: |
| 127 | + tested_version: 20 |
| 128 | + source_identified: 10 |
| 129 | + sink_identified: 10 |
| 130 | + guard_missing_confirmed: 10 |
| 131 | + local_reproducer: 15 |
| 132 | + observed_result: 10 |
| 133 | + cvss_vector: 10 |
| 134 | + dedup_searched: 10 |
| 135 | + vendor_contacted: 5 |
| 136 | + total: 100 |
| 137 | + threshold: 75 |
0 commit comments