Deduplicate findings and enrich with offline CVSS/KEV data
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
Direzione di ricerca
Start in the existing finding and report modules to see how findings are stored and rendered, then decide where a fingerprint field and a merge step belong. The offline enrichment needs a new sec enrich --offline entry point that reads a local CVE/KEV snapshot, and the snapshot format is not yet specified. Done means the acceptance criteria hold: duplicates merge with both evidence ids kept, fingerprints are stable across sessions, and enrichment makes no network call by default.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The same issue appears multiple times: once from a scanner import, once from manual review, once from a retest. Findings have no stable fingerprint, so the report shows duplicates and the count is meaningless. Severity is hand-written, and there is no link to CVSS or known exploitation.
Enrichment must be local by default. A security harness that phones home to look up a CVE leaks the engagement.
Inspiration
- CISA KEV catalog as a local JSON snapshot.
- CVSS v3.1/v4.0 vector parsing.
- SARIF
partialFingerprintsas a dedupe model. - The existing
findingandreportmodules.
Proposal
- Compute a fingerprint from rule/class, normalized path or URL, line/parameter, and a hash of the canonical evidence. Store it on the finding.
- Merge duplicates into one finding with multiple evidence links; keep the earliest and latest observation dates.
- Add
sec enrich --offline <dir>that reads a local CVE/KEV snapshot and attaches CVSS vector/score, KEV status and source date when the finding names a CVE. - Never fetch during a turn; a separate explicit
sec enrich --updatemay download a snapshot, with size and URL shown. - Mark every enriched field with its source and date; unknown is
unknown.
Acceptance criteria
- Two findings with the same rule/path/line and equivalent evidence merge and keep both evidence ids.
- The fingerprint is stable across exports and sessions.
- Offline enrichment attaches CVSS and KEV only when the local snapshot has the CVE.
- A missing snapshot is reported, not treated as "not exploited".
- Enrichment never makes a network call in the default path.
- The report shows source and date for every enriched value.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GotinhaAzul/LocalHarness
-
area: ux bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
GotinhaAzul/LocalHarness#198 ·
-
area: tools area: ux enhancement priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
GotinhaAzul/LocalHarness#201 ·
-
area: ux bug priority: P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GotinhaAzul/LocalHarness#200 ·
-
area: ux bug priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#199 ·
-
area: ux enhancement priority: P2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
GotinhaAzul/LocalHarness#197 ·
Tutte le issue di GotinhaAzul/LocalHarness
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
zed-industries/zed#67561 ·
I maintainer di solito rispondono entro 1 giorno
-
bug has: workaround PR welcome! T: CI/CD
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
chore priority:low ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jdrouet/catapulte#882 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100