{"vulnerability": "CVE-2024-0002", "sightings": [{"uuid": "5c693be9-c103-4960-b3a7-99902eed5d49", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://t.me/cvedetector/6202", "content": "{\n  \"Source\": \"CVE FEED\",\n  \"Title\": \"CVE-2024-0002 - NetApp FlashArray Remote Privilege Escalation\", \n  \"Content\": \"CVE ID : CVE-2024-0002 \nPublished : Sept. 23, 2024, 6:15 p.m. | 39\u00a0minutes ago \nDescription : A condition exists in FlashArray Purity whereby an attacker can employ a privileged account allowing remote access to the array. \nSeverity: 10.0 | CRITICAL \nVisit the link for more details, such as CVSS details, affected products, timeline, and more...\",\n  \"Detection Date\": \"23 Sep 2024\",\n  \"Type\": \"Vulnerability\"\n}\n\ud83d\udd39 t.me/cvedetector \ud83d\udd39", "creation_timestamp": "2024-09-23T21:20:15.000000Z"}, {"uuid": "7ed1c088-1fdf-4ba1-9800-89a3967dffca", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/8f88c0f51148030c0928bdea1255fe5f", "content": "diff --git a/.gitignore b/.gitignore\nindex 7f21d1e..579e78e 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -4,6 +4,7 @@\n *.sqlite3*\n *.db\n *.toml\n+!config.example.toml\n tags\n .gitmodules\n coverage.out\ndiff --git a/README.md b/README.md\nindex 57102d1..84a024e 100644\n--- a/README.md\n+++ b/README.md\n@@ -90,8 +90,9 @@ Vuls is a tool created to solve the problems listed above. It has the following\n   - [US-CERT](https://www.us-cert.gov/ncas/alerts)\n   - [JPCERT](http://www.jpcert.or.jp/at/2019.html)\n \n-- CISA(Cybersecurity &amp; Infrastructure Security Agency)\n+- KEV(Known Exploited Vulnerabilities)\n   - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n+  - [VulnCheck Known Exploited Vulnerabilities](https://vulncheck.com/kev)\n \n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\n@@ -166,6 +167,18 @@ Vuls has some options to detect the vulnerabilities\n - Email and Slack notification is possible (supports Japanese language)\n - Scan result is viewable on accessory software, TUI Viewer in a terminal or Web UI ([VulsRepo](https://github.com/ishiDACo/vulsrepo)).\n \n+## Example config\n+\n+Use [`config.example.toml`](config.example.toml) as a ready-to-edit starting point. It includes the `kevuln` database configuration so reports can populate first-class `kevs` entries in scan results.\n+\n+```toml\n+[kevuln]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+```\n+\n+See [`sample-kev-scan-result.json`](sample-kev-scan-result.json) for an example vulnerability with the new `kevs` field populated from CISA and VulnCheck KEV sources.\n+\n ----\n \n ## What Vuls Doesn't Do\ndiff --git a/config.example.toml b/config.example.toml\nnew file mode 100644\nindex 0000000..f2e1195\n--- /dev/null\n+++ b/config.example.toml\n@@ -0,0 +1,39 @@\n+[cveDict]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/cve.sqlite3\"\n+\n+[ovalDict]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/oval.sqlite3\"\n+\n+[gost]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/gost.sqlite3\"\n+\n+[exploit]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/go-exploitdb.sqlite3\"\n+\n+[metasploit]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/go-msfdb.sqlite3\"\n+\n+[kevuln]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+\n+[cti]\n+type = \"sqlite3\"\n+SQLite3Path = \"/var/lib/vuls/go-cti.sqlite3\"\n+\n+[default]\n+user = \"vuls\"\n+port = \"22\"\n+keyPath = \"/home/vuls/.ssh/id_rsa\"\n+scanMode = [\"fast-root\"]\n+scanModules = [\"ospkg\"]\n+\n+[servers]\n+\n+[servers.example]\n+host = \"192.0.2.10\"\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..fb9faae 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -6,6 +6,7 @@ package detector\n import (\n \t\"encoding/json\"\n \t\"net/http\"\n+\t\"reflect\"\n \t\"time\"\n \n \t\"github.com/cenkalti/backoff\"\n@@ -78,22 +79,16 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\tif err := json.Unmarshal([]byte(res.json), &amp;kevulns); err != nil {\n \t\t\t\treturn err\n \t\t\t}\n-\n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n+\t\t\tif len(kevulns) == 0 {\n+\t\t\t\tcontinue\n \t\t\t}\n \n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n \t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n+\t\t\t\tv.KEVs = append(v.KEVs, convertKEVulns(kevulns)...)\n \t\t\t\tnKEV++\n+\t\t\t\tr.ScannedCves[res.request.cveID] = v\n \t\t\t}\n-\t\t\tr.ScannedCves[res.request.cveID] = v\n \t\t}\n \t} else {\n \t\tfor cveID, vuln := range r.ScannedCves {\n@@ -108,16 +103,7 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n-\t\t\tvuln.AlertDict.CISA = alerts\n+\t\t\tvuln.KEVs = append(vuln.KEVs, convertKEVulns(kevulns)...)\n \t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n@@ -127,6 +113,79 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+func convertKEVulns(kevulns []kevulnmodels.KEVuln) (kevs []models.KEV) {\n+\tfor _, kevuln := range kevulns {\n+\t\tkevs = append(kevs, convertKEVuln(kevuln))\n+\t}\n+\treturn kevs\n+}\n+\n+func convertKEVuln(kevuln kevulnmodels.KEVuln) models.KEV {\n+\treturn models.KEV{\n+\t\tType:                       models.CISAKEVType,\n+\t\tVendorProject:              stringField(kevuln, \"VendorProject\"),\n+\t\tProduct:                    stringField(kevuln, \"Product\"),\n+\t\tVulnerabilityName:          stringField(kevuln, \"VulnerabilityName\"),\n+\t\tShortDescription:           stringField(kevuln, \"ShortDescription\"),\n+\t\tRequiredAction:             stringField(kevuln, \"RequiredAction\"),\n+\t\tKnownRansomwareCampaignUse: stringField(kevuln, \"KnownRansomwareCampaignUse\"),\n+\t\tDateAdded:                  timeField(kevuln, \"DateAdded\"),\n+\t\tDueDate:                    timePtrField(kevuln, \"DueDate\"),\n+\t\tCISA:                       &amp;models.CISAKEV{Note: stringField(kevuln, \"Notes\", \"Note\")},\n+\t}\n+}\n+\n+func stringField(v any, names ...string) string {\n+\tvalue := reflect.Indirect(reflect.ValueOf(v))\n+\tif !value.IsValid() {\n+\t\treturn \"\"\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := value.FieldByName(name)\n+\t\tif field.IsValid() &amp;&amp; field.Kind() == reflect.String {\n+\t\t\treturn field.String()\n+\t\t}\n+\t}\n+\treturn \"\"\n+}\n+\n+func timeField(v any, name string) time.Time {\n+\tvalue := reflect.Indirect(reflect.ValueOf(v))\n+\tif !value.IsValid() {\n+\t\treturn time.Time{}\n+\t}\n+\tfield := value.FieldByName(name)\n+\tif field.IsValid() &amp;&amp; field.Type() == reflect.TypeOf(time.Time{}) {\n+\t\treturn field.Interface().(time.Time)\n+\t}\n+\treturn time.Time{}\n+}\n+\n+func timePtrField(v any, name string) *time.Time {\n+\tvalue := reflect.Indirect(reflect.ValueOf(v))\n+\tif !value.IsValid() {\n+\t\treturn nil\n+\t}\n+\tfield := value.FieldByName(name)\n+\tif !field.IsValid() {\n+\t\treturn nil\n+\t}\n+\tif field.Type() == reflect.TypeOf(&amp;time.Time{}) {\n+\t\tif field.IsNil() {\n+\t\t\treturn nil\n+\t\t}\n+\t\treturn field.Interface().(*time.Time)\n+\t}\n+\tif field.Type() == reflect.TypeOf(time.Time{}) {\n+\t\tt := field.Interface().(time.Time)\n+\t\tif t.IsZero() {\n+\t\t\treturn nil\n+\t\t}\n+\t\treturn &amp;t\n+\t}\n+\treturn nil\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/models/kev_scanresults_additional_test.go b/models/kev_scanresults_additional_test.go\nnew file mode 100644\nindex 0000000..4b911a4\n--- /dev/null\n+++ b/models/kev_scanresults_additional_test.go\n@@ -0,0 +1,51 @@\n+package models\n+\n+import (\n+\t\"reflect\"\n+\t\"testing\"\n+)\n+\n+func TestScanResult_FormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{ScannedCves: VulnInfos{\n+\t\t\"CVE-2024-0001\": VulnInfo{KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\"CVE-2024-0002\": VulnInfo{KEVs: []KEV{{Type: CISAKEVType}, {Type: VulnCheckKEVType}}},\n+\t\t\"CVE-2024-0003\": {},\n+\t}}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"FormatKEVCveSummary() = %q, want %q\", got, want)\n+\t}\n+}\n+\n+func TestScanResult_SortForJSONOutputKEVs(t *testing.T) {\n+\tr := ScanResult{ScannedCves: VulnInfos{\n+\t\t\"CVE-2024-0001\": VulnInfo{KEVs: []KEV{\n+\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z\"},\n+\t\t\t{Type: CISAKEVType, VulnerabilityName: \"b\"},\n+\t\t\t{Type: CISAKEVType, VulnerabilityName: \"a\"},\n+\t\t}},\n+\t}}\n+\n+\tr.SortForJSONOutput()\n+\n+\tgot := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twant := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"a\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"b\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z\"},\n+\t}\n+\tif !reflect.DeepEqual(got, want) {\n+\t\tt.Fatalf(\"KEVs after SortForJSONOutput() = %#v, want %#v\", got, want)\n+\t}\n+}\n+\n+func TestAlertDictIgnoresLegacyCISAForSummary(t *testing.T) {\n+\talertDict := AlertDict{CISA: []Alert{{Title: \"legacy\"}}}\n+\n+\tif !alertDict.IsEmpty() {\n+\t\tt.Fatal(\"AlertDict.IsEmpty() should ignore legacy CISA alerts\")\n+\t}\n+\tif got := alertDict.FormatSource(); got != \"\" {\n+\t\tt.Fatalf(\"AlertDict.FormatSource() = %q, want empty\", got)\n+\t}\n+}\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..df60c1e 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,11 +197,12 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n \t\tr.FormatAlertSummary(),\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of KEV cve.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -425,6 +433,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \n \t\tv.CveContents.Sort()\n \n@@ -434,9 +448,6 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.AlertDict.JPCERT, func(i, j int) bool {\n \t\t\treturn v.AlertDict.JPCERT[i].Title &lt; v.AlertDict.JPCERT[j].Title\n \t\t})\n-\t\tsort.Slice(v.AlertDict.CISA, func(i, j int) bool {\n-\t\t\treturn v.AlertDict.CISA[i].Title &lt; v.AlertDict.CISA[j].Title\n-\t\t})\n \t\tr.ScannedCves[k] = v\n \t}\n }\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..dd784b2 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -267,6 +267,7 @@ type VulnInfo struct {\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n \tCtis                 []string             `json:\"ctis,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tAlertDict            AlertDict            `json:\"alertDict,omitempty\"`\n \tCpeURIs              []string             `json:\"cpeURIs,omitempty\"` // CpeURIs related to this CVE defined in config.toml\n \tGitHubSecurityAlerts GitHubSecurityAlerts `json:\"gitHubSecurityAlerts,omitempty\"`\n@@ -277,6 +278,58 @@ type VulnInfo struct {\n \tDiffStatus           DiffStatus           `json:\"diffStatus,omitempty\"`\n }\n \n+// KEVType is the source of Known Exploited Vulnerability data.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType identifies CISA Known Exploited Vulnerabilities Catalog data.\n+\tCISAKEVType KEVType = \"cisa\"\n+\n+\t// VulnCheckKEVType identifies VulnCheck Known Exploited Vulnerabilities data.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerability information.\n+type KEV struct {\n+\tType                           KEVType       `json:\"type,omitempty\"`\n+\tVendorProject                  string        `json:\"vendorProject,omitempty\"`\n+\tProduct                        string        `json:\"product,omitempty\"`\n+\tVulnerabilityName              string        `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription               string        `json:\"shortDescription,omitempty\"`\n+\tRequiredAction                 string        `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse     string        `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                      time.Time     `json:\"dateAdded,omitempty\"`\n+\tDueDate                        *time.Time    `json:\"dueDate,omitempty\"`\n+\tCISA                           *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                      *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV fields.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV fields.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck exploit database information.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded,omitempty\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation information.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded,omitempty\"`\n+}\n+\n // Alert has CERT alert information\n type Alert struct {\n \tURL   string `json:\"url,omitempty\"`\n@@ -910,7 +963,7 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data\n type AlertDict struct {\n \tCISA   []Alert `json:\"cisa\"`\n \tJPCERT []Alert `json:\"jpcert\"`\n@@ -919,15 +972,12 @@ type AlertDict struct {\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..703e9c8 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -202,6 +202,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.ScannedCves.FormatCveSummary(),\n \t\t\t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n@@ -565,10 +566,6 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n-\t\t}\n-\n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\n \t\t\tdata = append(data, []string{\"JPCERT Alert\", alert.URL})\n \t\t}\ndiff --git a/sample-kev-scan-result.json b/sample-kev-scan-result.json\nnew file mode 100644\nindex 0000000..05d0925\n--- /dev/null\n+++ b/sample-kev-scan-result.json\n@@ -0,0 +1,58 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"example\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scannedCves\": {\n+    \"CVE-2023-20198\": {\n+      \"cveID\": \"CVE-2023-20198\",\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"Cisco\",\n+          \"product\": \"IOS XE\",\n+          \"vulnerabilityName\": \"Cisco IOS XE Web UI Privilege Escalation Vulnerability\",\n+          \"shortDescription\": \"Cisco IOS XE Web UI contains a privilege escalation vulnerability that allows an unauthenticated, remote attacker to create an account on an affected system with privilege level 15 access.\",\n+          \"requiredAction\": \"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+          \"dueDate\": \"2023-10-20T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"Cisco\",\n+          \"product\": \"IOS XE\",\n+          \"vulnerabilityName\": \"Cisco IOS XE Web UI Privilege Escalation Vulnerability\",\n+          \"shortDescription\": \"VulnCheck reports public exploit activity for Cisco IOS XE Web UI privilege escalation.\",\n+          \"requiredAction\": \"Apply vendor remediation guidance.\",\n+          \"knownRansomwareCampaignUse\": \"Unknown\",\n+          \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"XDB-123456\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/XDB-123456\",\n+                \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+                \"exploitType\": \"initial-access\",\n+                \"cloneSSHURL\": \"git@github.com:vulncheck/xdb.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://vulncheck.com/blog/cisco-ios-xe-exploitation\",\n+                \"dateAdded\": \"2023-10-16T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ]\n+    }\n+  },\n+  \"packages\": {}\n+}\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..80afe95 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,16 +812,6 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n-\t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n-\t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n-\t\t\t}\n-\t\t}\n-\n \t\tif len(vinfo.AlertDict.USCERT) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n \t\t\t\t\"USCERT Alert\",\n", "creation_timestamp": "2026-07-03T09:17:40.430031Z"}, {"uuid": "826cce20-0145-4b02-80fa-63adac95ff95", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/f6b072155c78c5ecb56abf7e438e24b1", "content": "diff --git a/README.md b/README.md\nindex 57102d1..1cb1e06 100644\n--- a/README.md\n+++ b/README.md\n@@ -92,6 +92,7 @@ Vuls is a tool created to solve the problems listed above. It has the following\n \n - CISA(Cybersecurity &amp; Infrastructure Security Agency)\n   - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n+  - See [`example-config.toml.example`](example-config.toml.example) for a ready-to-use KEV reporting configuration.\n \n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..e5a45da 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -74,24 +74,17 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\treturn err\n \t\t}\n \t\tfor _, res := range responses {\n-\t\t\tkevulns := []kevulnmodels.KEVuln{}\n-\t\t\tif err := json.Unmarshal([]byte(res.json), &amp;kevulns); err != nil {\n+\t\t\tkevs := []models.KEV{}\n+\t\t\tif err := json.Unmarshal([]byte(res.json), &amp;kevs); err != nil {\n \t\t\t\treturn err\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n \t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n-\t\t\t\tnKEV++\n+\t\t\t\tv.KEVs = normalizeKEVs(kevs)\n+\t\t\t\tif len(v.KEVs) &gt; 0 {\n+\t\t\t\t\tnKEV++\n+\t\t\t\t}\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n \t\t}\n@@ -108,16 +101,7 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n-\t\t\tvuln.AlertDict.CISA = alerts\n+\t\t\tvuln.KEVs = toKEVs(kevulns)\n \t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n@@ -127,6 +111,34 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+func toKEVs(kevulns []kevulnmodels.KEVuln) []models.KEV {\n+\tbs, err := json.Marshal(kevulns)\n+\tif err != nil {\n+\t\treturn nil\n+\t}\n+\n+\tkevs := []models.KEV{}\n+\tif err := json.Unmarshal(bs, &amp;kevs); err != nil {\n+\t\treturn nil\n+\t}\n+\treturn normalizeKEVs(kevs)\n+}\n+\n+func normalizeKEVs(kevs []models.KEV) []models.KEV {\n+\tfor i := range kevs {\n+\t\tif kevs[i].Type == \"\" {\n+\t\t\tkevs[i].Type = models.CISAKEVType\n+\t\t}\n+\t\tif kevs[i].Type == models.CISAKEVType &amp;&amp; kevs[i].CISA == nil {\n+\t\t\tkevs[i].CISA = &amp;models.CISAKEV{}\n+\t\t}\n+\t\tif kevs[i].Type == models.VulnCheckKEVType &amp;&amp; kevs[i].VulnCheck == nil {\n+\t\t\tkevs[i].VulnCheck = &amp;models.VulnCheckKEV{}\n+\t\t}\n+\t}\n+\treturn kevs\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/example-config.toml.example b/example-config.toml.example\nnew file mode 100644\nindex 0000000..ca42bf9\n--- /dev/null\n+++ b/example-config.toml.example\n@@ -0,0 +1,41 @@\n+# Example Vuls configuration with KEV reporting enabled.\n+# Rename or pass this file as config.toml after updating host/user/keyPath and database paths.\n+\n+[cveDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/cve.sqlite3\"\n+\n+[ovalDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/oval.sqlite3\"\n+\n+[gost]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/gost.sqlite3\"\n+\n+[exploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-exploitdb.sqlite3\"\n+\n+[metasploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-msfdb.sqlite3\"\n+\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+\n+[cti]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-cti.sqlite3\"\n+\n+[default]\n+scanMode = [\"fast\"]\n+\n+[servers]\n+\n+[servers.example]\n+host = \"192.0.2.10\"\n+user = \"vuls\"\n+port = \"22\"\n+keyPath = \"/home/vuls/.ssh/id_rsa\"\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..11f6cbd 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,13 +197,14 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatAlertSummary(),\n \t\tpkgs)\n }\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of CVEs with KEV entries.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -425,6 +433,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \n \t\tv.CveContents.Sort()\n \ndiff --git a/models/scanresults_kev_test.go b/models/scanresults_kev_test.go\nnew file mode 100644\nindex 0000000..f7bbc10\n--- /dev/null\n+++ b/models/scanresults_kev_test.go\n@@ -0,0 +1,45 @@\n+package models\n+\n+import \"testing\"\n+\n+func TestScanResult_FormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\t\"CVE-2024-0002\": {},\n+\t\t\t\"CVE-2024-0003\": {KEVs: []KEV{{Type: VulnCheckKEVType}}},\n+\t\t},\n+\t}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"FormatKEVCveSummary() = %q, want %q\", got, want)\n+\t}\n+}\n+\n+func TestScanResult_SortForJSONOutputKEVs(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {\n+\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"beta\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"gamma\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"alpha\"},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tr.SortForJSONOutput()\n+\n+\tgot := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twant := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"alpha\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"gamma\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"beta\"},\n+\t}\n+\tfor i := range want {\n+\t\tif got[i].Type != want[i].Type || got[i].VulnerabilityName != want[i].VulnerabilityName {\n+\t\t\tt.Fatalf(\"KEVs[%d] = %+v, want %+v\", i, got[i], want[i])\n+\t\t}\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..046f636 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -263,6 +263,7 @@ type VulnInfo struct {\n \tAffectedPackages     PackageFixStatuses   `json:\"affectedPackages,omitempty\"`\n \tDistroAdvisories     DistroAdvisories     `json:\"distroAdvisories,omitempty\"` // for Amazon, RHEL, Fedora, FreeBSD, Microsoft\n \tCveContents          CveContents          `json:\"cveContents,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tExploits             []Exploit            `json:\"exploits,omitempty\"`\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n@@ -277,6 +278,58 @@ type VulnInfo struct {\n \tDiffStatus           DiffStatus           `json:\"diffStatus,omitempty\"`\n }\n \n+// KEVType identifies a known-exploited-vulnerability data source.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType identifies CISA KEV catalog entries.\n+\tCISAKEVType KEVType = \"cisa\"\n+\n+\t// VulnCheckKEVType identifies VulnCheck KEV entries.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerability information.\n+type KEV struct {\n+\tType                          KEVType       `json:\"type,omitempty\"`\n+\tVendorProject                 string        `json:\"vendorProject,omitempty\"`\n+\tProduct                       string        `json:\"product,omitempty\"`\n+\tVulnerabilityName             string        `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription              string        `json:\"shortDescription,omitempty\"`\n+\tRequiredAction                string        `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse    string        `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                     time.Time     `json:\"dateAdded,omitempty\"`\n+\tDueDate                       *time.Time    `json:\"dueDate,omitempty\"`\n+\tCISA                          *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                     *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV information.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV information.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck exploit database information.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded,omitempty\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation information.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded,omitempty\"`\n+}\n+\n // Alert has CERT alert information\n type Alert struct {\n \tURL   string `json:\"url,omitempty\"`\n@@ -910,8 +963,9 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data.\n type AlertDict struct {\n+\t// CISA is kept for compatibility with older result JSON. KEV data belongs in VulnInfo.KEVs.\n \tCISA   []Alert `json:\"cisa\"`\n \tJPCERT []Alert `json:\"jpcert\"`\n \tUSCERT []Alert `json:\"uscert\"`\n@@ -919,15 +973,12 @@ type AlertDict struct {\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..ef406ba 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -204,6 +204,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n \t\t\t}\n \t\t} else {\n@@ -565,8 +566,10 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n+\t\tfor _, kev := range vuln.KEVs {\n+\t\t\tif kev.Type == models.CISAKEVType {\n+\t\t\t\tdata = append(data, []string{\"CISA KEV\", \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\"})\n+\t\t\t}\n \t\t}\n \n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\ndiff --git a/sample-kev-scan-result.json b/sample-kev-scan-result.json\nnew file mode 100644\nindex 0000000..c970b74\n--- /dev/null\n+++ b/sample-kev-scan-result.json\n@@ -0,0 +1,60 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"example\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scannedCves\": {\n+    \"CVE-2024-3094\": {\n+      \"cveID\": \"CVE-2024-3094\",\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"XZ Utils\",\n+          \"product\": \"XZ Utils\",\n+          \"vulnerabilityName\": \"XZ Utils Embedded Malicious Code Vulnerability\",\n+          \"shortDescription\": \"XZ Utils contains malicious code that may allow unauthorized access to affected systems.\",\n+          \"requiredAction\": \"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.\",\n+          \"knownRansomwareCampaignUse\": \"Unknown\",\n+          \"dateAdded\": \"2024-04-01T00:00:00Z\",\n+          \"dueDate\": \"2024-04-22T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"XZ Utils\",\n+          \"product\": \"XZ Utils\",\n+          \"vulnerabilityName\": \"XZ Utils Embedded Malicious Code Vulnerability\",\n+          \"shortDescription\": \"VulnCheck reports exploitation intelligence for CVE-2024-3094.\",\n+          \"requiredAction\": \"Review vendor guidance and threat intelligence references.\",\n+          \"knownRansomwareCampaignUse\": \"Unknown\",\n+          \"dateAdded\": \"2024-04-01T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"XDB-123456\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/XDB-123456\",\n+                \"dateAdded\": \"2024-04-01T00:00:00Z\",\n+                \"exploitType\": \"infoleak\",\n+                \"cloneSSHURL\": \"git@github.com:example/xz-cve-2024-3094.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://example.com/research/cve-2024-3094\",\n+                \"dateAdded\": \"2024-04-01T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ]\n+    }\n+  },\n+  \"packages\": {},\n+  \"errors\": [],\n+  \"warnings\": []\n+}\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..9a9e13c 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,13 +812,17 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n+\t\tif len(vinfo.KEVs) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n+\t\t\t\t\"Known Exploited Vulnerabilities\",\n+\t\t\t\t\"===============================\",\n \t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n+\t\t\tfor _, kev := range vinfo.KEVs {\n+\t\t\t\tname := kev.VulnerabilityName\n+\t\t\t\tif name == \"\" {\n+\t\t\t\t\tname = string(kev.Type)\n+\t\t\t\t}\n+\t\t\t\tlines = append(lines, fmt.Sprintf(\"* %s: %s\", kev.Type, name))\n \t\t\t}\n \t\t}\n \n", "creation_timestamp": "2026-07-03T11:02:08.134022Z"}, {"uuid": "09e45383-dfd0-45ed-bf76-462b3393f6eb", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/f84d5c409f0a00a969618f67f57c2f91", "content": "diff --git a/README.md b/README.md\nindex 57102d1..6e977b0 100644\n--- a/README.md\n+++ b/README.md\n@@ -93,6 +93,11 @@ Vuls is a tool created to solve the problems listed above. It has the following\n - CISA(Cybersecurity &amp; Infrastructure Security Agency)\n   - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n \n+- KEV(Known Exploited Vulnerabilities)\n+  - CISA and VulnCheck KEV entries are reported on each vulnerability as `kevs`\n+  - Example config: [examples/config-kev.toml](examples/config-kev.toml)\n+  - Example scan result: [examples/scan-result-kev.json](examples/scan-result-kev.json)\n+\n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\n \ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..35c9047 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -6,6 +6,8 @@ package detector\n import (\n \t\"encoding/json\"\n \t\"net/http\"\n+\t\"reflect\"\n+\t\"strings\"\n \t\"time\"\n \n \t\"github.com/cenkalti/backoff\"\n@@ -79,18 +81,9 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\treturn err\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n-\t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n+\t\t\tif ok &amp;&amp; len(kevulns) &gt; 0 {\n+\t\t\t\tv.KEVs = toKEVs(kevulns)\n \t\t\t\tnKEV++\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n@@ -108,16 +101,7 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n-\t\t\tvuln.AlertDict.CISA = alerts\n+\t\t\tvuln.KEVs = toKEVs(kevulns)\n \t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n@@ -127,6 +111,170 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+func toKEVs(kevulns []kevulnmodels.KEVuln) []models.KEV {\n+\tkevs := make([]models.KEV, 0, len(kevulns))\n+\tfor _, kevuln := range kevulns {\n+\t\tkevs = append(kevs, toKEV(kevuln))\n+\t}\n+\treturn kevs\n+}\n+\n+func toKEV(kevuln kevulnmodels.KEVuln) models.KEV {\n+\tv := reflect.ValueOf(kevuln)\n+\tkev := models.KEV{\n+\t\tType:                       kevType(v),\n+\t\tVendorProject:              stringField(v, \"VendorProject\", \"Vendor\"),\n+\t\tProduct:                    stringField(v, \"Product\"),\n+\t\tVulnerabilityName:          stringField(v, \"VulnerabilityName\", \"Name\"),\n+\t\tShortDescription:           stringField(v, \"ShortDescription\", \"Description\"),\n+\t\tRequiredAction:             stringField(v, \"RequiredAction\"),\n+\t\tKnownRansomwareCampaignUse: stringField(v, \"KnownRansomwareCampaignUse\"),\n+\t\tDateAdded:                  timeField(v, \"DateAdded\"),\n+\t}\n+\n+\tif dueDate, ok := timePtrField(v, \"DueDate\"); ok {\n+\t\tkev.DueDate = dueDate\n+\t}\n+\tif note := stringField(v, \"Note\", \"Notes\"); note != \"\" {\n+\t\tkev.CISA = &amp;models.CISAKEV{Note: note}\n+\t}\n+\tif vulnCheck := vulnCheckKEV(v); vulnCheck != nil {\n+\t\tkev.Type = models.VulnCheckKEVType\n+\t\tkev.VulnCheck = vulnCheck\n+\t}\n+\tif kev.Type == \"\" {\n+\t\tkev.Type = models.CISAKEVType\n+\t}\n+\treturn kev\n+}\n+\n+func kevType(v reflect.Value) models.KEVType {\n+\tt := strings.ToLower(stringField(v, \"Type\", \"Source\"))\n+\tswitch {\n+\tcase strings.Contains(t, string(models.VulnCheckKEVType)):\n+\t\treturn models.VulnCheckKEVType\n+\tdefault:\n+\t\treturn models.CISAKEVType\n+\t}\n+}\n+\n+func vulnCheckKEV(v reflect.Value) *models.VulnCheckKEV {\n+\tvulnCheck := models.VulnCheckKEV{\n+\t\tXDB:                  vulnCheckXDBs(sliceField(v, \"XDB\", \"XDBs\")),\n+\t\tReportedExploitation: vulnCheckReportedExploitations(sliceField(v, \"ReportedExploitation\", \"ReportedExploitations\")),\n+\t}\n+\tif len(vulnCheck.XDB) == 0 &amp;&amp; len(vulnCheck.ReportedExploitation) == 0 {\n+\t\treturn nil\n+\t}\n+\treturn &amp;vulnCheck\n+}\n+\n+func vulnCheckXDBs(v reflect.Value) []models.VulnCheckXDB {\n+\tif !v.IsValid() || v.Kind() != reflect.Slice {\n+\t\treturn nil\n+\t}\n+\txdbs := make([]models.VulnCheckXDB, 0, v.Len())\n+\tfor i := 0; i &lt; v.Len(); i++ {\n+\t\te := v.Index(i)\n+\t\txdb := models.VulnCheckXDB{\n+\t\t\tXDBID:       stringField(e, \"XDBID\", \"ID\"),\n+\t\t\tXDBURL:      stringField(e, \"XDBURL\", \"URL\"),\n+\t\t\tDateAdded:   timeField(e, \"DateAdded\"),\n+\t\t\tExploitType: stringField(e, \"ExploitType\"),\n+\t\t\tCloneSSHURL: stringField(e, \"CloneSSHURL\"),\n+\t\t}\n+\t\tif xdb.XDBID != \"\" || xdb.XDBURL != \"\" || !xdb.DateAdded.IsZero() || xdb.ExploitType != \"\" || xdb.CloneSSHURL != \"\" {\n+\t\t\txdbs = append(xdbs, xdb)\n+\t\t}\n+\t}\n+\treturn xdbs\n+}\n+\n+func vulnCheckReportedExploitations(v reflect.Value) []models.VulnCheckReportedExploitation {\n+\tif !v.IsValid() || v.Kind() != reflect.Slice {\n+\t\treturn nil\n+\t}\n+\treported := make([]models.VulnCheckReportedExploitation, 0, v.Len())\n+\tfor i := 0; i &lt; v.Len(); i++ {\n+\t\te := v.Index(i)\n+\t\treport := models.VulnCheckReportedExploitation{\n+\t\t\tURL:       stringField(e, \"URL\"),\n+\t\t\tDateAdded: timeField(e, \"DateAdded\"),\n+\t\t}\n+\t\tif report.URL != \"\" || !report.DateAdded.IsZero() {\n+\t\t\treported = append(reported, report)\n+\t\t}\n+\t}\n+\treturn reported\n+}\n+\n+func stringField(v reflect.Value, names ...string) string {\n+\tfor _, name := range names {\n+\t\tf := fieldByName(v, name)\n+\t\tif f.IsValid() &amp;&amp; f.Kind() == reflect.String {\n+\t\t\treturn f.String()\n+\t\t}\n+\t}\n+\treturn \"\"\n+}\n+\n+func timeField(v reflect.Value, names ...string) time.Time {\n+\tfor _, name := range names {\n+\t\tf := fieldByName(v, name)\n+\t\tif f.IsValid() {\n+\t\t\tif t, ok := f.Interface().(time.Time); ok {\n+\t\t\t\treturn t\n+\t\t\t}\n+\t\t}\n+\t}\n+\treturn time.Time{}\n+}\n+\n+func timePtrField(v reflect.Value, names ...string) (*time.Time, bool) {\n+\tfor _, name := range names {\n+\t\tf := fieldByName(v, name)\n+\t\tif !f.IsValid() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif t, ok := f.Interface().(time.Time); ok &amp;&amp; !t.IsZero() {\n+\t\t\treturn &amp;t, true\n+\t\t}\n+\t\tif f.Kind() != reflect.Pointer || f.IsNil() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif t, ok := f.Interface().(*time.Time); ok &amp;&amp; t != nil &amp;&amp; !t.IsZero() {\n+\t\t\treturn t, true\n+\t\t}\n+\t}\n+\treturn nil, false\n+}\n+\n+func sliceField(v reflect.Value, names ...string) reflect.Value {\n+\tfor _, name := range names {\n+\t\tf := fieldByName(v, name)\n+\t\tif f.IsValid() &amp;&amp; f.Kind() == reflect.Slice {\n+\t\t\treturn f\n+\t\t}\n+\t}\n+\treturn reflect.Value{}\n+}\n+\n+func fieldByName(v reflect.Value, name string) reflect.Value {\n+\tif !v.IsValid() {\n+\t\treturn reflect.Value{}\n+\t}\n+\tif v.Kind() == reflect.Pointer {\n+\t\tif v.IsNil() {\n+\t\t\treturn reflect.Value{}\n+\t\t}\n+\t\tv = v.Elem()\n+\t}\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn reflect.Value{}\n+\t}\n+\treturn v.FieldByName(name)\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/examples/scan-result-kev.json b/examples/scan-result-kev.json\nnew file mode 100644\nindex 0000000..b98d637\n--- /dev/null\n+++ b/examples/scan-result-kev.json\n@@ -0,0 +1,93 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"web-01\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scanMode\": \"fast-root\",\n+  \"scannedVersion\": \"example\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"reportedVersion\": \"example\",\n+  \"errors\": [],\n+  \"warnings\": [],\n+  \"scannedCves\": {\n+    \"CVE-2023-34362\": {\n+      \"cveID\": \"CVE-2023-34362\",\n+      \"affectedPackages\": [\n+        {\n+          \"name\": \"moveit-transfer\",\n+          \"notFixedYet\": true\n+        }\n+      ],\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"Progress\",\n+          \"product\": \"MOVEit Transfer\",\n+          \"vulnerabilityName\": \"Progress MOVEit Transfer SQL Injection Vulnerability\",\n+          \"shortDescription\": \"Progress MOVEit Transfer contains a SQL injection vulnerability that allows an unauthenticated attacker to gain unauthorized access to the database.\",\n+          \"requiredAction\": \"Apply updates per vendor instructions or discontinue use if updates are unavailable.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-06-02T00:00:00Z\",\n+          \"dueDate\": \"2023-06-23T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"CISA Known Exploited Vulnerabilities Catalog entry.\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"Progress\",\n+          \"product\": \"MOVEit Transfer\",\n+          \"vulnerabilityName\": \"Progress MOVEit Transfer SQL Injection Vulnerability\",\n+          \"shortDescription\": \"Observed exploitation of the MOVEit Transfer SQL injection vulnerability.\",\n+          \"requiredAction\": \"Patch MOVEit Transfer and investigate for compromise.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-06-02T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"XDB-123456\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/XDB-123456\",\n+                \"dateAdded\": \"2023-06-05T00:00:00Z\",\n+                \"exploitType\": \"remote\",\n+                \"cloneSSHURL\": \"git@github.com:example/moveit-cve-2023-34362.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-158a\",\n+                \"dateAdded\": \"2023-06-07T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ],\n+      \"cveContents\": {\n+        \"nvd\": [\n+          {\n+            \"type\": \"nvd\",\n+            \"cveID\": \"CVE-2023-34362\",\n+            \"title\": \"CVE-2023-34362\",\n+            \"summary\": \"SQL injection vulnerability in MOVEit Transfer.\",\n+            \"cvss3Score\": 9.8,\n+            \"cvss3Severity\": \"CRITICAL\"\n+          }\n+        ]\n+      }\n+    }\n+  },\n+  \"packages\": {\n+    \"moveit-transfer\": {\n+      \"name\": \"moveit-transfer\",\n+      \"version\": \"2023.0.0\",\n+      \"release\": \"1\",\n+      \"newVersion\": \"2023.0.2\",\n+      \"newRelease\": \"1\"\n+    }\n+  },\n+  \"config\": {\n+    \"scan\": {},\n+    \"report\": {}\n+  }\n+}\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..56704e4 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,11 +197,12 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n \t\tr.FormatAlertSummary(),\n@@ -229,6 +230,17 @@ func (r ScanResult) FormatUpdatablePkgsSummary() string {\n \t\tnUpdatable)\n }\n \n+// FormatKEVCveSummary returns a summary of known exploited CVEs.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatExploitCveSummary returns a summary of exploit cve\n func (r ScanResult) FormatExploitCveSummary() string {\n \tnExploitCve := 0\n@@ -253,13 +265,9 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -422,6 +430,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Metasploits, func(i, j int) bool {\n \t\t\treturn v.Metasploits[i].Name &lt; v.Metasploits[j].Name\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\ndiff --git a/models/scanresults_kev_test.go b/models/scanresults_kev_test.go\nnew file mode 100644\nindex 0000000..00b05c3\n--- /dev/null\n+++ b/models/scanresults_kev_test.go\n@@ -0,0 +1,48 @@\n+package models\n+\n+import \"testing\"\n+\n+func TestScanResult_FormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": VulnInfo{KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\t\"CVE-2024-0002\": VulnInfo{KEVs: []KEV{{Type: CISAKEVType}, {Type: VulnCheckKEVType}}},\n+\t\t\t\"CVE-2024-0003\": VulnInfo{},\n+\t\t},\n+\t}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"got %q, want %q\", got, want)\n+\t}\n+}\n+\n+func TestScanResult_SortForJSONOutputKEVs(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": VulnInfo{\n+\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"b\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"b\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"a\"},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tr.SortForJSONOutput()\n+\n+\tgot := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twant := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"a\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"b\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"b\"},\n+\t}\n+\tif len(got) != len(want) {\n+\t\tt.Fatalf(\"got %d KEVs, want %d\", len(got), len(want))\n+\t}\n+\tfor i := range want {\n+\t\tif got[i] != want[i] {\n+\t\t\tt.Fatalf(\"got KEV[%d] %+v, want %+v\", i, got[i], want[i])\n+\t\t}\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..94111b0 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -265,6 +265,7 @@ type VulnInfo struct {\n \tCveContents          CveContents          `json:\"cveContents,omitempty\"`\n \tExploits             []Exploit            `json:\"exploits,omitempty\"`\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n \tCtis                 []string             `json:\"ctis,omitempty\"`\n \tAlertDict            AlertDict            `json:\"alertDict,omitempty\"`\n@@ -284,6 +285,58 @@ type Alert struct {\n \tTeam  string `json:\"team,omitempty\"`\n }\n \n+// KEVType represents a Known Exploited Vulnerability source.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType is the CISA Known Exploited Vulnerabilities catalog.\n+\tCISAKEVType KEVType = \"cisa\"\n+\n+\t// VulnCheckKEVType is the VulnCheck Known Exploited Vulnerabilities catalog.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerability information.\n+type KEV struct {\n+\tType                          KEVType        `json:\"type\"`\n+\tVendorProject                 string         `json:\"vendorProject,omitempty\"`\n+\tProduct                       string         `json:\"product,omitempty\"`\n+\tVulnerabilityName             string         `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription              string         `json:\"shortDescription,omitempty\"`\n+\tRequiredAction                string         `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse    string         `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                     time.Time      `json:\"dateAdded\"`\n+\tDueDate                       *time.Time     `json:\"dueDate,omitempty\"`\n+\tCISA                          *CISAKEV       `json:\"cisa,omitempty\"`\n+\tVulnCheck                     *VulnCheckKEV  `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV information.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV information.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck XDB exploit information.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation information.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded\"`\n+}\n+\n // GitHubSecurityAlerts is a list of GitHubSecurityAlert\n type GitHubSecurityAlerts []GitHubSecurityAlert\n \n@@ -910,24 +963,21 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data\n type AlertDict struct {\n-\tCISA   []Alert `json:\"cisa\"`\n+\tCISA   []Alert `json:\"cisa\"` // Deprecated: KEV data is stored in VulnInfo.KEVs.\n \tJPCERT []Alert `json:\"jpcert\"`\n \tUSCERT []Alert `json:\"uscert\"`\n }\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..23bf117 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -202,6 +202,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.ScannedCves.FormatCveSummary(),\n \t\t\t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n@@ -565,8 +566,8 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n+\t\tfor _, kev := range vuln.KEVs {\n+\t\t\tdata = append(data, []string{\"KEV\", string(kev.Type)})\n \t\t}\n \n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..1cf62c3 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,13 +812,13 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n+\t\tif len(vinfo.KEVs) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n+\t\t\t\t\"Known Exploited Vulnerabilities\",\n+\t\t\t\t\"===============================\",\n \t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n+\t\t\tfor _, kev := range vinfo.KEVs {\n+\t\t\t\tlines = append(lines, fmt.Sprintf(\"* %s: %s\", kev.Type, kev.VulnerabilityName))\n \t\t\t}\n \t\t}\n \n", "creation_timestamp": "2026-07-03T11:56:23.351200Z"}, {"uuid": "e978552a-8641-4921-aab7-b5208e2457c0", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/8549232c473ea8731bdd04dc9b41f773", "content": "diff --git a/README.md b/README.md\nindex 57102d1..f53637e 100644\n--- a/README.md\n+++ b/README.md\n@@ -90,8 +90,9 @@ Vuls is a tool created to solve the problems listed above. It has the following\n   - [US-CERT](https://www.us-cert.gov/ncas/alerts)\n   - [JPCERT](http://www.jpcert.or.jp/at/2019.html)\n \n-- CISA(Cybersecurity &amp; Infrastructure Security Agency)\n-  - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n+- Known Exploited Vulnerabilities\n+  - [CISA Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n+  - [VulnCheck KEV](https://vulncheck.com/)\n \n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\n@@ -179,6 +180,10 @@ Vuls has some options to detect the vulnerabilities\n For more information such as Installation, Tutorial, Usage, visit [vuls.io](https://vuls.io/)  \n [\u65e5\u672c\u8a9e\u7ffb\u8a33\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8](https://vuls.io/ja/)\n \n+## Example Configuration\n+\n+A ready-to-use configuration with KEV reporting enabled is available at [`config.example.toml`](config.example.toml). It includes the `[kevuln]` database section used to populate first-class `kevs` entries in scan result JSON.\n+\n ----\n \n ## Authors\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..d25678d 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -74,23 +74,17 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\treturn err\n \t\t}\n \t\tfor _, res := range responses {\n-\t\t\tkevulns := []kevulnmodels.KEVuln{}\n-\t\t\tif err := json.Unmarshal([]byte(res.json), &amp;kevulns); err != nil {\n+\t\t\tkevs, err := parseKEVs([]byte(res.json))\n+\t\t\tif err != nil {\n \t\t\t\treturn err\n \t\t\t}\n-\n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n+\t\t\tif len(kevs) == 0 {\n+\t\t\t\tcontinue\n \t\t\t}\n \n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n \t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n+\t\t\t\tv.KEVs = kevs\n \t\t\t\tnKEV++\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n@@ -108,16 +102,12 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n+\t\t\tkevs, err := convertKEVulns(kevulns)\n+\t\t\tif err != nil {\n+\t\t\t\treturn err\n \t\t\t}\n \n-\t\t\tvuln.AlertDict.CISA = alerts\n+\t\t\tvuln.KEVs = kevs\n \t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n@@ -127,6 +117,62 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+type rawKEV struct {\n+\tType                       models.KEVType       `json:\"type\"`\n+\tVendorProject              string               `json:\"vendorProject\"`\n+\tProduct                    string               `json:\"product\"`\n+\tVulnerabilityName          string               `json:\"vulnerabilityName\"`\n+\tShortDescription           string               `json:\"shortDescription\"`\n+\tRequiredAction             string               `json:\"requiredAction\"`\n+\tKnownRansomwareCampaignUse string               `json:\"knownRansomwareCampaignUse\"`\n+\tDateAdded                  time.Time            `json:\"dateAdded\"`\n+\tDueDate                    *time.Time           `json:\"dueDate\"`\n+\tNote                       string               `json:\"note\"`\n+\tCISA                       *models.CISAKEV      `json:\"cisa\"`\n+\tVulnCheck                  *models.VulnCheckKEV `json:\"vulncheck\"`\n+}\n+\n+func convertKEVulns(kevulns []kevulnmodels.KEVuln) ([]models.KEV, error) {\n+\tbs, err := json.Marshal(kevulns)\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\treturn parseKEVs(bs)\n+}\n+\n+func parseKEVs(bs []byte) ([]models.KEV, error) {\n+\tvar raws []rawKEV\n+\tif err := json.Unmarshal(bs, &amp;raws); err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\tkevs := make([]models.KEV, 0, len(raws))\n+\tfor _, raw := range raws {\n+\t\tkevType := raw.Type\n+\t\tif kevType == \"\" {\n+\t\t\tkevType = models.CISAKEVType\n+\t\t}\n+\t\tkev := models.KEV{\n+\t\t\tType:                       kevType,\n+\t\t\tVendorProject:              raw.VendorProject,\n+\t\t\tProduct:                    raw.Product,\n+\t\t\tVulnerabilityName:          raw.VulnerabilityName,\n+\t\t\tShortDescription:           raw.ShortDescription,\n+\t\t\tRequiredAction:             raw.RequiredAction,\n+\t\t\tKnownRansomwareCampaignUse: raw.KnownRansomwareCampaignUse,\n+\t\t\tDateAdded:                  raw.DateAdded,\n+\t\t\tDueDate:                    raw.DueDate,\n+\t\t\tCISA:                       raw.CISA,\n+\t\t\tVulnCheck:                  raw.VulnCheck,\n+\t\t}\n+\t\tif kev.Type == models.CISAKEVType &amp;&amp; kev.CISA == nil {\n+\t\t\tkev.CISA = &amp;models.CISAKEV{Note: raw.Note}\n+\t\t}\n+\t\tkevs = append(kevs, kev)\n+\t}\n+\treturn kevs, nil\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/examples/scan-result-kev.json b/examples/scan-result-kev.json\nnew file mode 100644\nindex 0000000..0c55367\n--- /dev/null\n+++ b/examples/scan-result-kev.json\n@@ -0,0 +1,76 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"example\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scanMode\": \"fast-root\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scannedCves\": {\n+    \"CVE-2023-3519\": {\n+      \"cveID\": \"CVE-2023-3519\",\n+      \"confidences\": [\n+        {\n+          \"score\": 100,\n+          \"detectionMethod\": \"OvalMatch\"\n+        }\n+      ],\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"Citrix\",\n+          \"product\": \"NetScaler ADC and NetScaler Gateway\",\n+          \"vulnerabilityName\": \"Citrix NetScaler ADC and NetScaler Gateway Code Injection Vulnerability\",\n+          \"shortDescription\": \"Citrix NetScaler ADC and NetScaler Gateway contain a code injection vulnerability that can result in unauthenticated remote code execution.\",\n+          \"requiredAction\": \"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-07-19T00:00:00Z\",\n+          \"dueDate\": \"2023-08-09T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"Citrix\",\n+          \"product\": \"NetScaler ADC and NetScaler Gateway\",\n+          \"vulnerabilityName\": \"Citrix NetScaler ADC and NetScaler Gateway Code Injection Vulnerability\",\n+          \"shortDescription\": \"VulnCheck reports public exploitation activity for CVE-2023-3519.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-07-19T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"xdb-123456\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/xdb-123456\",\n+                \"dateAdded\": \"2023-07-19T00:00:00Z\",\n+                \"exploitType\": \"initial-access\",\n+                \"cloneSSHURL\": \"git@github.com:vulncheck/xdb-123456.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://www.cisa.gov/news-events/alerts/2023/07/20/threat-actors-exploiting-citrix-cve-2023-3519-deliver-webshells\",\n+                \"dateAdded\": \"2023-07-20T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ],\n+      \"affectedPackages\": [\n+        {\n+          \"name\": \"citrix-adc\"\n+        }\n+      ]\n+    }\n+  },\n+  \"packages\": {\n+    \"citrix-adc\": {\n+      \"name\": \"citrix-adc\",\n+      \"version\": \"13.1\"\n+    }\n+  },\n+  \"errors\": [],\n+  \"warnings\": []\n+}\ndiff --git a/examples/tracking-issue-kev-sample.md b/examples/tracking-issue-kev-sample.md\nnew file mode 100644\nindex 0000000..dd9abbf\n--- /dev/null\n+++ b/examples/tracking-issue-kev-sample.md\n@@ -0,0 +1,5 @@\n+# KEV Scan Result Sample\n+\n+Sample output showing the new first-class `kevs` field is available at `examples/scan-result-kev.json`.\n+\n+The sample includes both `cisa` and `vulncheck` entries for `CVE-2023-3519` so reviewers can verify the JSON shape without parsing the legacy `alertDict.cisa` path.\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..1d8cb61 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,13 +197,14 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatAlertSummary(),\n \t\tpkgs)\n }\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of known exploited vulnerability CVEs.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -422,6 +430,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Metasploits, func(i, j int) bool {\n \t\t\treturn v.Metasploits[i].Name &lt; v.Metasploits[j].Name\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\ndiff --git a/models/scanresults_kev_test.go b/models/scanresults_kev_test.go\nnew file mode 100644\nindex 0000000..7704ef0\n--- /dev/null\n+++ b/models/scanresults_kev_test.go\n@@ -0,0 +1,65 @@\n+package models\n+\n+import \"testing\"\n+\n+func TestScanResult_FormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {\n+\t\t\t\tCveID: \"CVE-2024-0001\",\n+\t\t\t\tKEVs: []KEV{{Type: CISAKEVType}},\n+\t\t\t},\n+\t\t\t\"CVE-2024-0002\": {\n+\t\t\t\tCveID: \"CVE-2024-0002\",\n+\t\t\t\tKEVs: []KEV{{Type: VulnCheckKEVType}},\n+\t\t\t},\n+\t\t\t\"CVE-2024-0003\": {\n+\t\t\t\tCveID: \"CVE-2024-0003\",\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"FormatKEVCveSummary() = %q, want %q\", got, want)\n+\t}\n+}\n+\n+func TestScanResult_SortForJSONOutputKEVs(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {\n+\t\t\t\tCveID: \"CVE-2024-0001\",\n+\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vuln\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"b vuln\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"a vuln\"},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tr.SortForJSONOutput()\n+\tkevs := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twant := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"a vuln\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"b vuln\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vuln\"},\n+\t}\n+\tfor i := range want {\n+\t\tif kevs[i] != want[i] {\n+\t\t\tt.Fatalf(\"KEVs[%d] = %+v, want %+v\", i, kevs[i], want[i])\n+\t\t}\n+\t}\n+}\n+\n+func TestAlertDictCISAIsNotReported(t *testing.T) {\n+\ta := AlertDict{\n+\t\tCISA: []Alert{{Title: \"Known Exploited Vulnerabilities Catalog\"}},\n+\t}\n+\tif !a.IsEmpty() {\n+\t\tt.Fatal(\"AlertDict with only legacy CISA data should be empty\")\n+\t}\n+\tif got := a.FormatSource(); got != \"\" {\n+\t\tt.Fatalf(\"FormatSource() = %q, want empty\", got)\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..6165265 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -265,6 +265,7 @@ type VulnInfo struct {\n \tCveContents          CveContents          `json:\"cveContents,omitempty\"`\n \tExploits             []Exploit            `json:\"exploits,omitempty\"`\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n \tCtis                 []string             `json:\"ctis,omitempty\"`\n \tAlertDict            AlertDict            `json:\"alertDict,omitempty\"`\n@@ -284,6 +285,58 @@ type Alert struct {\n \tTeam  string `json:\"team,omitempty\"`\n }\n \n+// KEVType identifies the known exploited vulnerability source.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType is CISA KEV catalog data.\n+\tCISAKEVType KEVType = \"cisa\"\n+\n+\t// VulnCheckKEVType is VulnCheck KEV data.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has known exploited vulnerability information.\n+type KEV struct {\n+\tType                          KEVType       `json:\"type\"`\n+\tVendorProject                 string        `json:\"vendorProject,omitempty\"`\n+\tProduct                       string        `json:\"product,omitempty\"`\n+\tVulnerabilityName             string        `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription              string        `json:\"shortDescription,omitempty\"`\n+\tRequiredAction                string        `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse    string        `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                     time.Time     `json:\"dateAdded\"`\n+\tDueDate                       *time.Time    `json:\"dueDate,omitempty\"`\n+\tCISA                          *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                     *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV fields.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV fields.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck XDB exploit data.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation data.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded\"`\n+}\n+\n // GitHubSecurityAlerts is a list of GitHubSecurityAlert\n type GitHubSecurityAlerts []GitHubSecurityAlert\n \n@@ -910,8 +963,9 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data\n type AlertDict struct {\n+\t// Deprecated: CISA KEV data is stored in VulnInfo.KEVs.\n \tCISA   []Alert `json:\"cisa\"`\n \tJPCERT []Alert `json:\"jpcert\"`\n \tUSCERT []Alert `json:\"uscert\"`\n@@ -919,15 +973,12 @@ type AlertDict struct {\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..21a06d4 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -204,6 +204,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n \t\t\t}\n \t\t} else {\n@@ -565,8 +566,19 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n+\t\tfor _, kev := range vuln.KEVs {\n+\t\t\tdata = append(data, []string{\"KEV\", fmt.Sprintf(\"%s: %s\", kev.Type, kev.VulnerabilityName)})\n+\t\t\tif kev.CISA != nil &amp;&amp; kev.CISA.Note != \"\" {\n+\t\t\t\tdata = append(data, []string{\"KEV Note\", kev.CISA.Note})\n+\t\t\t}\n+\t\t\tif kev.VulnCheck != nil {\n+\t\t\t\tfor _, xdb := range kev.VulnCheck.XDB {\n+\t\t\t\t\tdata = append(data, []string{\"VulnCheck XDB\", xdb.XDBURL})\n+\t\t\t\t}\n+\t\t\t\tfor _, exploitation := range kev.VulnCheck.ReportedExploitation {\n+\t\t\t\t\tdata = append(data, []string{\"VulnCheck Exploitation\", exploitation.URL})\n+\t\t\t\t}\n+\t\t\t}\n \t\t}\n \n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..1cf62c3 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,13 +812,13 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n+\t\tif len(vinfo.KEVs) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n+\t\t\t\t\"Known Exploited Vulnerabilities\",\n+\t\t\t\t\"===============================\",\n \t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n+\t\t\tfor _, kev := range vinfo.KEVs {\n+\t\t\t\tlines = append(lines, fmt.Sprintf(\"* %s: %s\", kev.Type, kev.VulnerabilityName))\n \t\t\t}\n \t\t}\n \n", "creation_timestamp": "2026-07-03T13:03:18.026546Z"}, {"uuid": "3cd0ff93-8cd8-44c1-ac28-63b1ee3277e6", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/1c9083aaa45f7b445f2dfb3465efb086", "content": "diff --git a/README.md b/README.md\nindex 57102d1..c37f0be 100644\n--- a/README.md\n+++ b/README.md\n@@ -93,6 +93,9 @@ Vuls is a tool created to solve the problems listed above. It has the following\n - CISA(Cybersecurity &amp; Infrastructure Security Agency)\n   - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n \n+- VulnCheck\n+  - [Known Exploited Vulnerabilities](https://vulncheck.com/kev)\n+\n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\n \n@@ -179,6 +182,10 @@ Vuls has some options to detect the vulnerabilities\n For more information such as Installation, Tutorial, Usage, visit [vuls.io](https://vuls.io/)  \n [\u65e5\u672c\u8a9e\u7ffb\u8a33\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8](https://vuls.io/ja/)\n \n+## Example Config\n+\n+A synthetic ready-to-edit configuration is available at [config.toml.example](config.toml.example). It includes the `[kevuln]` database section needed to enrich scan results with CISA and VulnCheck KEV data. Replace placeholder paths and hosts with values from your environment; do not publish production `config.toml` values or secrets.\n+\n ----\n \n ## Authors\ndiff --git a/config.toml.example b/config.toml.example\nnew file mode 100644\nindex 0000000..647752d\n--- /dev/null\n+++ b/config.toml.example\n@@ -0,0 +1,43 @@\n+# Synthetic Vuls configuration example.\n+# Do not copy production config.toml values into this file.\n+\n+[cveDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/cve.sqlite3\"\n+\n+[ovalDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/oval.sqlite3\"\n+\n+[gost]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/gost.sqlite3\"\n+\n+[exploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-exploitdb.sqlite3\"\n+\n+[metasploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-msfdb.sqlite3\"\n+\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+\n+[cti]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-cti.sqlite3\"\n+\n+[default]\n+port = \"22\"\n+user = \"vuls\"\n+keyPath = \"/home/vuls/.ssh/id_rsa\"\n+scanMode = [\"fast-root\"]\n+scanModules = [\"ospkg\"]\n+\n+[servers]\n+\n+[servers.example-linux]\n+host = \"192.0.2.10\"\n+memo = \"Synthetic example host\"\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..d48bdcb 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -74,24 +74,19 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\treturn err\n \t\t}\n \t\tfor _, res := range responses {\n-\t\t\tkevulns := []kevulnmodels.KEVuln{}\n+\t\t\tkevulns := []json.RawMessage{}\n \t\t\tif err := json.Unmarshal([]byte(res.json), &amp;kevulns); err != nil {\n \t\t\t\treturn err\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n \t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n-\t\t\t\tnKEV++\n+\t\t\t\tfor _, kevuln := range kevulns {\n+\t\t\t\t\tv.KEVs = append(v.KEVs, convertKEVJSON(kevuln)...)\n+\t\t\t\t}\n+\t\t\t\tif len(kevulns) &gt; 0 {\n+\t\t\t\t\tnKEV++\n+\t\t\t\t}\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n \t\t}\n@@ -108,16 +103,7 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n-\t\t\tvuln.AlertDict.CISA = alerts\n+\t\t\tvuln.KEVs = convertKEVulns(kevulns)\n \t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n@@ -127,6 +113,106 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+func convertKEVulns(kevulns []kevulnmodels.KEVuln) (kevs []models.KEV) {\n+\tfor _, kevuln := range kevulns {\n+\t\tb, err := json.Marshal(kevuln)\n+\t\tif err != nil {\n+\t\t\tcontinue\n+\t\t}\n+\t\tkevs = append(kevs, convertKEVJSON(b)...)\n+\t}\n+\treturn kevs\n+}\n+\n+func convertKEVJSON(raw []byte) (kevs []models.KEV) {\n+\tvar entries []json.RawMessage\n+\tif err := json.Unmarshal(raw, &amp;entries); err == nil {\n+\t\tfor _, entry := range entries {\n+\t\t\tkevs = append(kevs, convertKEVJSON(entry)...)\n+\t\t}\n+\t\treturn kevs\n+\t}\n+\n+\tvar obj map[string]json.RawMessage\n+\tif err := json.Unmarshal(raw, &amp;obj); err != nil {\n+\t\treturn nil\n+\t}\n+\n+\tfor _, key := range []string{\"cisa\", \"CISA\"} {\n+\t\tif nested, ok := obj[key]; ok {\n+\t\t\tkevs = append(kevs, convertNestedKEVJSON(nested, models.CISAKEVType)...)\n+\t\t}\n+\t}\n+\tfor _, key := range []string{\"vulncheck\", \"vulnCheck\", \"VulnCheck\"} {\n+\t\tif nested, ok := obj[key]; ok {\n+\t\t\tkevs = append(kevs, convertNestedKEVJSON(nested, models.VulnCheckKEVType)...)\n+\t\t}\n+\t}\n+\tif len(kevs) &gt; 0 {\n+\t\treturn kevs\n+\t}\n+\n+\tvar kev models.KEV\n+\tif err := json.Unmarshal(raw, &amp;kev); err != nil || !hasKEVContent(kev) {\n+\t\treturn nil\n+\t}\n+\tif kev.Type == \"\" {\n+\t\tswitch {\n+\t\tcase kev.CISA != nil:\n+\t\t\tkev.Type = models.CISAKEVType\n+\t\tcase kev.VulnCheck != nil:\n+\t\t\tkev.Type = models.VulnCheckKEVType\n+\t\t}\n+\t}\n+\treturn []models.KEV{kev}\n+}\n+\n+func convertNestedKEVJSON(raw []byte, kevType models.KEVType) (kevs []models.KEV) {\n+\tvar entries []json.RawMessage\n+\tif err := json.Unmarshal(raw, &amp;entries); err == nil {\n+\t\tfor _, entry := range entries {\n+\t\t\tkevs = append(kevs, convertNestedKEVJSON(entry, kevType)...)\n+\t\t}\n+\t\treturn kevs\n+\t}\n+\n+\tvar kev models.KEV\n+\tif err := json.Unmarshal(raw, &amp;kev); err != nil {\n+\t\treturn nil\n+\t}\n+\tkev.Type = kevType\n+\tif kevType == models.CISAKEVType {\n+\t\tvar cisa models.CISAKEV\n+\t\tif err := json.Unmarshal(raw, &amp;cisa); err == nil &amp;&amp; cisa.Note != \"\" {\n+\t\t\tkev.CISA = &amp;cisa\n+\t\t}\n+\t}\n+\tif kevType == models.VulnCheckKEVType {\n+\t\tvar vulncheck models.VulnCheckKEV\n+\t\tif err := json.Unmarshal(raw, &amp;vulncheck); err == nil &amp;&amp; (len(vulncheck.XDB) &gt; 0 || len(vulncheck.ReportedExploitation) &gt; 0) {\n+\t\t\tkev.VulnCheck = &amp;vulncheck\n+\t\t}\n+\t}\n+\tif !hasKEVContent(kev) {\n+\t\treturn nil\n+\t}\n+\treturn []models.KEV{kev}\n+}\n+\n+func hasKEVContent(kev models.KEV) bool {\n+\treturn kev.Type != \"\" ||\n+\t\tkev.VendorProject != \"\" ||\n+\t\tkev.Product != \"\" ||\n+\t\tkev.VulnerabilityName != \"\" ||\n+\t\tkev.ShortDescription != \"\" ||\n+\t\tkev.RequiredAction != \"\" ||\n+\t\tkev.KnownRansomwareCampaignUse != \"\" ||\n+\t\t!kev.DateAdded.IsZero() ||\n+\t\tkev.DueDate != nil ||\n+\t\tkev.CISA != nil ||\n+\t\tkev.VulnCheck != nil\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..dd33cbf 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,13 +197,14 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatAlertSummary(),\n \t\tpkgs)\n }\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of KEV cves.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -425,6 +433,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \n \t\tv.CveContents.Sort()\n \ndiff --git a/models/scanresults_kev_sort_test.go b/models/scanresults_kev_sort_test.go\nnew file mode 100644\nindex 0000000..e8b86f9\n--- /dev/null\n+++ b/models/scanresults_kev_sort_test.go\n@@ -0,0 +1,48 @@\n+package models\n+\n+import \"testing\"\n+\n+func TestScanResult_SortForJSONOutput_KEVs(t *testing.T) {\n+\tr := &amp;ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {\n+\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vulncheck\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"b cisa\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"a cisa\"},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tr.SortForJSONOutput()\n+\n+\tkevs := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twants := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"a cisa\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"b cisa\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vulncheck\"},\n+\t}\n+\tif len(kevs) != len(wants) {\n+\t\tt.Fatalf(\"len(KEVs) = %d, want %d\", len(kevs), len(wants))\n+\t}\n+\tfor i, want := range wants {\n+\t\tif kevs[i] != want {\n+\t\t\tt.Fatalf(\"KEVs[%d] = %+v, want %+v\", i, kevs[i], want)\n+\t\t}\n+\t}\n+}\n+\n+func TestScanResult_FormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\t\"CVE-2024-0002\": {KEVs: []KEV{{Type: CISAKEVType}, {Type: VulnCheckKEVType}}},\n+\t\t\t\"CVE-2024-0003\": {},\n+\t\t},\n+\t}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"FormatKEVCveSummary() = %q, want %q\", got, want)\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..38c4b5f 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -263,6 +263,7 @@ type VulnInfo struct {\n \tAffectedPackages     PackageFixStatuses   `json:\"affectedPackages,omitempty\"`\n \tDistroAdvisories     DistroAdvisories     `json:\"distroAdvisories,omitempty\"` // for Amazon, RHEL, Fedora, FreeBSD, Microsoft\n \tCveContents          CveContents          `json:\"cveContents,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tExploits             []Exploit            `json:\"exploits,omitempty\"`\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n@@ -284,6 +285,58 @@ type Alert struct {\n \tTeam  string `json:\"team,omitempty\"`\n }\n \n+// KEVType represents the source of a Known Exploited Vulnerability entry.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType is a CISA Known Exploited Vulnerabilities Catalog entry.\n+\tCISAKEVType KEVType = \"cisa\"\n+\n+\t// VulnCheckKEVType is a VulnCheck Known Exploited Vulnerabilities entry.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerability information.\n+type KEV struct {\n+\tType                          KEVType       `json:\"type,omitempty\"`\n+\tVendorProject                 string        `json:\"vendorProject,omitempty\"`\n+\tProduct                       string        `json:\"product,omitempty\"`\n+\tVulnerabilityName             string        `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription              string        `json:\"shortDescription,omitempty\"`\n+\tRequiredAction                string        `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse    string        `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                     time.Time     `json:\"dateAdded,omitempty\"`\n+\tDueDate                       *time.Time    `json:\"dueDate,omitempty\"`\n+\tCISA                          *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                     *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV information.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV information.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck exploit database information.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded,omitempty\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation information.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded,omitempty\"`\n+}\n+\n // GitHubSecurityAlerts is a list of GitHubSecurityAlert\n type GitHubSecurityAlerts []GitHubSecurityAlert\n \n@@ -910,24 +963,21 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data\n type AlertDict struct {\n-\tCISA   []Alert `json:\"cisa\"`\n+\tCISA   []Alert `json:\"-\"`\n \tJPCERT []Alert `json:\"jpcert\"`\n \tUSCERT []Alert `json:\"uscert\"`\n }\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..e33c420 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -204,6 +204,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n \t\t\t}\n \t\t} else {\n@@ -518,6 +519,10 @@ No CVE-IDs are found in updatable packages.\n \t\t\tm[exploit.URL] = struct{}{}\n \t\t}\n \n+\t\tfor _, kev := range vuln.KEVs {\n+\t\t\tdata = append(data, []string{\"KEV\", fmt.Sprintf(\"%s: %s\", kev.Type, kev.VulnerabilityName)})\n+\t\t}\n+\n \t\tfor year, urls := range top10URLs {\n \t\t\tds := [][]string{}\n \t\t\tfor _, url := range urls {\n@@ -565,10 +570,6 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n-\t\t}\n-\n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\n \t\t\tdata = append(data, []string{\"JPCERT Alert\", alert.URL})\n \t\t}\ndiff --git a/sample-kev-scan-result.json b/sample-kev-scan-result.json\nnew file mode 100644\nindex 0000000..0190cbe\n--- /dev/null\n+++ b/sample-kev-scan-result.json\n@@ -0,0 +1,66 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"example-linux\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scannedCves\": {\n+    \"CVE-2023-34362\": {\n+      \"cveID\": \"CVE-2023-34362\",\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"Progress\",\n+          \"product\": \"MOVEit Transfer\",\n+          \"vulnerabilityName\": \"Progress MOVEit Transfer SQL Injection Vulnerability\",\n+          \"shortDescription\": \"Progress MOVEit Transfer contains a SQL injection vulnerability that can allow an unauthenticated attacker to gain unauthorized access.\",\n+          \"requiredAction\": \"Apply updates per vendor instructions.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-06-02T00:00:00Z\",\n+          \"dueDate\": \"2023-06-23T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"Synthetic sample based on public KEV catalog fields.\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"Progress\",\n+          \"product\": \"MOVEit Transfer\",\n+          \"vulnerabilityName\": \"Progress MOVEit Transfer SQL Injection Vulnerability\",\n+          \"shortDescription\": \"VulnCheck KEV sample entry showing exploit intelligence attached to the vulnerability.\",\n+          \"requiredAction\": \"Apply updates per vendor instructions.\",\n+          \"knownRansomwareCampaignUse\": \"Known\",\n+          \"dateAdded\": \"2023-06-02T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"00000000-0000-0000-0000-000000000000\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/example\",\n+                \"dateAdded\": \"2023-06-05T00:00:00Z\",\n+                \"exploitType\": \"initial-access\",\n+                \"cloneSSHURL\": \"git@example.invalid:vulncheck/example.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://example.invalid/reports/cve-2023-34362\",\n+                \"dateAdded\": \"2023-06-06T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ],\n+      \"affectedPackages\": [\n+        {\n+          \"name\": \"moveit-transfer\",\n+          \"fixedIn\": \"2023.0.1\"\n+        }\n+      ]\n+    }\n+  },\n+  \"packages\": {},\n+  \"errors\": [],\n+  \"warnings\": []\n+}\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..9a5fe0c 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,13 +812,13 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n+\t\tif len(vinfo.KEVs) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n+\t\t\t\t\"KEV\",\n+\t\t\t\t\"===\",\n \t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n+\t\t\tfor _, kev := range vinfo.KEVs {\n+\t\t\t\tlines = append(lines, fmt.Sprintf(\"* %s: %s\", kev.Type, kev.VulnerabilityName))\n \t\t\t}\n \t\t}\n \n", "creation_timestamp": "2026-07-03T17:33:43.664243Z"}, {"uuid": "90484daf-dd34-4681-93a6-f36e875b2a5b", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/164a6efce719a9470ff16547904f7531", "content": "diff --git a/.gitignore b/.gitignore\nindex 7f21d1e..8dfc8da 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -4,6 +4,7 @@\n *.sqlite3*\n *.db\n *.toml\n+!config/kevuln.example.toml\n tags\n .gitmodules\n coverage.out\ndiff --git a/README.md b/README.md\nindex 57102d1..1bd4e5c 100644\n--- a/README.md\n+++ b/README.md\n@@ -93,6 +93,9 @@ Vuls is a tool created to solve the problems listed above. It has the following\n - CISA(Cybersecurity &amp; Infrastructure Security Agency)\n   - [Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)\n \n+- VulnCheck\n+  - [Known Exploited Vulnerabilities](https://vulncheck.com/kev)\n+\n - Cyber Threat Intelligence(MITRE ATT&amp;CK and CAPEC)\n   - [mitre/cti](https://github.com/mitre/cti)\n \n@@ -152,6 +155,18 @@ Vuls has some options to detect the vulnerabilities\n - [Common Platform Enumeration (CPE) based Scan](https://vuls.io/docs/en/usage-scan-non-os-packages.html#cpe-scan)\n - [OWASP Dependency Check Integration](https://vuls.io/docs/en/usage-scan-non-os-packages.html#usage-integrate-with-owasp-dependency-check-to-automatic-update-when-the-libraries-are-updated-experimental)\n \n+### KEV reporting\n+\n+Use `config/kevuln.example.toml` as a starting point for report configuration that enables Known Exploited Vulnerability enrichment through `go-kev`:\n+\n+```toml\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+```\n+\n+A sample report with the first-class `kevs` field populated is available at `examples/kev-scan-result.json`.\n+\n ## Scan WordPress core, themes, plugins\n \n - [Scan WordPress](https://vuls.io/docs/en/usage-scan-wordpress.html)\ndiff --git a/config/kevuln.example.toml b/config/kevuln.example.toml\nnew file mode 100644\nindex 0000000..f7e6fd7\n--- /dev/null\n+++ b/config/kevuln.example.toml\n@@ -0,0 +1,35 @@\n+# Example Vuls report configuration with KEV reporting enabled.\n+# Adjust database paths and the server section for your environment.\n+\n+[cveDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/cve.sqlite3\"\n+\n+[ovalDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/oval.sqlite3\"\n+\n+[gost]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/gost.sqlite3\"\n+\n+[exploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-exploitdb.sqlite3\"\n+\n+[metasploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-msfdb.sqlite3\"\n+\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-kev.sqlite3\"\n+\n+[cti]\n+type = \"sqlite3\"\n+sqlite3Path = \"/var/lib/vuls/go-cti.sqlite3\"\n+\n+[servers.localhost]\n+host = \"localhost\"\n+port = \"local\"\n+scanMode = [\"fast-root\"]\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..c500ff7 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -6,6 +6,8 @@ package detector\n import (\n \t\"encoding/json\"\n \t\"net/http\"\n+\t\"reflect\"\n+\t\"strings\"\n \t\"time\"\n \n \t\"github.com/cenkalti/backoff\"\n@@ -79,19 +81,12 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\treturn err\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n \t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n-\t\t\t\tnKEV++\n+\t\t\t\tv.KEVs = kevulnsToModels(kevulns)\n+\t\t\t\tif len(v.KEVs) &gt; 0 {\n+\t\t\t\t\tnKEV++\n+\t\t\t\t}\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n \t\t}\n@@ -108,17 +103,10 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n+\t\t\tvuln.KEVs = kevulnsToModels(kevulns)\n+\t\t\tif len(vuln.KEVs) &gt; 0 {\n+\t\t\t\tnKEV++\n \t\t\t}\n-\n-\t\t\tvuln.AlertDict.CISA = alerts\n-\t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\n \t}\n@@ -127,6 +115,177 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \treturn nil\n }\n \n+func kevulnsToModels(kevulns []kevulnmodels.KEVuln) (kevs []models.KEV) {\n+\tfor _, kevuln := range kevulns {\n+\t\tkev := kevulnToModel(kevuln)\n+\t\tif kev.Type == \"\" {\n+\t\t\tkev.Type = models.CISAKEVType\n+\t\t}\n+\t\tif kev.Type == models.CISAKEVType {\n+\t\t\tkev.CISA = &amp;models.CISAKEV{Note: stringField(reflect.ValueOf(kevuln), \"Notes\", \"Note\")}\n+\t\t} else if kev.Type == models.VulnCheckKEVType {\n+\t\t\tkev.VulnCheck = vulnCheckKEV(reflect.ValueOf(kevuln))\n+\t\t}\n+\t\tkevs = append(kevs, kev)\n+\t}\n+\treturn kevs\n+}\n+\n+func kevulnToModel(kevuln kevulnmodels.KEVuln) models.KEV {\n+\tv := reflect.ValueOf(kevuln)\n+\treturn models.KEV{\n+\t\tType:                       kevType(v),\n+\t\tVendorProject:              stringField(v, \"VendorProject\", \"Vendor\"),\n+\t\tProduct:                    stringField(v, \"Product\"),\n+\t\tVulnerabilityName:          stringField(v, \"VulnerabilityName\", \"Name\"),\n+\t\tShortDescription:           stringField(v, \"ShortDescription\", \"Description\"),\n+\t\tRequiredAction:             stringField(v, \"RequiredAction\"),\n+\t\tKnownRansomwareCampaignUse: stringField(v, \"KnownRansomwareCampaignUse\", \"RansomwareCampaignUse\"),\n+\t\tDateAdded:                  timeField(v, \"DateAdded\"),\n+\t\tDueDate:                    timePtrField(v, \"DueDate\"),\n+\t}\n+}\n+\n+func kevType(v reflect.Value) models.KEVType {\n+\ts := strings.ToLower(stringField(v, \"Type\", \"Source\"))\n+\ts = strings.ReplaceAll(s, \"_\", \"-\")\n+\ts = strings.ReplaceAll(s, \" \", \"-\")\n+\tswitch s {\n+\tcase \"vulncheck\", \"vulncheck-kev\":\n+\t\treturn models.VulnCheckKEVType\n+\tdefault:\n+\t\treturn models.CISAKEVType\n+\t}\n+}\n+\n+func vulnCheckKEV(v reflect.Value) *models.VulnCheckKEV {\n+\treturn &amp;models.VulnCheckKEV{\n+\t\tXDB:                  vulnCheckXDBs(fieldByName(v, \"XDB\", \"Xdb\", \"XDBs\", \"Xdbs\")),\n+\t\tReportedExploitation: vulnCheckReportedExploitations(fieldByName(v, \"ReportedExploitation\", \"ReportedExploitations\")),\n+\t}\n+}\n+\n+func vulnCheckXDBs(v reflect.Value) (xdbs []models.VulnCheckXDB) {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Slice {\n+\t\treturn nil\n+\t}\n+\tfor i := 0; i &lt; v.Len(); i++ {\n+\t\te := v.Index(i)\n+\t\txdbs = append(xdbs, models.VulnCheckXDB{\n+\t\t\tXDBID:       stringField(e, \"XDBID\", \"XdbID\", \"ID\"),\n+\t\t\tXDBURL:      stringField(e, \"XDBURL\", \"XdbURL\", \"URL\"),\n+\t\t\tDateAdded:   timeField(e, \"DateAdded\"),\n+\t\t\tExploitType: stringField(e, \"ExploitType\", \"Type\"),\n+\t\t\tCloneSSHURL: stringField(e, \"CloneSSHURL\", \"CloneSSHUrl\"),\n+\t\t})\n+\t}\n+\treturn xdbs\n+}\n+\n+func vulnCheckReportedExploitations(v reflect.Value) (reported []models.VulnCheckReportedExploitation) {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Slice {\n+\t\treturn nil\n+\t}\n+\tfor i := 0; i &lt; v.Len(); i++ {\n+\t\te := v.Index(i)\n+\t\treported = append(reported, models.VulnCheckReportedExploitation{\n+\t\t\tURL:       stringField(e, \"URL\"),\n+\t\t\tDateAdded: timeField(e, \"DateAdded\"),\n+\t\t})\n+\t}\n+\treturn reported\n+}\n+\n+func fieldByName(v reflect.Value, names ...string) reflect.Value {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn reflect.Value{}\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif field.IsValid() {\n+\t\t\treturn field\n+\t\t}\n+\t}\n+\treturn reflect.Value{}\n+}\n+\n+func stringField(v reflect.Value, names ...string) string {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn \"\"\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif field.IsValid() &amp;&amp; field.Kind() == reflect.String &amp;&amp; field.CanInterface() {\n+\t\t\treturn field.String()\n+\t\t}\n+\t}\n+\treturn \"\"\n+}\n+\n+func timeField(v reflect.Value, names ...string) time.Time {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn time.Time{}\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif !field.IsValid() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif !field.CanInterface() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif t, ok := field.Interface().(time.Time); ok {\n+\t\t\treturn t\n+\t\t}\n+\t\tif field.Kind() == reflect.Ptr &amp;&amp; !field.IsNil() {\n+\t\t\tif t, ok := field.Interface().(*time.Time); ok {\n+\t\t\t\treturn *t\n+\t\t\t}\n+\t\t}\n+\t}\n+\treturn time.Time{}\n+}\n+\n+func timePtrField(v reflect.Value, names ...string) *time.Time {\n+\tv = indirectValue(v)\n+\tif !v.IsValid() || v.Kind() != reflect.Struct {\n+\t\treturn nil\n+\t}\n+\tfor _, name := range names {\n+\t\tfield := v.FieldByName(name)\n+\t\tif !field.IsValid() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif !field.CanInterface() {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif t, ok := field.Interface().(time.Time); ok &amp;&amp; !t.IsZero() {\n+\t\t\treturn &amp;t\n+\t\t}\n+\t\tif field.Kind() == reflect.Ptr &amp;&amp; !field.IsNil() {\n+\t\t\tif t, ok := field.Interface().(*time.Time); ok {\n+\t\t\t\treturn t\n+\t\t\t}\n+\t\t}\n+\t}\n+\treturn nil\n+}\n+\n+func indirectValue(v reflect.Value) reflect.Value {\n+\tif !v.IsValid() {\n+\t\treturn v\n+\t}\n+\tfor v.Kind() == reflect.Ptr &amp;&amp; !v.IsNil() {\n+\t\tv = v.Elem()\n+\t}\n+\treturn v\n+}\n+\n type kevulnResponse struct {\n \trequest kevulnRequest\n \tjson    string\ndiff --git a/examples/kev-scan-result.json b/examples/kev-scan-result.json\nnew file mode 100644\nindex 0000000..2d0b784\n--- /dev/null\n+++ b/examples/kev-scan-result.json\n@@ -0,0 +1,58 @@\n+{\n+  \"jsonVersion\": 4,\n+  \"lang\": \"en\",\n+  \"serverName\": \"localhost\",\n+  \"family\": \"ubuntu\",\n+  \"release\": \"22.04\",\n+  \"scannedAt\": \"2026-07-03T00:00:00Z\",\n+  \"reportedAt\": \"2026-07-03T00:00:00Z\",\n+  \"scannedCves\": {\n+    \"CVE-2023-20198\": {\n+      \"cveID\": \"CVE-2023-20198\",\n+      \"kevs\": [\n+        {\n+          \"type\": \"cisa\",\n+          \"vendorProject\": \"Cisco\",\n+          \"product\": \"IOS XE Web UI\",\n+          \"vulnerabilityName\": \"Cisco IOS XE Web UI Privilege Escalation Vulnerability\",\n+          \"shortDescription\": \"Cisco IOS XE Web UI contains a privilege escalation vulnerability that allows a remote, unauthenticated attacker to create an account with privilege level 15 access.\",\n+          \"requiredAction\": \"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.\",\n+          \"knownRansomwareCampaignUse\": \"Unknown\",\n+          \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+          \"dueDate\": \"2023-10-20T00:00:00Z\",\n+          \"cisa\": {\n+            \"note\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\"\n+          }\n+        },\n+        {\n+          \"type\": \"vulncheck\",\n+          \"vendorProject\": \"Cisco\",\n+          \"product\": \"IOS XE Web UI\",\n+          \"vulnerabilityName\": \"Cisco IOS XE Web UI Privilege Escalation Vulnerability\",\n+          \"shortDescription\": \"Cisco IOS XE Web UI contains a privilege escalation vulnerability.\",\n+          \"dateAdded\": \"2023-10-16T00:00:00Z\",\n+          \"vulncheck\": {\n+            \"xdb\": [\n+              {\n+                \"xdbID\": \"XDB-123456\",\n+                \"xdbURL\": \"https://vulncheck.com/xdb/XDB-123456\",\n+                \"dateAdded\": \"2023-10-17T00:00:00Z\",\n+                \"exploitType\": \"initial-access\",\n+                \"cloneSSHURL\": \"git@github.com:vulncheck/xdb.git\"\n+              }\n+            ],\n+            \"reportedExploitation\": [\n+              {\n+                \"url\": \"https://vulncheck.com/blog/cisco-ios-xe-exploitation\",\n+                \"dateAdded\": \"2023-10-17T00:00:00Z\"\n+              }\n+            ]\n+          }\n+        }\n+      ]\n+    }\n+  },\n+  \"packages\": {},\n+  \"errors\": [],\n+  \"warnings\": []\n+}\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..f17b095 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,13 +197,14 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatAlertSummary(),\n \t\tpkgs)\n }\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of KEV CVEs.\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -425,6 +433,12 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.Mitigations, func(i, j int) bool {\n \t\t\treturn v.Mitigations[i].URL &lt; v.Mitigations[j].URL\n \t\t})\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \n \t\tv.CveContents.Sort()\n \n@@ -434,9 +448,6 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.AlertDict.JPCERT, func(i, j int) bool {\n \t\t\treturn v.AlertDict.JPCERT[i].Title &lt; v.AlertDict.JPCERT[j].Title\n \t\t})\n-\t\tsort.Slice(v.AlertDict.CISA, func(i, j int) bool {\n-\t\t\treturn v.AlertDict.CISA[i].Title &lt; v.AlertDict.CISA[j].Title\n-\t\t})\n \t\tr.ScannedCves[k] = v\n \t}\n }\ndiff --git a/models/scanresults_kev_test.go b/models/scanresults_kev_test.go\nnew file mode 100644\nindex 0000000..f88a9bc\n--- /dev/null\n+++ b/models/scanresults_kev_test.go\n@@ -0,0 +1,48 @@\n+package models\n+\n+import (\n+\t\"reflect\"\n+\t\"testing\"\n+)\n+\n+func TestScanResultSortForJSONOutputSortsKEVs(t *testing.T) {\n+\tr := &amp;ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {\n+\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vulncheck\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"z cisa\"},\n+\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"a vulncheck\"},\n+\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"a cisa\"},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\n+\tr.SortForJSONOutput()\n+\n+\tgot := r.ScannedCves[\"CVE-2024-0001\"].KEVs\n+\twant := []KEV{\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"a cisa\"},\n+\t\t{Type: CISAKEVType, VulnerabilityName: \"z cisa\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"a vulncheck\"},\n+\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"z vulncheck\"},\n+\t}\n+\tif !reflect.DeepEqual(got, want) {\n+\t\tt.Fatalf(\"got %+v, want %+v\", got, want)\n+\t}\n+}\n+\n+func TestFormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-2024-0001\": {KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\t\"CVE-2024-0002\": {KEVs: []KEV{{Type: CISAKEVType}, {Type: VulnCheckKEVType}}},\n+\t\t\t\"CVE-2024-0003\": {},\n+\t\t},\n+\t}\n+\n+\tif got, want := r.FormatKEVCveSummary(), \"2 kevs\"; got != want {\n+\t\tt.Fatalf(\"got %q, want %q\", got, want)\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..8f6b065 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -263,6 +263,7 @@ type VulnInfo struct {\n \tAffectedPackages     PackageFixStatuses   `json:\"affectedPackages,omitempty\"`\n \tDistroAdvisories     DistroAdvisories     `json:\"distroAdvisories,omitempty\"` // for Amazon, RHEL, Fedora, FreeBSD, Microsoft\n \tCveContents          CveContents          `json:\"cveContents,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tExploits             []Exploit            `json:\"exploits,omitempty\"`\n \tMetasploits          []Metasploit         `json:\"metasploits,omitempty\"`\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n@@ -277,6 +278,57 @@ type VulnInfo struct {\n \tDiffStatus           DiffStatus           `json:\"diffStatus,omitempty\"`\n }\n \n+// KEVType is a Known Exploited Vulnerability source type.\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType is the CISA Known Exploited Vulnerabilities Catalog source.\n+\tCISAKEVType KEVType = \"cisa\"\n+\t// VulnCheckKEVType is the VulnCheck Known Exploited Vulnerabilities source.\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerability information.\n+type KEV struct {\n+\tType                         KEVType       `json:\"type,omitempty\"`\n+\tVendorProject                string        `json:\"vendorProject,omitempty\"`\n+\tProduct                      string        `json:\"product,omitempty\"`\n+\tVulnerabilityName            string        `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription             string        `json:\"shortDescription,omitempty\"`\n+\tRequiredAction               string        `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse   string        `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                    time.Time     `json:\"dateAdded,omitempty\"`\n+\tDueDate                      *time.Time    `json:\"dueDate,omitempty\"`\n+\tCISA                         *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                    *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA-specific KEV fields.\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck-specific KEV fields.\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck XDB exploit metadata.\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded,omitempty\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck reported exploitation metadata.\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded,omitempty\"`\n+}\n+\n // Alert has CERT alert information\n type Alert struct {\n \tURL   string `json:\"url,omitempty\"`\n@@ -910,24 +962,21 @@ type Mitigation struct {\n \tURL            string         `json:\"url,omitempty\"`\n }\n \n-// AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// AlertDict has target cve JPCERT and USCERT alert data.\n type AlertDict struct {\n-\tCISA   []Alert `json:\"cisa\"`\n+\tCISA   []Alert `json:\"cisa\"` // Deprecated: KEV is stored in VulnInfo.KEVs.\n \tJPCERT []Alert `json:\"jpcert\"`\n \tUSCERT []Alert `json:\"uscert\"`\n }\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..a2dfbd0 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -204,6 +204,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n \t\t\t}\n \t\t} else {\n@@ -565,10 +566,6 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n-\t\t}\n-\n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\n \t\t\tdata = append(data, []string{\"JPCERT Alert\", alert.URL})\n \t\t}\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..80afe95 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,16 +812,6 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n-\t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n-\t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n-\t\t\t}\n-\t\t}\n-\n \t\tif len(vinfo.AlertDict.USCERT) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n \t\t\t\t\"USCERT Alert\",\n", "creation_timestamp": "2026-07-03T18:57:42.857764Z"}, {"uuid": "cbea6903-fefc-4191-9b9f-1ced9b4e3f18", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-0002", "type": "seen", "source": "https://gist.github.com/tu-trinh-scale/aef4c36ca6a453a16831dc896926f7f7", "content": "diff --git a/README.md b/README.md\nindex 57102d1..3ed0940 100644\n--- a/README.md\n+++ b/README.md\n@@ -179,6 +179,10 @@ Vuls has some options to detect the vulnerabilities\n For more information such as Installation, Tutorial, Usage, visit [vuls.io](https://vuls.io/)  \n [\u65e5\u672c\u8a9e\u7ffb\u8a33\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8](https://vuls.io/ja/)\n \n+### Example config\n+\n+See [config.toml.example](/config.toml.example) for a ready-to-use configuration including KEV (Known Exploited Vulnerabilities) support.\n+\n ----\n \n ## Authors\ndiff --git a/config.toml.example b/config.toml.example\nnew file mode 100644\nindex 0000000..910c32a\n--- /dev/null\n+++ b/config.toml.example\n@@ -0,0 +1,44 @@\n+# Example config.toml for vuls with KEV support\n+# See https://vuls.io/docs/en/config.toml.html\n+\n+[cveDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/path/to/cve.sqlite3\"\n+\n+[ovalDict]\n+type = \"sqlite3\"\n+sqlite3Path = \"/path/to/oval.sqlite3\"\n+\n+[gost]\n+type = \"sqlite3\"\n+sqlite3Path = \"/path/to/gost.sqlite3\"\n+\n+[exploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/path/to/go-exploitdb.sqlite3\"\n+\n+[metasploit]\n+type = \"sqlite3\"\n+sqlite3Path = \"/path/to/go-msfdb.sqlite3\"\n+\n+# KEV (Known Exploited Vulnerabilities) configuration\n+# Supports CISA KEV and VulnCheck KEV sources via go-kev\n+[kevuln]\n+type = \"sqlite3\"\n+sqlite3Path = \"/path/to/go-kev.sqlite3\"\n+# To use HTTP server mode:\n+# type = \"http\"\n+# url = \"http://127.0.0.1:1328\"\n+\n+[default]\n+#port = \"22\"\n+#user = \"username\"\n+#keyPath = \"/home/username/.ssh/id_rsa\"\n+\n+[servers]\n+\n+[servers.localhost]\n+host = \"localhost\"\n+port = \"local\"\n+#scanMode = [\"fast\"]\n+#scanModules = [\"ospkg\"]\ndiff --git a/detector/kevuln.go b/detector/kevuln.go\nindex 41afdfe..4abd46d 100644\n--- a/detector/kevuln.go\n+++ b/detector/kevuln.go\n@@ -79,18 +79,27 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\treturn err\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n-\t\t\t\t})\n-\t\t\t}\n-\n \t\t\tv, ok := r.ScannedCves[res.request.cveID]\n-\t\t\tif ok {\n-\t\t\t\tv.AlertDict.CISA = alerts\n+\t\t\tif ok &amp;&amp; len(kevulns) &gt; 0 {\n+\t\t\t\tkevs := make([]models.KEV, 0, len(kevulns))\n+\t\t\t\tfor _, k := range kevulns {\n+\t\t\t\t\tdueDate := k.DueDate\n+\t\t\t\t\tkevs = append(kevs, models.KEV{\n+\t\t\t\t\t\tType:                       models.CISAKEVType,\n+\t\t\t\t\t\tVendorProject:              k.VendorProject,\n+\t\t\t\t\t\tProduct:                    k.Product,\n+\t\t\t\t\t\tVulnerabilityName:          k.VulnerabilityName,\n+\t\t\t\t\t\tShortDescription:           k.ShortDescription,\n+\t\t\t\t\t\tRequiredAction:             k.RequiredAction,\n+\t\t\t\t\t\tKnownRansomwareCampaignUse: k.KnownRansomwareCampaignUse,\n+\t\t\t\t\t\tDateAdded:                  k.DateAdded,\n+\t\t\t\t\t\tDueDate:                    &amp;dueDate,\n+\t\t\t\t\t\tCISA: &amp;models.CISAKEV{\n+\t\t\t\t\t\t\tNote: k.Notes,\n+\t\t\t\t\t\t},\n+\t\t\t\t\t})\n+\t\t\t\t}\n+\t\t\t\tv.KEVs = kevs\n \t\t\t\tnKEV++\n \t\t\t}\n \t\t\tr.ScannedCves[res.request.cveID] = v\n@@ -108,16 +117,26 @@ func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts logging\n \t\t\t\tcontinue\n \t\t\t}\n \n-\t\t\talerts := []models.Alert{}\n-\t\t\tif len(kevulns) &gt; 0 {\n-\t\t\t\talerts = append(alerts, models.Alert{\n-\t\t\t\t\tTitle: \"Known Exploited Vulnerabilities Catalog\",\n-\t\t\t\t\tURL:   \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog\",\n-\t\t\t\t\tTeam:  \"cisa\",\n+\t\t\tkevs := make([]models.KEV, 0, len(kevulns))\n+\t\t\tfor _, k := range kevulns {\n+\t\t\t\tdueDate := k.DueDate\n+\t\t\t\tkevs = append(kevs, models.KEV{\n+\t\t\t\t\tType:                       models.CISAKEVType,\n+\t\t\t\t\tVendorProject:              k.VendorProject,\n+\t\t\t\t\tProduct:                    k.Product,\n+\t\t\t\t\tVulnerabilityName:          k.VulnerabilityName,\n+\t\t\t\t\tShortDescription:           k.ShortDescription,\n+\t\t\t\t\tRequiredAction:             k.RequiredAction,\n+\t\t\t\t\tKnownRansomwareCampaignUse: k.KnownRansomwareCampaignUse,\n+\t\t\t\t\tDateAdded:                  k.DateAdded,\n+\t\t\t\t\tDueDate:                    &amp;dueDate,\n+\t\t\t\t\tCISA: &amp;models.CISAKEV{\n+\t\t\t\t\t\tNote: k.Notes,\n+\t\t\t\t\t},\n \t\t\t\t})\n \t\t\t}\n \n-\t\t\tvuln.AlertDict.CISA = alerts\n+\t\t\tvuln.KEVs = kevs\n \t\t\tnKEV++\n \t\t\tr.ScannedCves[cveID] = vuln\n \t\t}\ndiff --git a/models/scanresults.go b/models/scanresults.go\nindex 508b992..70b6387 100644\n--- a/models/scanresults.go\n+++ b/models/scanresults.go\n@@ -197,13 +197,14 @@ func (r ScanResult) FormatTextReportHeader() string {\n \t\tpkgs = fmt.Sprintf(\"%s, %d libs\", pkgs, r.LibraryScanners.Total())\n \t}\n \n-\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s\\n%s\\n\",\n+\treturn fmt.Sprintf(\"%s\\n%s\\n%s\\n%s, %s, %s, %s, %s\\n%s\\n\",\n \t\tr.ServerInfo(),\n \t\tbuf.String(),\n \t\tr.ScannedCves.FormatCveSummary(),\n \t\tr.ScannedCves.FormatFixedStatus(r.Packages),\n \t\tr.FormatExploitCveSummary(),\n \t\tr.FormatMetasploitCveSummary(),\n+\t\tr.FormatKEVCveSummary(),\n \t\tr.FormatAlertSummary(),\n \t\tpkgs)\n }\n@@ -251,15 +252,22 @@ func (r ScanResult) FormatMetasploitCveSummary() string {\n \treturn fmt.Sprintf(\"%d exploits\", nMetasploitCve)\n }\n \n+// FormatKEVCveSummary returns a summary of KEV cve\n+func (r ScanResult) FormatKEVCveSummary() string {\n+\tnKEVCve := 0\n+\tfor _, vuln := range r.ScannedCves {\n+\t\tif 0 &lt; len(vuln.KEVs) {\n+\t\t\tnKEVCve++\n+\t\t}\n+\t}\n+\treturn fmt.Sprintf(\"%d kevs\", nKEVCve)\n+}\n+\n // FormatAlertSummary returns a summary of CERT alerts\n func (r ScanResult) FormatAlertSummary() string {\n-\tcisaCnt := 0\n \tuscertCnt := 0\n \tjpcertCnt := 0\n \tfor _, vuln := range r.ScannedCves {\n-\t\tif len(vuln.AlertDict.CISA) &gt; 0 {\n-\t\t\tcisaCnt += len(vuln.AlertDict.CISA)\n-\t\t}\n \t\tif len(vuln.AlertDict.USCERT) &gt; 0 {\n \t\t\tuscertCnt += len(vuln.AlertDict.USCERT)\n \t\t}\n@@ -267,7 +275,7 @@ func (r ScanResult) FormatAlertSummary() string {\n \t\t\tjpcertCnt += len(vuln.AlertDict.JPCERT)\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"cisa: %d, uscert: %d, jpcert: %d alerts\", cisaCnt, uscertCnt, jpcertCnt)\n+\treturn fmt.Sprintf(\"uscert: %d, jpcert: %d alerts\", uscertCnt, jpcertCnt)\n }\n \n func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool {\n@@ -437,6 +445,13 @@ func (r *ScanResult) SortForJSONOutput() {\n \t\tsort.Slice(v.AlertDict.CISA, func(i, j int) bool {\n \t\t\treturn v.AlertDict.CISA[i].Title &lt; v.AlertDict.CISA[j].Title\n \t\t})\n+\n+\t\tsort.Slice(v.KEVs, func(i, j int) bool {\n+\t\t\tif v.KEVs[i].Type != v.KEVs[j].Type {\n+\t\t\t\treturn v.KEVs[i].Type &lt; v.KEVs[j].Type\n+\t\t\t}\n+\t\t\treturn v.KEVs[i].VulnerabilityName &lt; v.KEVs[j].VulnerabilityName\n+\t\t})\n \t\tr.ScannedCves[k] = v\n \t}\n }\ndiff --git a/models/scanresults_kev_test.go b/models/scanresults_kev_test.go\nnew file mode 100644\nindex 0000000..27a0368\n--- /dev/null\n+++ b/models/scanresults_kev_test.go\n@@ -0,0 +1,119 @@\n+package models\n+\n+import (\n+\t\"reflect\"\n+\t\"testing\"\n+\t\"time\"\n+)\n+\n+func TestScanResult_Sort_KEV(t *testing.T) {\n+\tdue := time.Date(2024, 1, 2, 0, 0, 0, 0, time.UTC)\n+\ttests := []struct {\n+\t\tname     string\n+\t\tfields   VulnInfos\n+\t\texpected VulnInfos\n+\t}{\n+\t\t{\n+\t\t\tname: \"sort kevs by type then vulnerabilityName\",\n+\t\t\tfields: VulnInfos{\n+\t\t\t\t\"CVE-2024-0001\": VulnInfo{\n+\t\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"Z\"},\n+\t\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"B\"},\n+\t\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"A\"},\n+\t\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"A\"},\n+\t\t\t\t\t},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t\texpected: VulnInfos{\n+\t\t\t\t\"CVE-2024-0001\": VulnInfo{\n+\t\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"A\", DueDate: nil},\n+\t\t\t\t\t\t{Type: CISAKEVType, VulnerabilityName: \"B\", DueDate: nil},\n+\t\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"A\", DueDate: nil},\n+\t\t\t\t\t\t{Type: VulnCheckKEVType, VulnerabilityName: \"Z\", DueDate: nil},\n+\t\t\t\t\t},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t\t{\n+\t\t\tname: \"kev fields preserved\",\n+\t\t\tfields: VulnInfos{\n+\t\t\t\t\"CVE-2024-0002\": VulnInfo{\n+\t\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tType:                       VulnCheckKEVType,\n+\t\t\t\t\t\t\tVendorProject:              \"vendor\",\n+\t\t\t\t\t\t\tProduct:                    \"product\",\n+\t\t\t\t\t\t\tVulnerabilityName:          \"vuln\",\n+\t\t\t\t\t\t\tShortDescription:           \"desc\",\n+\t\t\t\t\t\t\tRequiredAction:             \"action\",\n+\t\t\t\t\t\t\tKnownRansomwareCampaignUse: \"Known\",\n+\t\t\t\t\t\t\tDateAdded:                  time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC),\n+\t\t\t\t\t\t\tDueDate:                    &amp;due,\n+\t\t\t\t\t\t\tVulnCheck: &amp;VulnCheckKEV{\n+\t\t\t\t\t\t\t\tXDB: []VulnCheckXDB{\n+\t\t\t\t\t\t\t\t\t{XDBID: \"123\", XDBURL: \"http://example.com\", DateAdded: time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC), ExploitType: \"type\", CloneSSHURL: \"ssh://\"},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\tReportedExploitation: []VulnCheckReportedExploitation{\n+\t\t\t\t\t\t\t\t\t{URL: \"http://report\", DateAdded: time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC)},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t\texpected: VulnInfos{\n+\t\t\t\t\"CVE-2024-0002\": VulnInfo{\n+\t\t\t\t\tKEVs: []KEV{\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tType:                       VulnCheckKEVType,\n+\t\t\t\t\t\t\tVendorProject:              \"vendor\",\n+\t\t\t\t\t\t\tProduct:                    \"product\",\n+\t\t\t\t\t\t\tVulnerabilityName:          \"vuln\",\n+\t\t\t\t\t\t\tShortDescription:           \"desc\",\n+\t\t\t\t\t\t\tRequiredAction:             \"action\",\n+\t\t\t\t\t\t\tKnownRansomwareCampaignUse: \"Known\",\n+\t\t\t\t\t\t\tDateAdded:                  time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC),\n+\t\t\t\t\t\t\tDueDate:                    &amp;due,\n+\t\t\t\t\t\t\tVulnCheck: &amp;VulnCheckKEV{\n+\t\t\t\t\t\t\t\tXDB: []VulnCheckXDB{\n+\t\t\t\t\t\t\t\t\t{XDBID: \"123\", XDBURL: \"http://example.com\", DateAdded: time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC), ExploitType: \"type\", CloneSSHURL: \"ssh://\"},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\tReportedExploitation: []VulnCheckReportedExploitation{\n+\t\t\t\t\t\t\t\t\t{URL: \"http://report\", DateAdded: time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC)},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t},\n+\t}\n+\tfor _, tt := range tests {\n+\t\tt.Run(tt.name, func(t *testing.T) {\n+\t\t\tr := &amp;ScanResult{\n+\t\t\t\tScannedCves: tt.fields,\n+\t\t\t}\n+\t\t\tr.SortForJSONOutput()\n+\t\t\tif !reflect.DeepEqual(r.ScannedCves, tt.expected) {\n+\t\t\t\tt.Errorf(\"act %+v, want %+v\", r.ScannedCves, tt.expected)\n+\t\t\t}\n+\t\t})\n+\t}\n+}\n+\n+func TestScanResult_FormatKEVCveSummary(t *testing.T) {\n+\tr := ScanResult{\n+\t\tScannedCves: VulnInfos{\n+\t\t\t\"CVE-1\": VulnInfo{KEVs: []KEV{{Type: CISAKEVType}}},\n+\t\t\t\"CVE-2\": VulnInfo{KEVs: []KEV{{Type: VulnCheckKEVType}}},\n+\t\t\t\"CVE-3\": VulnInfo{},\n+\t\t},\n+\t}\n+\tgot := r.FormatKEVCveSummary()\n+\twant := \"2 kevs\"\n+\tif got != want {\n+\t\tt.Errorf(\"got %s, want %s\", got, want)\n+\t}\n+}\ndiff --git a/models/vulninfos.go b/models/vulninfos.go\nindex 3e85e81..4b57558 100644\n--- a/models/vulninfos.go\n+++ b/models/vulninfos.go\n@@ -256,6 +256,57 @@ type PackageFixStatus struct {\n \tFixedIn     string `json:\"fixedIn,omitempty\"`\n }\n \n+// KEVType is KEV source type\n+type KEVType string\n+\n+const (\n+\t// CISAKEVType is CISA KEV\n+\tCISAKEVType KEVType = \"cisa\"\n+\t// VulnCheckKEVType is VulnCheck KEV\n+\tVulnCheckKEVType KEVType = \"vulncheck\"\n+)\n+\n+// KEV has Known Exploited Vulnerabilities information\n+type KEV struct {\n+\tType                       KEVType   `json:\"type,omitempty\"`\n+\tVendorProject              string    `json:\"vendorProject,omitempty\"`\n+\tProduct                    string    `json:\"product,omitempty\"`\n+\tVulnerabilityName          string    `json:\"vulnerabilityName,omitempty\"`\n+\tShortDescription           string    `json:\"shortDescription,omitempty\"`\n+\tRequiredAction             string    `json:\"requiredAction,omitempty\"`\n+\tKnownRansomwareCampaignUse string    `json:\"knownRansomwareCampaignUse,omitempty\"`\n+\tDateAdded                  time.Time `json:\"dateAdded,omitempty\"`\n+\tDueDate                    *time.Time `json:\"dueDate,omitempty\"`\n+\tCISA                       *CISAKEV      `json:\"cisa,omitempty\"`\n+\tVulnCheck                  *VulnCheckKEV `json:\"vulncheck,omitempty\"`\n+}\n+\n+// CISAKEV has CISA KEV information\n+type CISAKEV struct {\n+\tNote string `json:\"note,omitempty\"`\n+}\n+\n+// VulnCheckKEV has VulnCheck KEV information\n+type VulnCheckKEV struct {\n+\tXDB                  []VulnCheckXDB                  `json:\"xdb,omitempty\"`\n+\tReportedExploitation []VulnCheckReportedExploitation `json:\"reportedExploitation,omitempty\"`\n+}\n+\n+// VulnCheckXDB has VulnCheck XDB information\n+type VulnCheckXDB struct {\n+\tXDBID       string    `json:\"xdbID,omitempty\"`\n+\tXDBURL      string    `json:\"xdbURL,omitempty\"`\n+\tDateAdded   time.Time `json:\"dateAdded,omitempty\"`\n+\tExploitType string    `json:\"exploitType,omitempty\"`\n+\tCloneSSHURL string    `json:\"cloneSSHURL,omitempty\"`\n+}\n+\n+// VulnCheckReportedExploitation has VulnCheck ReportedExploitation information\n+type VulnCheckReportedExploitation struct {\n+\tURL       string    `json:\"url,omitempty\"`\n+\tDateAdded time.Time `json:\"dateAdded,omitempty\"`\n+}\n+\n // VulnInfo has a vulnerability information and unsecure packages\n type VulnInfo struct {\n \tCveID                string               `json:\"cveID,omitempty\"`\n@@ -268,6 +319,7 @@ type VulnInfo struct {\n \tMitigations          []Mitigation         `json:\"mitigations,omitempty\"`\n \tCtis                 []string             `json:\"ctis,omitempty\"`\n \tAlertDict            AlertDict            `json:\"alertDict,omitempty\"`\n+\tKEVs                 []KEV                `json:\"kevs,omitempty\"`\n \tCpeURIs              []string             `json:\"cpeURIs,omitempty\"` // CpeURIs related to this CVE defined in config.toml\n \tGitHubSecurityAlerts GitHubSecurityAlerts `json:\"gitHubSecurityAlerts,omitempty\"`\n \tWpPackageFixStats    WpPackageFixStats    `json:\"wpPackageFixStats,omitempty\"`\n@@ -911,23 +963,21 @@ type Mitigation struct {\n }\n \n // AlertDict has target cve JPCERT, USCERT and CISA alert data\n+// CISA field is deprecated, use KEVs instead.\n type AlertDict struct {\n-\tCISA   []Alert `json:\"cisa\"`\n-\tJPCERT []Alert `json:\"jpcert\"`\n-\tUSCERT []Alert `json:\"uscert\"`\n+\tCISA   []Alert `json:\"cisa,omitempty\"`\n+\tJPCERT []Alert `json:\"jpcert,omitempty\"`\n+\tUSCERT []Alert `json:\"uscert,omitempty\"`\n }\n \n // IsEmpty checks if the content of AlertDict is empty\n func (a AlertDict) IsEmpty() bool {\n-\treturn len(a.CISA) == 0 &amp;&amp; len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n+\treturn len(a.JPCERT) == 0 &amp;&amp; len(a.USCERT) == 0\n }\n \n // FormatSource returns which source has this alert\n func (a AlertDict) FormatSource() string {\n \tvar s []string\n-\tif len(a.CISA) != 0 {\n-\t\ts = append(s, \"CISA\")\n-\t}\n \tif len(a.USCERT) != 0 || len(a.JPCERT) != 0 {\n \t\ts = append(s, \"CERT\")\n \t}\ndiff --git a/reporter/util.go b/reporter/util.go\nindex d9cfdaa..a2dfbd0 100644\n--- a/reporter/util.go\n+++ b/reporter/util.go\n@@ -204,6 +204,7 @@ func formatOneLineSummary(rs ...models.ScanResult) string {\n \t\t\t\tr.FormatUpdatablePkgsSummary(),\n \t\t\t\tr.FormatExploitCveSummary(),\n \t\t\t\tr.FormatMetasploitCveSummary(),\n+\t\t\t\tr.FormatKEVCveSummary(),\n \t\t\t\tr.FormatAlertSummary(),\n \t\t\t}\n \t\t} else {\n@@ -565,10 +566,6 @@ No CVE-IDs are found in updatable packages.\n \t\t})\n \t\tdata = append(data, ds...)\n \n-\t\tfor _, alert := range vuln.AlertDict.CISA {\n-\t\t\tdata = append(data, []string{\"CISA Alert\", alert.URL})\n-\t\t}\n-\n \t\tfor _, alert := range vuln.AlertDict.JPCERT {\n \t\t\tdata = append(data, []string{\"JPCERT Alert\", alert.URL})\n \t\t}\ndiff --git a/tui/tui.go b/tui/tui.go\nindex 4407f56..80afe95 100644\n--- a/tui/tui.go\n+++ b/tui/tui.go\n@@ -812,16 +812,6 @@ func setChangelogLayout(g *gocui.Gui) error {\n \t\t\t}\n \t\t}\n \n-\t\tif len(vinfo.AlertDict.CISA) &gt; 0 {\n-\t\t\tlines = append(lines, \"\\n\",\n-\t\t\t\t\"CISA Alert\",\n-\t\t\t\t\"===========\",\n-\t\t\t)\n-\t\t\tfor _, alert := range vinfo.AlertDict.CISA {\n-\t\t\t\tlines = append(lines, fmt.Sprintf(\"* [%s](%s)\", alert.Title, alert.URL))\n-\t\t\t}\n-\t\t}\n-\n \t\tif len(vinfo.AlertDict.USCERT) &gt; 0 {\n \t\t\tlines = append(lines, \"\\n\",\n \t\t\t\t\"USCERT Alert\",\n", "creation_timestamp": "2026-07-03T21:02:38.839118Z"}]}