Suspicious Scripts

{% if suspicious_scripts %}
{% for s in suspicious_scripts %} {% endfor %}
Type Source URL Matches (Rules & Heuristics) Content Snippet
{{ s.type or 'unknown' }} {% if s.src %} {{ s.src[:100] }}{% if s.src|length > 100 %}…{% endif %} {% else %} N/A {% endif %} {% set has_rules = s.rules and s.rules|length > 0 %} {% set has_heur = s.heuristics and s.heuristics|length > 0 %} {% if has_rules %}
Rules
    {% for r in s.rules %}
  • {{ r.name }} {% if r.severity %} {% set sev = r.severity|lower %} {{ r.severity|title }} {% endif %} {% if r.tags %} {% for t in r.tags %} {{ t }} {% endfor %} {% endif %} {% if r.description %} — {{ r.description }} {% endif %}
  • {% endfor %}
{% endif %} {% if has_heur %}
Heuristics
    {% for h in s.heuristics %}
  • {{ h }}
  • {% endfor %}
{% endif %} {% if not has_rules and not has_heur %} N/A {% endif %}
{% if s.content_snippet %}
View snippet ({{ s.content_snippet|length }} chars)
{{ s.content_snippet }}
{% else %} {% if s.type == 'external' and s.src %} {% else %} N/A {% endif %} {% endif %}
{% else %}

No suspicious scripts detected.

{% endif %}

Back to top