{
 "openapi": "3.1.0",
 "info": {
  "title": "CVEs published or modified in the last 24 hours (NVD): data.promptugal.news",
  "version": "v0.1.151",
  "description": "NIST's National Vulnerability Database, CVE API 2.0: the CVEs published or modified in the 24 hours before each read, each with its CNA, status, CVSS base severity and score, weakness types and the vendors and products (NVD's CPE configurations, else the CNA's own list in the same record, marked); and totals per day and severity, for cyber.promptugal.news's pulse. Products only, never a victim, host or address. No descriptions or reference links are kept.\n\nPublisher: NIST, National Vulnerability Database (United States). Reuse terms: NVD API Terms of Use: the API is for building a service to \"search, display, analyze, retrieve, view and otherwise get\" NVD data; asked to display \"This product uses the NVD API but is not endorsed or certified by the NVD.\"; the NVD name may identify the source but not imply endorsement; if you modify the content you may not attribute it to the NVD (our totals are ours, our per-CVE values are kept as served); public rate limit 5 requests in a rolling 30 seconds without a key (we use none, seven seconds apart); no more than once every two hours (we read every 6 hours). Not reviewed by a person. Not a warning service: follow IPMA and ANEPC.\n\nCode: Apache-2.0. Text: CC BY 4.0. The data keeps the terms of its own source (see each source card); nothing here relaxes them.",
  "license": {
   "name": "Apache-2.0 for code; each source keeps its own data terms",
   "identifier": "Apache-2.0"
  },
  "contact": {
   "name": "PrompTugal.news data",
   "url": "https://github.com/PrompTugal/PrompTugal__News__Data"
  }
 },
 "servers": [
  {
   "url": "https://data.promptugal.news",
   "description": "Production"
  }
 ],
 "externalDocs": {
  "description": "How to use the API",
  "url": "https://data.promptugal.news/api/"
 },
 "paths": {
  "/api/v1/nvd-cve/latest.json": {
   "get": {
    "operationId": "get_nvd_cve_latest",
    "tags": [
     "nvd-cve"
    ],
    "summary": "CVEs published or modified in the last 24 hours (NVD): the latest read",
    "description": "CVEs that NVD published or modified in the 24 hours before the read: each with its CNA (the domain of NVD's sourceIdentifier, never the address), status, CVSS base severity and score, weakness types and the vendors and products (NVD's CPE configurations, else the CNA's own list in the same record, marked products_from); and totals per day and severity (daily, and daily_totals for 30 days, complete true only for a whole UTC day). Values are NVD's, kept as served; the totals are ours, counted from them. Descriptions and references are not kept. Vulnerabilities in products, never a victim, host or address. A weak signal, not an audit.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "source": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "read_at": {
           "type": "string"
          },
          "notice": {
           "type": "string"
          },
          "provenance": {
           "type": "object",
           "properties": {
            "source": {
             "type": "string"
            },
            "page": {
             "type": "string"
            },
            "read_at": {
             "type": "string"
            },
            "by": {
             "type": "string"
            },
            "terms": {
             "type": "string"
            },
            "api": {
             "type": "string"
            },
            "window_from": {
             "type": "string"
            },
            "window_to": {
             "type": "string"
            },
            "last_24h_from": {
             "type": "string"
            },
            "api_key": {
             "type": "string"
            }
           },
           "required": [
            "source",
            "page",
            "read_at",
            "by",
            "terms",
            "api",
            "window_from",
            "window_to",
            "last_24h_from",
            "api_key"
           ]
          },
          "about": {
           "type": "string"
          },
          "counts": {
           "type": "object",
           "properties": {
            "cves_in_window": {
             "type": "integer"
            },
            "cves_read_since_yesterday": {
             "type": "integer"
            },
            "nvd_total_since_yesterday": {
             "type": "integer"
            },
            "new_last_24h": {
             "type": "integer"
            },
            "modified_not_new_last_24h": {
             "type": "integer"
            },
            "pages_complete": {
             "type": "boolean"
            },
            "fields_dropped_em_dash": {
             "type": "integer"
            }
           },
           "required": [
            "cves_in_window",
            "cves_read_since_yesterday",
            "nvd_total_since_yesterday",
            "new_last_24h",
            "modified_not_new_last_24h",
            "pages_complete",
            "fields_dropped_em_dash"
           ]
          },
          "last_24h": {
           "type": "object",
           "properties": {
            "new": {
             "type": "integer"
            },
            "new_by_severity": {
             "type": "object",
             "properties": {
              "CRITICAL": {
               "type": "integer"
              },
              "HIGH": {
               "type": "integer"
              },
              "MEDIUM": {
               "type": "integer"
              },
              "LOW": {
               "type": "integer"
              },
              "NONE": {
               "type": "integer"
              },
              "unscored": {
               "type": "integer"
              }
             },
             "required": [
              "CRITICAL",
              "HIGH",
              "MEDIUM",
              "LOW",
              "NONE",
              "unscored"
             ]
            },
            "modified": {
             "type": "integer"
            },
            "modified_by_severity": {
             "type": "object",
             "properties": {
              "CRITICAL": {
               "type": "integer"
              },
              "HIGH": {
               "type": "integer"
              },
              "MEDIUM": {
               "type": "integer"
              },
              "LOW": {
               "type": "integer"
              },
              "NONE": {
               "type": "integer"
              },
              "unscored": {
               "type": "integer"
              }
             },
             "required": [
              "CRITICAL",
              "HIGH",
              "MEDIUM",
              "LOW",
              "NONE",
              "unscored"
             ]
            }
           },
           "required": [
            "new",
            "new_by_severity",
            "modified",
            "modified_by_severity"
           ]
          },
          "daily": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "day": {
              "type": "string"
             },
             "new": {
              "type": "integer"
             },
             "new_by_severity": {
              "type": "object",
              "properties": {
               "CRITICAL": {
                "type": "integer"
               },
               "HIGH": {
                "type": "integer"
               },
               "MEDIUM": {
                "type": "integer"
               },
               "LOW": {
                "type": "integer"
               },
               "NONE": {
                "type": "integer"
               },
               "unscored": {
                "type": "integer"
               }
              },
              "required": [
               "CRITICAL",
               "HIGH",
               "MEDIUM",
               "LOW",
               "NONE",
               "unscored"
              ]
             },
             "modified": {
              "type": "integer"
             },
             "modified_by_severity": {
              "type": "object",
              "properties": {
               "CRITICAL": {
                "type": "integer"
               },
               "HIGH": {
                "type": "integer"
               },
               "MEDIUM": {
                "type": "integer"
               },
               "LOW": {
                "type": "integer"
               },
               "NONE": {
                "type": "integer"
               },
               "unscored": {
                "type": "integer"
               }
              },
              "required": [
               "CRITICAL",
               "HIGH",
               "MEDIUM",
               "LOW",
               "NONE",
               "unscored"
              ]
             },
             "note": {
              "type": "string"
             }
            },
            "required": [
             "day",
             "new",
             "new_by_severity",
             "modified",
             "modified_by_severity",
             "note"
            ]
           }
          },
          "daily_totals": {
           "type": "object",
           "properties": {
            "2026-11-18": {
             "type": "object",
             "properties": {
              "new": {
               "type": "integer"
              },
              "modified": {
               "type": "integer"
              },
              "by_severity": {
               "type": "object",
               "properties": {
                "new": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                },
                "modified": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                }
               },
               "required": [
                "new",
                "modified"
               ]
              },
              "complete": {
               "type": "boolean"
              },
              "counted_at": {
               "type": "string"
              }
             },
             "required": [
              "new",
              "modified",
              "by_severity",
              "complete",
              "counted_at"
             ]
            },
            "2026-11-19": {
             "type": "object",
             "properties": {
              "new": {
               "type": "integer"
              },
              "modified": {
               "type": "integer"
              },
              "by_severity": {
               "type": "object",
               "properties": {
                "new": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                },
                "modified": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                }
               },
               "required": [
                "new",
                "modified"
               ]
              },
              "complete": {
               "type": "boolean"
              },
              "counted_at": {
               "type": "string"
              }
             },
             "required": [
              "new",
              "modified",
              "by_severity",
              "complete",
              "counted_at"
             ]
            },
            "2026-11-20": {
             "type": "object",
             "properties": {
              "new": {
               "type": "integer"
              },
              "modified": {
               "type": "integer"
              },
              "by_severity": {
               "type": "object",
               "properties": {
                "new": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                },
                "modified": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                }
               },
               "required": [
                "new",
                "modified"
               ]
              },
              "complete": {
               "type": "boolean"
              },
              "counted_at": {
               "type": "string"
              }
             },
             "required": [
              "new",
              "modified",
              "by_severity",
              "complete",
              "counted_at"
             ]
            },
            "2026-11-21": {
             "type": "object",
             "properties": {
              "new": {
               "type": "integer"
              },
              "modified": {
               "type": "integer"
              },
              "by_severity": {
               "type": "object",
               "properties": {
                "new": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                },
                "modified": {
                 "type": "object",
                 "properties": {
                  "CRITICAL": {
                   "type": "integer"
                  },
                  "HIGH": {
                   "type": "integer"
                  },
                  "MEDIUM": {
                   "type": "integer"
                  },
                  "LOW": {
                   "type": "integer"
                  },
                  "NONE": {
                   "type": "integer"
                  },
                  "unscored": {
                   "type": "integer"
                  }
                 },
                 "required": [
                  "CRITICAL",
                  "HIGH",
                  "MEDIUM",
                  "LOW",
                  "NONE",
                  "unscored"
                 ]
                }
               },
               "required": [
                "new",
                "modified"
               ]
              },
              "complete": {
               "type": "boolean"
              },
              "counted_at": {
               "type": "string"
              }
             },
             "required": [
              "new",
              "modified",
              "by_severity",
              "complete",
              "counted_at"
             ]
            }
           },
           "required": [
            "2026-11-18",
            "2026-11-19",
            "2026-11-20",
            "2026-11-21"
           ]
          },
          "new_by_cna": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "cna": {
              "type": "string"
             },
             "new": {
              "type": "integer"
             }
            },
            "required": [
             "cna",
             "new"
            ]
           }
          },
          "new_by_vendor": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "vendor": {
              "type": "string"
             },
             "new": {
              "type": "integer"
             }
            },
            "required": [
             "vendor",
             "new"
            ]
           }
          },
          "coverage": {
           "type": "object",
           "properties": {
            "cves_with_products": {
             "type": "integer"
            },
            "from_cpe": {
             "type": "integer"
            },
            "from_cna": {
             "type": "integer"
            }
           },
           "required": [
            "cves_with_products",
            "from_cpe",
            "from_cna"
           ]
          },
          "cves": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "id": {
              "type": "string"
             },
             "published": {
              "type": "string"
             },
             "lastModified": {
              "type": "string"
             },
             "vulnStatus": {
              "type": "string"
             },
             "cna": {
              "type": "string"
             },
             "cvss": {
              "type": [
               "object",
               "null"
              ],
              "properties": {
               "version": {
                "type": "string"
               },
               "score": {
                "type": "number"
               },
               "severity": {
                "type": "string"
               },
               "scored_by": {
                "type": "string"
               }
              },
              "required": [
               "version",
               "score",
               "severity",
               "scored_by"
              ]
             },
             "cwes": {
              "type": "array",
              "items": {
               "type": "string"
              }
             },
             "products": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "vendor": {
                 "type": "string"
                },
                "product": {
                 "type": "string"
                }
               },
               "required": [
                "vendor",
                "product"
               ]
              }
             },
             "products_more": {
              "type": "integer"
             },
             "products_from": {
              "type": [
               "string",
               "null"
              ]
             },
             "url": {
              "type": "string",
              "format": "uri"
             }
            },
            "required": [
             "id",
             "published",
             "lastModified",
             "vulnStatus",
             "cna",
             "cvss",
             "cwes",
             "products",
             "products_more",
             "products_from",
             "url"
            ]
           }
          }
         },
         "required": [
          "source",
          "title",
          "read_at",
          "notice",
          "provenance",
          "about",
          "counts",
          "last_24h",
          "daily",
          "daily_totals",
          "new_by_cna",
          "new_by_vendor",
          "coverage",
          "cves"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "source": "nvd-cve",
           "title": "CVEs published or modified in the last 24 hours (NVD)",
           "read_at": "2026-11-21T07:12:37Z",
           "notice": "This product uses the NVD API but is not endorsed or certified by the NVD.",
           "provenance": {
            "source": "https://nvd.nist.gov/",
            "page": "https://nvd.nist.gov/developers/vulnerabilities",
            "read_at": "2026-11-21T07:12:37Z",
            "by": "sources/nvd-cve/collect.mjs (code, no model; run by data.b@PrompTugal.dinis)",
            "terms": "NVD API Terms of Use: the API is for building a service to \"search, display, analyze, retrieve, view and otherwise get\" NVD data; asked to display \"This product uses the NVD API but is not endorsed or certified by the NVD.\"; the NVD name may identify the source but not imply endorsement; if you modi...",
            "api": "https://services.nvd.nist.gov/rest/json/cves/2.0",
            "window_from": "2026-11-20T00:00:00.000",
            "window_to": "2026-11-21T07:12:37.000",
            "last_24h_from": "2026-11-20T07:12:37.000",
            "api_key": "none (public rate limit)"
           },
           "about": "CVEs that NVD published or modified in the 24 hours before the read: each with its CNA (the domain of NVD's sourceIdentifier, never the address), status, CVSS base severity and score, weakness types and the vendors and products (NVD's CPE configurations, else the CNA's own list in the same record, m...",
           "counts": {
            "cves_in_window": 1357,
            "cves_read_since_yesterday": 1829,
            "nvd_total_since_yesterday": 1829,
            "new_last_24h": 539,
            "modified_not_new_last_24h": 818,
            "pages_complete": true,
            "fields_dropped_em_dash": 2
           },
           "last_24h": {
            "new": 539,
            "new_by_severity": {
             "CRITICAL": 33,
             "HIGH": 150,
             "MEDIUM": 272,
             "LOW": 20,
             "NONE": 0,
             "unscored": 64
            },
            "modified": 818,
            "modified_by_severity": {
             "CRITICAL": 60,
             "HIGH": 345,
             "MEDIUM": 339,
             "LOW": 72,
             "NONE": 0,
             "unscored": 2
            }
           },
           "daily": [
            {
             "day": "2026-11-20",
             "new": 762,
             "new_by_severity": {
              "CRITICAL": 34,
              "HIGH": 166,
              "MEDIUM": 289,
              "LOW": 26,
              "NONE": 0,
              "unscored": 247
             },
             "modified": 922,
             "modified_by_severity": {
              "CRITICAL": 61,
              "HIGH": 422,
              "MEDIUM": 353,
              "LOW": 74,
              "NONE": 0,
              "unscored": 12
             },
             "note": "the whole day"
            },
            {
             "day": "2026-11-21",
             "new": 56,
             "new_by_severity": {
              "CRITICAL": 1,
              "HIGH": 1,
              "MEDIUM": 7,
              "LOW": 0,
              "NONE": 0,
              "unscored": 47
             },
             "modified": 92,
             "modified_by_severity": {
              "CRITICAL": 18,
              "HIGH": 38,
              "MEDIUM": 32,
              "LOW": 4,
              "NONE": 0,
              "unscored": 0
             },
             "note": "the day so far"
            }
           ],
           "daily_totals": {
            "2026-11-18": {
             "new": 722,
             "modified": 1033,
             "by_severity": {
              "new": {
               "CRITICAL": 96,
               "HIGH": 285,
               "MEDIUM": 257,
               "LOW": 44,
               "NONE": 0,
               "unscored": 40
              },
              "modified": {
               "CRITICAL": 68,
               "HIGH": 443,
               "MEDIUM": 458,
               "LOW": 53,
               "NONE": 8,
               "unscored": 3
              }
             },
             "complete": true,
             "counted_at": "2026-11-19T06:15:43Z"
            },
            "2026-11-19": {
             "new": 1066,
             "modified": 1015,
             "by_severity": {
              "new": {
               "CRITICAL": 53,
               "HIGH": 271,
               "MEDIUM": 425,
               "LOW": 53,
               "NONE": 0,
               "unscored": 264
              },
              "modified": {
               "CRITICAL": 123,
               "HIGH": 399,
               "MEDIUM": 410,
               "LOW": 79,
               "NONE": 0,
               "unscored": 4
              }
             },
             "complete": true,
             "counted_at": "2026-11-20T07:17:07Z"
            },
            "2026-11-20": {
             "new": 762,
             "modified": 922,
             "by_severity": {
              "new": {
               "CRITICAL": 34,
               "HIGH": 166,
               "MEDIUM": 289,
               "LOW": 26,
               "NONE": 0,
               "unscored": 247
              },
              "modified": {
               "CRITICAL": 61,
               "HIGH": 422,
               "MEDIUM": 353,
               "LOW": 74,
               "NONE": 0,
               "unscored": 12
              }
             },
             "complete": true,
             "counted_at": "2026-11-21T07:12:37Z"
            },
            "2026-11-21": {
             "new": 56,
             "modified": 92,
             "by_severity": {
              "new": {
               "CRITICAL": 1,
               "HIGH": 1,
               "MEDIUM": 7,
               "LOW": 0,
               "NONE": 0,
               "unscored": 47
              },
              "modified": {
               "CRITICAL": 18,
               "HIGH": 38,
               "MEDIUM": 32,
               "LOW": 4,
               "NONE": 0,
               "unscored": 0
              }
             },
             "complete": false,
             "counted_at": "2026-11-21T07:12:37Z"
            }
           },
           "new_by_cna": [
            {
             "cna": "patchstack.com",
             "new": 91
            },
            {
             "cna": "github.com",
             "new": 82
            },
            {
             "cna": "wordfence.com",
             "new": 63
            }
           ],
           "new_by_vendor": [
            {
             "vendor": "wireshark foundation",
             "new": 37
            },
            {
             "vendor": "flowintel",
             "new": 34
            },
            {
             "vendor": "nukeviet",
             "new": 16
            }
           ],
           "coverage": {
            "cves_with_products": 1296,
            "from_cpe": 203,
            "from_cna": 1093
           },
           "cves": [
            {
             "id": "CVE-2026-133471",
             "published": "2026-11-21T06:16:36.740",
             "lastModified": "2026-11-21T06:16:36.850",
             "vulnStatus": "Deferred",
             "cna": "wordfence.com",
             "cvss": {
              "version": "3.1",
              "score": 6.1,
              "severity": "MEDIUM",
              "scored_by": "nvd"
             },
             "cwes": [
              "CWE-79"
             ],
             "products": [
              {
               "vendor": "hostspa",
               "product": "Fastcache by Host.it"
              }
             ],
             "products_more": 0,
             "products_from": "cna",
             "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133471"
            },
            {
             "id": "CVE-2026-133439",
             "published": "2026-11-21T06:16:36.593",
             "lastModified": "2026-11-21T06:16:36.703",
             "vulnStatus": "Deferred",
             "cna": "wordfence.com",
             "cvss": {
              "version": "3.1",
              "score": 6.4,
              "severity": "MEDIUM",
              "scored_by": "nvd"
             },
             "cwes": [
              "CWE-79"
             ],
             "products": [
              {
               "vendor": "brianjessee",
               "product": "Coupon Creator"
              }
             ],
             "products_more": 0,
             "products_from": "cna",
             "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133439"
            },
            {
             "id": "CVE-2026-132781",
             "published": "2026-11-21T06:16:36.443",
             "lastModified": "2026-11-21T06:16:36.557",
             "vulnStatus": "Deferred",
             "cna": "wordfence.com",
             "cvss": {
              "version": "3.1",
              "score": 6.4,
              "severity": "MEDIUM",
              "scored_by": "nvd"
             },
             "cwes": [
              "CWE-79"
             ],
             "products": [
              {
               "vendor": "wpdevelop",
               "product": "Booking Calendar"
              }
             ],
             "products_more": 0,
             "products_from": "cna",
             "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-132781"
            }
           ]
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/nvd-cve/reads.json": {
   "get": {
    "operationId": "get_nvd_cve_reads",
    "tags": [
     "nvd-cve"
    ],
    "summary": "CVEs published or modified in the last 24 hours (NVD): every read, newest first",
    "description": "Every run of sources/nvd-cve/collect.mjs, newest first: each request's address, HTTP status, size, the first 16 hex of its sha256, and whether the bytes changed since the run before. The bytes and the full sha256 go to the source's vault (see card.json: latest/reads-full.json), never to git.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "about": {
           "type": "string"
          },
          "source": {
           "type": "string"
          },
          "runs": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "at": {
              "type": "string"
             },
             "finished": {
              "type": "string"
             },
             "ok": {
              "type": "integer"
             },
             "failed": {
              "type": "integer"
             },
             "reads": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "name": {
                 "type": "string"
                },
                "url": {
                 "type": "string",
                 "format": "uri"
                },
                "at": {
                 "type": "string"
                },
                "status": {
                 "type": "integer"
                },
                "bytes": {
                 "type": "integer"
                },
                "sha256_prefix": {
                 "type": "string"
                },
                "changed": {
                 "type": [
                  "boolean",
                  "string"
                 ]
                }
               },
               "required": [
                "name",
                "url",
                "at",
                "status",
                "bytes",
                "sha256_prefix",
                "changed"
               ]
              }
             }
            },
            "required": [
             "at",
             "finished",
             "ok",
             "failed",
             "reads"
            ]
           }
          }
         },
         "required": [
          "about",
          "source",
          "runs"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "about": "Every run of sources/nvd-cve/collect.mjs, newest first: each request's address, HTTP status, size, the first 16 hex of its sha256, and whether the bytes changed since the run before. The bytes and the full sha256 go to the source's vault (see card.json: latest/reads-full.json), never to git.",
           "source": "nvd-cve",
           "runs": [
            {
             "at": "2026-11-21T07:12:37Z",
             "finished": "2026-11-21T07:12:44Z",
             "ok": 1,
             "failed": 0,
             "reads": [
              {
               "name": "modified-0",
               "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?lastModStartDate=2026-11-20T00:00:00.000&lastModEndDate=2026-11-21T07:12:37.000&resultsPerPage=2000&startIndex=0",
               "at": "2026-11-21T07:12:43Z",
               "status": 200,
               "bytes": 6916346,
               "sha256_prefix": "217684b37b9a7207",
               "changed": true
              }
             ]
            },
            {
             "at": "2026-11-20T18:15:53Z",
             "finished": "2026-11-20T18:16:06Z",
             "ok": 2,
             "failed": 0,
             "reads": [
              {
               "name": "modified-0",
               "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?lastModStartDate=2026-11-19T00:00:00.000&lastModEndDate=2026-11-20T18:15:53.000&resultsPerPage=2000&startIndex=0",
               "at": "2026-11-20T18:15:58Z",
               "status": 200,
               "bytes": 8200248,
               "sha256_prefix": "54b71038f5a02c38",
               "changed": true
              },
              {
               "name": "modified-1",
               "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?lastModStartDate=2026-11-19T00:00:00.000&lastModEndDate=2026-11-20T18:15:53.000&resultsPerPage=2000&startIndex=2000",
               "at": "2026-11-20T18:16:05Z",
               "status": 200,
               "bytes": 3305410,
               "sha256_prefix": "ffea43380e4cbeab",
               "changed": true
              }
             ]
            },
            {
             "at": "2026-11-20T07:17:07Z",
             "finished": "2026-11-20T07:17:20Z",
             "ok": 2,
             "failed": 0,
             "reads": [
              {
               "name": "modified-0",
               "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?lastModStartDate=2026-11-19T00:00:00.000&lastModEndDate=2026-11-20T07:17:07.000&resultsPerPage=2000&startIndex=0",
               "at": "2026-11-20T07:17:12Z",
               "status": 200,
               "bytes": 7481905,
               "sha256_prefix": "6d4c2c6f49254c69",
               "changed": true
              },
              {
               "name": "modified-1",
               "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?lastModStartDate=2026-11-19T00:00:00.000&lastModEndDate=2026-11-20T07:17:07.000&resultsPerPage=2000&startIndex=2000",
               "at": "2026-11-20T07:17:19Z",
               "status": 200,
               "bytes": 1526559,
               "sha256_prefix": "13c91433bdb80b85",
               "changed": true
              }
             ]
            }
           ]
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/nvd-cve/card.json": {
   "get": {
    "operationId": "get_nvd_cve_card",
    "tags": [
     "nvd-cve"
    ],
    "summary": "CVEs published or modified in the last 24 hours (NVD): the card",
    "description": "Who publishes the source, its reuse terms, the schedule, who owns it, what runs by code, by agents and by people, and the vault.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "id": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "what": {
           "type": "string"
          },
          "publisher": {
           "type": "string"
          },
          "owner": {
           "type": "string"
          },
          "region": {
           "type": "string"
          },
          "collector": {
           "type": "string"
          },
          "source_home": {
           "type": "string"
          },
          "reader_page": {
           "type": "string"
          },
          "schedule": {
           "type": "object",
           "properties": {
            "cadence": {
             "type": "string"
            },
            "how": {
             "type": "string"
            }
           },
           "required": [
            "cadence",
            "how"
           ]
          },
          "terms": {
           "type": "object",
           "properties": {
            "summary": {
             "type": "string"
            },
            "page": {
             "type": "string"
            },
            "read_at": {
             "type": "string"
            },
            "quote": {
             "type": "string"
            },
            "quote_lang": {
             "type": "string"
            },
            "quotes": {
             "type": "array",
             "items": {
              "type": "object",
              "properties": {
               "page": {
                "type": "string",
                "format": "uri"
               },
               "read_at": {
                "type": "string",
                "format": "date"
               },
               "topic": {
                "type": "string"
               },
               "quote": {
                "type": "string"
               }
              },
              "required": [
               "page",
               "read_at",
               "topic",
               "quote"
              ]
             }
            },
            "reading_note": {
             "type": "string"
            },
            "notice": {
             "type": "string"
            },
            "republish": {
             "type": "string"
            },
            "open_question": {
             "type": "string"
            }
           },
           "required": [
            "summary",
            "page",
            "read_at",
            "quote",
            "quote_lang",
            "quotes",
            "reading_note",
            "notice",
            "republish",
            "open_question"
           ]
          },
          "api": {
           "type": "object",
           "properties": {
            "latest": {
             "type": "string"
            },
            "reads": {
             "type": "string"
            },
            "card": {
             "type": "string"
            },
            "openapi": {
             "type": "string"
            },
            "page": {
             "type": "string"
            }
           },
           "required": [
            "latest",
            "reads",
            "card",
            "openapi",
            "page"
           ]
          },
          "vault": {
           "type": "null"
          },
          "split": {
           "type": "object",
           "properties": {
            "code": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "agents": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "people": {
             "type": "array",
             "items": {
              "type": "string"
             }
            }
           },
           "required": [
            "code",
            "agents",
            "people"
           ]
          },
          "cost": {
           "type": "object",
           "properties": {
            "per_run_tokens": {
             "type": "integer"
            },
            "per_run_model_cost_usd": {
             "type": "integer"
            },
            "runner": {
             "type": "string"
            },
            "build_tokens": {
             "type": "string"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "per_run_tokens",
            "per_run_model_cost_usd",
            "runner",
            "build_tokens",
            "note"
           ]
          },
          "since": {
           "type": "string"
          }
         },
         "required": [
          "id",
          "title",
          "what",
          "publisher",
          "owner",
          "region",
          "collector",
          "source_home",
          "reader_page",
          "schedule",
          "terms",
          "api",
          "vault",
          "split",
          "cost",
          "since"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "id": "nvd-cve",
           "title": "CVEs published or modified in the last 24 hours (NVD)",
           "what": "NIST's National Vulnerability Database, CVE API 2.0: the CVEs published or modified in the 24 hours before each read, each with its CNA, status, CVSS base severity and score, weakness types and the vendors and products (NVD's CPE configurations, else the CNA's own list in the same record, marked); a...",
           "publisher": "NIST, National Vulnerability Database (United States)",
           "owner": "data.b@PrompTugal.dinis",
           "region": "portugal",
           "collector": "sources/nvd-cve/collect.mjs",
           "source_home": "https://nvd.nist.gov/",
           "reader_page": "https://nvd.nist.gov/developers/vulnerabilities",
           "schedule": {
            "cadence": "every 6 hours",
            "how": "the Pages workflow (.github/workflows/pages.yml) at 17 minutes past 00, 06, 12 and 18 UTC; up to four GETs of the CVE API (pages of 2000 of the CVEs modified since 00:00 UTC yesterday, seven seconds apart, no key; the new CVEs are those published in the same window); every other run keeps the last r..."
           },
           "terms": {
            "summary": "NVD API Terms of Use: the API is for building a service to \"search, display, analyze, retrieve, view and otherwise get\" NVD data; asked to display \"This product uses the NVD API but is not endorsed or certified by the NVD.\"; the NVD name may identify the source but not imply endorsement; if you modi...",
            "page": "https://nvd.nist.gov/developers/terms-of-use",
            "read_at": "2026-11-18",
            "quote": "The NVD API is intended to be used to develop a service or services to search, display, analyze, retrieve, view and otherwise \"get\" information from NVD data.",
            "quote_lang": "en",
            "quotes": [
             {
              "page": "https://nvd.nist.gov/developers/terms-of-use",
              "read_at": "2026-11-18",
              "topic": "attribution notice",
              "quote": "Services which utilize or access the NVD API are asked to display the following notice prominently within the application: \"This product uses the NVD API but is not endorsed or certified by the NVD.\""
             },
             {
              "page": "https://nvd.nist.gov/developers/terms-of-use",
              "read_at": "2026-11-18",
              "topic": "name and endorsement",
              "quote": "You may use the NVD name in order to identify the source of API content subject to these rules. You may not use the NVD name, to imply endorsement of any product, service, or entity, not-for-profit, commercial or otherwise."
             },
             {
              "page": "https://nvd.nist.gov/developers/terms-of-use",
              "read_at": "2026-11-18",
              "topic": "modified content",
              "quote": "If you modify the content accessed through the API, you may not attribute the source as the NVD."
             }
            ],
            "reading_note": "Both pages are script-rendered (only a shell is served); the text was read from the strings in the page bundle NVD serves for them (https://nvd.nist.gov/main-qn4plkkz.js), which the pages display.",
            "notice": "This product uses the NVD API but is not endorsed or certified by the NVD.",
            "republish": "yes, with the notice shown; per-CVE values as served, attributed to the NVD API; totals are our own count and are not attributed to the NVD; no endorsement implied",
            "open_question": "security@PrompTugal.dinis to review the cyber limits (aggregates only on cyber.promptugal.news; no IPs, hosts or victims). Whether a person wants to register an API key is open; none is used."
           },
           "api": {
            "latest": "https://data.promptugal.news/api/v1/nvd-cve/latest.json",
            "reads": "https://data.promptugal.news/api/v1/nvd-cve/reads.json",
            "card": "https://data.promptugal.news/api/v1/nvd-cve/card.json",
            "openapi": "https://data.promptugal.news/api/v1/nvd-cve/openapi.json",
            "page": "https://data.promptugal.news/sources/nvd-cve/"
           },
           "vault": null,
           "split": {
            "code": [
             "the collector reads NVD's CVE API for the last 24 hours, keeps identifiers and classifications, and counts per day, severity, CNA and vendor",
             "GitHub Actions runs it and deploys the site"
            ],
            "agents": [
             "data.b@PrompTugal.dinis wrote the collector and card on 18 November 2026, at cyber.b@PrompTugal.dinis's request; terms read the same day by data.b.dev@"
            ],
            "people": [
             "Dinis Cruz decided the cyber signals on 18 November 2026 (board/guidance/2026-11-18-people-blogs-cyber-and-simulated-payments.md); no person has checked the values (not reviewed)"
            ]
           },
           "cost": {
            "per_run_tokens": 0,
            "per_run_model_cost_usd": 0,
            "runner": "GitHub Actions on a public repository: no charge; about four requests a run (about 6 MB each)",
            "build_tokens": "not measured",
            "note": "Code only: no model is called when the data is collected."
           },
           "since": "2026-11-18"
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/nvd-cve/openapi.json": {
   "get": {
    "operationId": "get_nvd_cve_openapi",
    "tags": [
     "nvd-cve"
    ],
    "summary": "CVEs published or modified in the last 24 hours (NVD): this document",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 },
 "tags": [
  {
   "name": "nvd-cve",
   "description": "NIST's National Vulnerability Database, CVE API 2.0: the CVEs published or modified in the 24 hours before each read, each with its CNA, status, CVSS base severity and score, weakness types and the vendors and products (NVD's CPE configurations, else the CNA's own list in the same record, marked); and totals per day and severity, for cyber.promptugal.news's pulse. Products only, never a victim, host or address. No descriptions or reference links are kept."
  }
 ],
 "x-source": {
  "id": "nvd-cve",
  "card": "https://data.promptugal.news/api/v1/nvd-cve/card.json",
  "page": "https://data.promptugal.news/sources/nvd-cve/"
 }
}
