一键导入
enrich-findings
LLM-enrich raw scanner findings with titles, descriptions, proposed fixes, and severity scores (Phase 4 of the triage pipeline).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
LLM-enrich raw scanner findings with titles, descriptions, proposed fixes, and severity scores (Phase 4 of the triage pipeline).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | enrich-findings |
| description | LLM-enrich raw scanner findings with titles, descriptions, proposed fixes, and severity scores (Phase 4 of the triage pipeline). |
Enrich unenriched findings for an experiment using the SecurityAgent review logic.
Full agent guidance is in Agents/SecurityAgent.md.
Phases 1–3 must be complete (context discovery + opengrep scan). Verify:
python3 Scripts/Experiments/triage_experiment.py resume
python3 Scripts/Enrich/enrich_findings.py --experiment <id>
| Flag | Purpose |
|---|---|
--experiment <id> | Experiment ID — required |
--dry-run | Preview what would be enriched without writing |
--limit <n> | Cap the number of findings to enrich in this run |
The script is idempotent: it skips any finding where llm_enriched_at IS NOT NULL. Never force re-enrichment — this overwrites reviewed scores.
python3 Scripts/Generate/render_finding.py --experiment <id> --all
python3 Scripts/Generate/generate_diagram.py <id>
When enriching findings, follow these rules from Agents/SecurityAgent.md:
NEVER reduce scoring for dev/lab/training/CTF environments for inherently critical issues.
Always CRITICAL (9–10/10) regardless of environment:
For each finding, trace a realistic attack path:
Each finding gets written to DB with:
title, description, proposed_fixseverity_score (1–10)llm_enriched_at timestampAnd rendered to: Output/Learning/experiments/<id>_<name>/Findings/<id>-<slug>.md
Run skeptic reviews: skeptic-review skill.
Full SecurityAgent scoring rules, environment handling, and attack-chain tracing:
Agents/SecurityAgent.md
Trace a public endpoint through App Gateway, APIM, and AKS using harvested subscription data.
On-demand Playwright audit of a subscription's rendered React Flow diagrams - verifies the UI matches harvested Azure reality using screenshots, DOM checks, interaction tests, and diagram-to-asset comparison.
Run Triage-Saurus diagram review (screenshots, threat-model smells, and before/after report).
Promote validated learnings from a completed experiment — create detection rules, update strategy JSON, and update agent instructions for future experiments.
Validate generated architecture diagrams for hierarchy issues, missing internet ingress, network segmentation gaps, and missing components.
Generate per-resource-type cloud summaries (Key Vault, Storage Account, AKS, etc.) and persist them to the DB for the web app after triage completes.