Add client-ready report templates and a rules-of-engagement file

Aperta
#75 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, rust
Ambito
cli, security

Direzione di ricerca

Start with the existing /sec scope add command and the report and evidence model described in docs/security.md. Design the .harness/roe.toml schema and how /sec scope import feeds the scope gate, then add lh sec report --template output. Done means a ROE import sets scope and session authorization, an expired ROE blocks active testing, and client and technical reports render from the same findings. The issue bundles several subsystems and needs maintainer design input first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: docs area: security enhancement priority: P2

Problem

The scope gate is set through /sec scope add, but there is no durable rules-of-engagement artifact: who authorized the work, which targets, which window, what is prohibited, who to contact. The report is a technical dump, not a client deliverable with an executive summary, methodology, evidence appendix and remediation.

Authorization that exists only in a chat command is easy to lose and hard to audit. A report without an authorization basis is a liability.

Inspiration

  • Standard penetration-test report structures (executive summary, scope, methodology, findings, remediation, appendix).
  • Rules of engagement templates used in engagements.
  • The existing docs/security.md report and evidence model.
  • SARIF/JSON exports for the machine-readable layer.

Proposal

Add a ROE file (.harness/roe.toml, trusted) with authorization basis, targets, exclusions, window, prohibited actions, contacts and emergency stop. /sec scope import roe.toml loads it; the scope gate refuses active testing when the ROE is missing or expired.

Add lh sec report --template client|technical|executive:

  • Markdown and self-contained HTML.
  • Executive summary with counts by severity and a plain-language risk statement.
  • Findings table with evidence links, reproduction status, CWE/CVSS when known, and remediation.
  • Evidence appendix with command, timestamp, exit status and digest, secrets redacted.
  • Refuse to generate a client report without an authorization basis and at least one finding with evidence.

Acceptance criteria

  • Importing a ROE sets scope and records the authorization basis in the session.
  • An expired ROE blocks active testing.
  • Client and technical templates render from the same finding set.
  • A report without authorization or evidence is refused.
  • Evidence appendix entries include digest and redaction.
  • HTML is self-contained and opens offline.
Lingua principale
Rust
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GotinhaAzul/LocalHarness

Tutte le issue di GotinhaAzul/LocalHarness

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.