🦅 Hawk‑i Audit Report

Generated: {{ generated_at }}

📊 Executive Summary

{% if not scan_metadata.ai_enabled %}

AI reasoning was not enabled during this scan.

{% endif %} {% if not scan_metadata.sandbox_enabled %}

Exploit simulation was not executed.

{% endif %}

📈 Vulnerability Breakdown

Severity Distribution

{% if 'severity_pie.png' in chart_paths %} Severity Pie Chart {% else %}

Chart not available.

{% endif %}

Vulnerability Types (Top 10)

{% if 'type_bar.png' in chart_paths %} Type Bar Chart {% else %}

Chart not available.

{% endif %}

Severity Table

SeverityCount
Critical{{ severity_counts.Critical or 0 }}
High{{ severity_counts.High or 0 }}
Medium{{ severity_counts.Medium or 0 }}
Low{{ severity_counts.Low or 0 }}

🔍 Detailed Findings

{% for f in findings %}

{{ f.id }}: {{ f.title }} ({{ f.severity }})

File: {{ f.file }}:{{ f.line }}

Vulnerable Code:

{{ f.vulnerable_snippet }}

Recommended Fix:

{{ f.fix_snippet }}

Explanation: {{ f.explanation }}

Impact: {{ f.impact }}

{% if f.exploit_steps %}

Exploit Reproduction Steps:

    {% for step in f.exploit_steps %}
  1. {{ step }}
  2. {% endfor %}
{% endif %}
{% endfor %}

🧪 Simulation Metrics

Success Rate: {{ simulation_success_rate or "N/A" }}

Total Exploits Attempted: {{ repo_data.sandbox_results | length if repo_data.sandbox_results else 0 }}

{% if repo_data.sandbox_results %} {% for res in repo_data.sandbox_results %} {% endfor %}
AttackSuccessBeforeAfterGas UsedTx Hash
{{ res.attack_name }} {{ res.success }} {{ res.before_balance }} {{ res.after_balance }} {{ res.gas_used }} {{ res.transaction_hash }}
{% endif %}

Report generated by Hawk‑i v0.7.0