{% from "partials/_macros.html" import card_header, verdict_pill %} {# Network exposure & MITM surface — configured proxies, mounted network shares, active login sessions, and promiscuous-mode interfaces. The silent-proxy / lateral-movement / live-operator / packet-sniffer surfaces. Tables are small and bounded, so all rows show behind one shared verdict + search filter (no pagination). #} {# ----- reusable section renderer: header + counts + table (defined before use — Jinja2 does not hoist macros) ----- #} {% macro _expo_section(title, subtitle, rows, counts, columns) %}
| verdict | {% for label, _ in columns %}{{ label }} | {% endfor %}why |
|---|---|---|
| {% if r.verdict %}{{ verdict_pill(r.verdict, r.confidence) }} {% else %}—{% endif %} | {% for _, key in columns %}{{ r[key] if r[key] not in (none, '') else "—" }} | {% endfor %}{{ r.reasoning }} |