# Report Format Specification The final report is a **self-contained HTML file** (`security-report.html`). It opens in any browser, uses no external dependencies, and includes interactive features (collapsible sections, filters, color-coded severity). --- ## Output Format Single HTML file with embedded CSS and JS. No external CDN, no build step. The report must work offline when opened with `file://`. --- ## Severity Color System | Severity | Color | Badge HTML | |----------|-------|-----------| | Critical | `#dc2626` (red-600) | `CRITICAL` | | High | `#ea580c` (orange-600) | `HIGH` | | Medium | `#ca8a04` (yellow-600) | `MEDIUM` | | Low | `#16a34a` (green-600) | `LOW` | | Info | `#6b7280` (gray-500) | `INFO` | --- ## HTML Template Generate the report using this structure. Replace `{{placeholders}}` with actual data. ```html
{{executive-summary-paragraph}}
{{description}}
{{evidence-code}}
{{remediation-text}}
{{remediation-code}}
| # | Advisory | Sev. Genérica | Precondição | Presente? | Sev. Real | Razão |
|---|---|---|---|---|---|---|
| {{n}} | {{advisory-id}} | {{generic-sev}} | {{precondition}} | {{yes-no}} | {{real-sev}} | {{rationale}} |
Objetivo: {{objective}}
{{command-or-payload}}
Resposta: {{response-summary}}
| Teste | Resultado | Evidência |
|---|---|---|
| {{test-name}} | PASS | {{evidence}} |
| # | Ação | Esforço | Impacto |
|---|---|---|---|
| {{n}} | {{action}} | {{effort}} | {{impact}} |
` blocks, HTML-escape all special characters.
8. **Links in CVE table** — advisory IDs link to the GitHub advisory URL.
9. **No external dependencies** — no CDN fonts, no JS libs. Pure HTML/CSS/JS.
10. **Dark theme by default** — matches terminal-native developer workflows.
---
## Content Rules (unchanged from markdown era)
- Every finding needs source location, data flow trace, and concrete exploitability.
- Never truncate evidence to the point where it loses meaning.
- Keep descriptions factual. No speculative language.
- The report must be self-contained.
- Include ALL tests performed (pentest section), including those that passed.
- CVE analysis table is mandatory when dependency vulns exist.
- Negative results table is mandatory — reader needs to know what was tested and found secure.