Maximuz23 commited on
Commit
6c84d23
·
verified ·
1 Parent(s): efd86da
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -350,7 +350,8 @@ def enrich_ioc(ioc, ioc_type):
350
  label = {"ip": "IP Addresses", "domain": "Domains", "url": "URLs", "file": "File Hashes"}.get(ioc_type, "Indicators")
351
  # Only live feed data goes in the report — no canned recommendation (the model writes the analysis).
352
  return ("Analyze this threat intelligence report. Produce a structured red-team summary using only "
353
- "what the report states. Do not invent actors, malware, or indicators.\n\n"
 
354
  "[Threat Report]\n"
355
  f"Title: Live IOC enrichment — {ioc}\n\n"
356
  f"{' '.join(bits)}\n\n"
 
350
  label = {"ip": "IP Addresses", "domain": "Domains", "url": "URLs", "file": "File Hashes"}.get(ioc_type, "Indicators")
351
  # Only live feed data goes in the report — no canned recommendation (the model writes the analysis).
352
  return ("Analyze this threat intelligence report. Produce a structured red-team summary using only "
353
+ "what the report states. Do not invent actors, malware, indicators, or recommendations; "
354
+ "omit any line the record does not support.\n\n"
355
  "[Threat Report]\n"
356
  f"Title: Live IOC enrichment — {ioc}\n\n"
357
  f"{' '.join(bits)}\n\n"