{% extends "base.html" %} {% block title %}{{ run.skill_name }} — secfoo{% endblock %} {% block content %} ← Back to project

{{ run.skill_name }}

{% if blocked %}Blocked {% else %}{{ run.status }}{% endif %}

{{ run.project_display_name or 'Project' }} · {{ run.agent_id }}{% if run.model %} ({{ run.model }}){% endif %} · started {{ run.started_at | fmt_time }}

Progress

{% if elapsed is not none %} {{ (elapsed // 60) | int }}m {{ '%02d' % ((elapsed % 60) | int) }}s {% endif %}
    {% for step in steps %}
  1. {{ step.label }} {% if step.state == 'live' %}in progress{% else %}{{ step.detail }}{% endif %}
  2. {% endfor %}
{% if is_active %}

Updates live. The report appears here when the agent finishes.

{% endif %}

Run receipt

agent{{ run.agent_id }}
model{{ run.model or 'CLI default' }}
skill{{ run.skill_id }}
{% if run.skill_source %}
skill definition v{{ run.skill_version }} · {% if run.skill_source == "builtin" %}built-in {% elif run.skill_source == "user" %}custom {% elif run.skill_source.startswith("pack:") %}{{ run.skill_source }} {% elif run.skill_source.startswith("http://") or run.skill_source.startswith("https://") %}{{ run.skill_source }} {% else %}custom{% endif %} {% if run.skill_sha256 %} · {{ run.skill_sha256[:12] }}{% endif %} {% if definition_changed %}definition changed{% endif %}
{% endif %}
confluence pages{{ run.confluence_urls | length }}
{% if context_sources %} {% set reached_count = context_sources | selectattr('reached') | list | length %}
documentation sources{{ reached_count }} of {{ context_sources | length }} reached
{% endif %}
duration{{ run.duration_seconds | fmt_duration }}
exit code{{ run.exit_code if run.exit_code is not none else '-' }}
tokens in / out{{ run.input_tokens | fmt_tokens }} / {{ run.output_tokens | fmt_tokens }}
findings C/H/M/L{{ run.critical_count }} / {{ run.high_count }} / {{ run.medium_count }} / {{ run.low_count }}
AI cost{% if run.cost_usd is none and run.status not in ('running', 'pending') %}not reported{% else %}{{ run.cost_usd | fmt_cost }}{% endif %}
{% if run.confluence_urls %} {% endif %}
{% if run.prompt_path %}Prompt sent to agent{% endif %} {% if report_html %}Raw report{% endif %}
{% if blocked %}

{{ blocked.title }}

{{ blocked.explanation }}

{% if blocked.fix %}
How to fix
{{ blocked.fix }}
{% endif %} {% if run.stderr_excerpt %}
Error output from the agent
{{ run.stderr_excerpt }}
{% endif %} {% if run.assessment_id %} Try again {% endif %}
{% endif %} {% if context_sources %} {% set reached_count = context_sources | selectattr('reached') | list | length %}

Documentation coverage

{{ reached_count }} of {{ context_sources | length }} sources reached

{% for cs in context_sources %} {% endfor %}
Source Type Reached Notes
{% set safe_url = cs.source | https_url %} {% if safe_url %} {{ safe_url }} {% else %} {{ cs.source }} {% endif %} {{ cs.type }} {% if cs.reached %} Reached {% else %} Not reached {% endif %} {{ cs.notes }}
{% endif %} {% if tm_correlation and (tm_correlation.live_entry_points or tm_correlation.unmodeled_routes) %}

Live traffic correlation

{% if tm_correlation.live_entry_points %}

Live entry points

{% for ep in tm_correlation.live_entry_points %} {% endfor %}
IDEntry pointBoundaryMatched routesHits
{{ ep.id }} {{ ep.entry_point }} {{ ep.boundary_id }}{% if ep.boundary_label %} — {{ ep.boundary_label }}{% endif %} {% for r in ep.matched_routes %}{{ r }}{% if not loop.last %}, {% endif %}{% endfor %} {{ ep.hits }}
{% endif %} {% if tm_correlation.unmodeled_routes %}

Unmodeled entry points (drift)

Live routes with no matching entry point: {% for r in tm_correlation.unmodeled_routes %}{{ r.route }} ({{ r.hits }} hits){% if not loop.last %}, {% endif %}{% endfor %}. Re-run threat modeling from the project page →
{% endif %} {% if tm_correlation.prioritized_threats %}

Threats ordered by live exposure

{% for t in tm_correlation.prioritized_threats %} {% endfor %}
IDThreatBoundarySeverityDispositionProduction traffic
{{ t.id }} {{ t.threat }} {{ t.boundary }} {{ t.severity }} {{ t.disposition }} {% if t.seen_in_production %}Seen in production{% else %}No traffic observed{% endif %}
{% endif %}
{% endif %} {% if report_html %}
{{ report_html | safe }}
{% elif not blocked and not is_active %}

No report content available.

{% endif %} {% if mermaid_available %} {# Vendored locally rather than loaded from a CDN: this is a security tool whose reports are often reviewed on airgapped or restricted networks, and a report viewer that phones out to a third-party host is its own finding. The asset is optional (see web/app.py::mermaid_bundle_available) -- without it, diagrams stay readable as Mermaid source instead of breaking. #} {# mermaid@11's dist/mermaid.min.js is an IIFE that assigns globalThis.mermaid -- NOT an ES module, so it must be loaded as a classic script rather than imported. #} {% endif %} {% endblock %}