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 }}
Info{{ severity_counts.Info or 0 }}

Detailed Findings

Each finding shows where the flaw is, the code responsible, why it is dangerous, its impact, and a concrete fix.

{% for f in findings %}

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

Location: {{ f.file }}:{{ f.line }} {% if f.function_name %} |  Function: {{ f.function_name }}{% endif %}

Vulnerable code
{{ f.vulnerable_snippet }}
What is wrong

{{ f.explanation }}

Impact

{{ f.impact }}

Recommended fix
{{ f.fix_snippet }}
{% 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 %}

Additional Security Modules

Bytecode Verification

{% if bytecode_result %}

Match: {{ bytecode_result.match }}

Onchain Hash: {{ bytecode_result.onchain_hash }}

Compiled Hash: {{ bytecode_result.compiled_hash }}

Summary: {{ bytecode_result.diff_summary }}

{% else %}

Not performed.

{% endif %}

Dependency Vulnerabilities

{% if dependency_findings %} {% for dep in dependency_findings %} {% endfor %}
PackageInstalledVulnerable VersionsSeverity
{{ dep.package }}{{ dep.installed_version }}{{ dep.vulnerable_versions }}{{ dep.severity }}
{% else %}

No vulnerable dependencies found or scan not run.

{% endif %}

Upgrade Safety

{% if upgrade_findings %} {% for u in upgrade_findings %} {% endfor %}
FileTitleSeverity
{{ u.file }}{{ u.title }}{{ u.severity }}
{% else %}

No upgrade safety issues detected.

{% endif %}

Formal Verification

{% if formal_findings %} {% for fv in formal_findings %} {% endfor %}
TitleSeverityDescription
{{ fv.title }}{{ fv.severity }}{{ fv.description }}
{% else %}

No formal verification issues found or not run.

{% endif %}

Hawk-i Deep Agent Campaign

{% if deep_agent_stats %} {% if 'deep_outcomes.png' in chart_paths %} Deep Agent Outcomes {% endif %} {% if 'deep_novel_split.png' in chart_paths %} Novel Attack Split {% endif %}

Attack Timeline

{% else %}

Deep agent not run.

{% endif %}

Report generated by Hawk-i v1.0.0